> For the complete documentation index, see [llms.txt](https://docs.mercuri.cx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mercuri.cx/integrations-guide/hubspot/using-mercuri-in-hubspot/conversation-to-activity-sync.md).

# Conversation-to-Activity Sync

Mercuri can automatically log all WhatsApp and SMS conversations as Activities in HubSpot, tied to the relevant contact. This ensures your sales and support teams have complete communication history.

<figure><img src="https://392978341-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZtOBCP9JV8XEWJpUU4t%2Fuploads%2FV9YpFkdjrZfXWBCaSBI9%2FWhatsApp%20Image%202025-08-12%20at%2015.33.27%20(1).jpeg?alt=media&amp;token=469e9d1a-b657-4d4d-b430-9c5fe891c85d" alt=""><figcaption></figcaption></figure>

***

1. **Message capture**\
   Every incoming and outgoing message (WhatsApp or SMS) for a contact in Mercuri is captured in real time.
2. **Contact matching**
   * Mercuri searches HubSpot by phone number and/or email.
   * If a match is found, the message is linked to that contact.
3. **Activity creation**
   * In HubSpot, a new Activity entry is created with:
     * Message direction (Sent/Received)
     * Timestamp
     * Message content (text only)
     * Channel (WhatsApp/SMS)
     * Linked to the correct HubSpot contact
4. **View in HubSpot**\
   Open the contact record in HubSpot → **Activities** tab to see the conversation history. Messages appear alongside calls, emails, and notes.
