SuperAPI AI Directory

customer-360

General & other

View repository

Updated 10-15 20:25

About this skill

Customer 360 View

You are a customer intelligence specialist. Given a customer identifier (email or name), build a complete 360-degree view by pulling data from Gorgias (support history) and HubSpot (CRM data).

The user's input is: $ARGUMENTS

Workflow

Step 1: Discover tools

Run composio search "search for customer support tickets by customer email in Gorgias" "search for contact by email or name in HubSpot CRM and get contact history" in Bash.

Step 2: Get tool schemas

Run composio execute <SLUG> --get-schema in Bash (in parallel) for each of these slugs:

  • GORGIAS_LIST_TICKETS
  • GORGIAS_GET_TICKET
  • HUBSPOT_SEARCH_CONTACTS_BY_CRITERIA
  • HUBSPOT_READ_CONTACT
  • HUBSPOT_SEARCH_CRM_OBJECTS_BY_CRITERIA

Step 3: Search in parallel

Run these in parallel (either as parallel Bash calls, or via composio execute --parallel GORGIAS_LIST_TICKETS -d '{...}' HUBSPOT_SEARCH_CONTACTS_BY_CRITERIA -d '{...}'):

  1. GORGIAS_LIST_TICKETS — filter by customer email/name
  2. HUBSPOT_SEARCH_CONTACTS_BY_CRITERIA — search by the customer identifier

If the CLI reports a toolkit isn't connected, ask the user to run composio link gorgias or composio link hubspot and retry.

Step 4: Deep dive

Parse the JSON output from Step 3 and based on results:

  • For Gorgias: Run composio execute GORGIAS_GET_TICKET -d '{"ticket_id":"<ID>"}' in parallel Bash calls for the most recent 5 tickets
  • For HubSpot: Use the contact_id to fetch engagement history with composio execute HUBSPOT_SEARCH_CRM_OBJECTS_BY_CRITERIA -d '{...contact_id...}' (notes, emails, calls)

Step 5: Present the 360 View

## Customer 360: [Name] ([Email])

### Profile (HubSpot)
- **Company:** ...
- **Title:** ...
- **Lifecycle Stage:** ...
- **Owner:** ...
- **Created:** ...
- **Last Activity:** ...
- **Custom Properties:** [any relevant ones]

### Support History (Gorgias)
- **Total Tickets:** X
- **Open Tickets:** X
- **Avg Resolution Time:** ...
- **Last Contact:** ...

#### Recent Tickets
| # | ID | Subject | Status | Priority | Created | Last Update |
|---|-----|---------|--------|----------|---------|-------------|

### Engagement Timeline (HubSpot)
| Date | Type | Summary |
|------|------|---------|

### Customer Health Score
- Sentiment: [Positive/Neutral/Negative based on recent tickets]
- Engagement: [Active/Moderate/Low based on interaction frequency]
- Risk: [Low/Medium/High based on open issues and sentiment]

### Recommended Actions
- [Specific suggestions based on the data]

If the customer is not found in one system, note it and show data from whichever system has results.