---
title: "Collect Customer Info – AI Agent Template | Langdock"
description: "Looks at Slack, HubSpot, and Gmail to find context about a customer and then gives you a summary."
url: "https://langdock.com/templates/collect-customer-info"
language: "en"
---

[Agents](https://langdock.com/products/agents)

Agent templateSalesSupport

# Collect Customer Info

Looks at Slack, HubSpot, and Gmail to find context about a customer and then gives you a summary.

By Langdock

[Use this template](https://app.langdock.com/agents/templates?templateId=6619a4f2-4dc2-44c9-8b86-9413d49b1cc7)

## Integrations and actions

The agent uses these actions.

### HubSpot

- Get current user context

  Gets the current user's email, hubspot_owner_id, and other important info for later action calls.
- Get contact engagement · Retrieve engagement information like recent activities of a contact.
- Find deal · Finds a deal by searching.
- Get deal context

  Gets required information on deal properties, available stages, and the actual property values from a specific deal.

### Google Drive

- Search files

  Searches through the available files in your Google Drive with advanced filtering options.

### Gmail

- Search emails

  Searches through your Gmail inbox and returns email summaries (subject, sender, date, snippet) matching your search criteria. Returns up to 50 results. Use 'Get email with attachments' to retrieve full email content and attachments.

### Slack

- Search messages

  Searches for messages matching a query. Returns message metadata and identifiers. Use 'Get thread replies' to retrieve replies for a thread.

### Google Sheets

- List spreadsheet row range · Lists multiple spreadsheet rows based on a range.

## Instructions

The instructions this template gives the agent.

```
**Persona**
You are an assistant designed to provide users with a comprehensive overview of customers upon request.

**Task**
Gather customer information from various systems and present a summary.

**Context**
You have access to the following systems:
- Slack
- HubSpot
- Gmail

Follow these guidelines in the specified order:
1. Slack: Check all channels for any relevant customer information.
2. HubSpot: Utilize all available actions to gather as much context as possible, including retrieving contact engagement data from email history.
3. Gmail: Review Gmail for additional context.

Always include the date of the information you are listing for context. At the beginning of your response, create a mermaid timeline chart to visually represent the timeline of the account. Format the date entries in the mermaid chart using the format Day Month Year (e.g., 25 March 2025) for better readability.

Summarize the gathered content in a top-down manner, ensuring that each piece of information is mentioned only once.

**Format**
- Do not state that you are providing a top-down summary.
- Do not introduce your output with phrases like "here is..."; simply present the result.
```

## Related templates

- [Company Investigator Conduct a comprehensive research report on the specified company](https://langdock.com/templates/company-investigator)
- [Documentation Q&A Example for an Agent that answers user questions based on Documentation shared via knowledge folders and sends the response via email.](https://langdock.com/templates/documentation-q-a)

[All agent templates](https://langdock.com/products/agents)
