> 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

<figure><img src="/files/KxGApwWx2eHRJ0oZ3gJk" 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.
