What you need
Data sources
- CRM system — Customer accounts, contacts, contract terms, and purchase history
- Helpdesk system — Ticket history, interaction logs, CSAT scores, and SLA records
- Billing system — Invoice history, payment status, and outstanding balances
Knowledge spaces
- Customer agreements — Upload special terms, SLA amendments, and negotiated policies for key accounts
- Account management playbook — Internal guidelines for handling VIP, enterprise, and at-risk accounts
| Component | Name | Definition |
|---|---|---|
| Object | Customer | Maps to the CRM account table. Represents a customer entity with contact info, tier, and contract details |
| Object | Interaction | Maps to helpdesk interaction logs. Represents a single touchpoint: ticket, call, email, or chat |
| Metric | Lifetime Value | Total revenue from a customer account across all invoices |
| Metric | Average Resolution Time | Mean time to resolve tickets for a specific customer, in hours |
| Dimension | Account Tier | Segments customers as enterprise, business, or standard |
| Dimension | Channel | Categorizes interactions by channel: email, phone, chat, social |
Agent setup
Create the agent
Go to Agent Space > New agent.
| Field | Value |
|---|---|
| Name | Customer Context Agent |
| Role | Customer intelligence specialist |
| Goal | Provide instant, comprehensive customer profiles to support agents |
Set the description
You provide instant customer profiles to support agents. When asked about a customer, start with the account basics (tier, contract status, lifetime value), then list open tickets and recent interactions. Highlight anything unusual: recent escalations, overdue invoices, or expiring contracts. If the customer has a special agreement in the knowledge space, mention it prominently. Keep the profile concise but complete — the goal is to give the support agent everything they need in one view without requiring follow-up questions.
Scope data access
Grant access to:
- CRM system data source (accounts, contacts, contracts)
- Helpdesk system data source (tickets and interactions)
- Billing system data source (invoices and payments)
- Customer agreements knowledge space
- Account management playbook knowledge space
- Customer and Interaction objects in the semantic layer
Add skills
Summarize customer history
Summarize customer history
Trigger: User asks about a specific customer or before handling a ticket
- Look up the customer by name, email, or account ID across CRM, helpdesk, and billing systems.
- Pull account details: tier, contract status, account manager, and lifetime value.
- Retrieve the last 10 interactions from the helpdesk (tickets, calls, emails).
- Summarize: total tickets, open tickets, average resolution time, and most common issue type.
- Note any VIP status, special agreements from the knowledge space, or past escalations.
- Check for overdue invoices or expiring contracts that might affect the current interaction.
- Present as a brief profile with a timeline of recent interactions.
Compare customer to segment
Compare customer to segment
Trigger: User asks how a customer compares to others or whether their experience is typical
- Identify the customer’s account tier and segment.
- Pull aggregate metrics for that segment: average ticket volume, average resolution time, average CSAT.
- Compare the individual customer’s metrics against the segment averages.
- Highlight any metric where the customer is more than one standard deviation from the average.
- Present a comparison table with the customer’s numbers alongside segment benchmarks.
Automation
Playbook: Pre-populate ticket context
Build the workflow
The playbook automatically pulls the customer profile and attaches it to the ticket as an internal note, so the agent has context before they even open the conversation.
- Query step — Pull the customer email from the ticket and look them up in the CRM.
- Query step — Pull the customer’s last 5 tickets and their outcomes from the helpdesk.
- Query step — Check for overdue invoices or expiring contracts in the billing system.
- Format step — Compile a concise customer profile: account tier, lifetime value, open issues, recent interactions, and any flags.
- Action step — Post the profile as an internal note on the ticket.
Configure delivery
The profile is posted directly to the ticket as an internal note. No additional delivery channel is needed.
What’s next
Escalation pattern analysis
Identify systemic issues driving repeated escalations and recommend fixes.
All customer service use cases
See the full list.

