# Conversation-to-Activity Sync

<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&#x26;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.
