Skip to content
Kitbay

conversation-history-brief

Apache-2.0Updated on Oct 28, 202629GitHub stars

A HubSpot skill for gathering every conversation a contact has had with a company across HubSpot's shared inboxes.

What the skill teaches

A HubSpot skill for gathering every conversation a contact has had with a company across HubSpot's shared inboxes. Using the hubspot agent CLI, the agent lists inboxes, finds the threads linked to the contact, maps channel ids to channel types such as email or live chat, fetches the messages in each thread and reduces them to a timeline. The output is a structured section for an account brief with each thread's channel, status, last activity and key excerpts. It includes a shell function for paging through conversation results.

Capabilities

  • Find all conversation threads linked to a HubSpot contact
  • Fetch messages from each thread
  • Identify the channel type of each thread
  • Build an account brief section from conversation history