> ## Documentation Index
> Fetch the complete documentation index at: https://hc.starbridge.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Email logging

> Log Sequences activity to Salesforce or Hubspot

<img src="https://mintcdn.com/starbridge/yNYTFoQLuEyWSUjs/images/Screenshot-2026-09-16-at-7.19.36-PM.png?fit=max&auto=format&n=yNYTFoQLuEyWSUjs&q=85&s=a34f8ab173f3396bb25764133ceb892f" alt="Screenshot 2026 09 16 At 7 19 36 PM" width="3420" height="1960" data-path="images/Screenshot-2026-09-16-at-7.19.36-PM.png" />

Your CRM is your system of record for outbound activity. If you're using [Starbridge Sequences](/sequences/overview), Starbridge makes sure your CRM stays up to date with all outbound activity driven by Starbridge:

* **Email logging** writes each sequence email — and any direct reply — into your CRM as a native email activity record, so emails sent via Starbridge show up alongside every other touch your team logs, instead of living only in Starbridge.
* **Sequence activity on contacts** tracks which sequence first and most recently touched a contact, so you can see Starbridge's influence on meetings booked and measure how a specific sequence or campaign is performing over time — directly from your CRM.

## Prerequisites

Both toggles are off by default. They can be toggled on or off independently. Each has the following prerequisites.

| Capability                    | Requires                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Email logging                 | <ol><li>The EmailMessage object (Salesforce) or Email object (HubSpot) connected in [Objects & fields](/admins/connecting-your-crm#configure-objects-and-fields)</li><li>Your Starbridge users matched to CRM users in the [Territories tab](/integrations/crm-territories#step-1-match-crm-users-to-starbridge-users)</li><li>The Contact object connected and synced via [Contact sync](/integrations/contact-sync)</li></ol> |
| Sequence activity on contacts | <ol><li>The Contact object connected and synced via [Contact sync](/integrations/contact-sync)</li><li>Custom fields to store the logged sequence activity</li></ol>                                                                                                                                                                                                                                                            |

## Turning it on

Go to **[Settings → Integrations](https://dashboard.starbridge.ai/settings/integrations) → \[your CRM] → Sequences.**

<img src="https://mintcdn.com/starbridge/yNYTFoQLuEyWSUjs/images/Screenshot-2026-09-16-at-7.20.32-PM-1.png?fit=max&auto=format&n=yNYTFoQLuEyWSUjs&q=85&s=275ca70cfc28b18a72b5ff870c5c3bbf" alt="Screenshot 2026 09 16 At 7 20 32 PM 1" width="3420" height="1960" data-path="images/Screenshot-2026-09-16-at-7.20.32-PM-1.png" />

Then, turn on one or both of **Email logging** and **Sequence activity on contacts**.

## Email logging

When **Email logging** is toggled on, Starbridge writes every email a rep sends through a sequence, plus the contact's direct reply to that email, as a native email activity record associated to the contact.

In Salesforce, this is an EmailMessage record with a matching Task record, so existing activity reports and list views pick up sequence sends automatically. In HubSpot, this is an Email record.

If you are logging emails to Salesforce, you can also optionally include sequence details on your emails to enable more powerful reporting:

<Accordion title="Include sequence details on emails (Salesforce only)">
  <Warning>
    **Including sequence details on emails requires two custom fields on EmailMessage.** See the step-by-step instructions to add them below.
  </Warning>

  When **Include sequence details on emails** is toggled on, Starbridge writes the sequence name and step number to  custom fields on the EmailMessage record for every email it logs. This lets you filter, segment, and report on logged activity by sequence directly in Salesforce, using standard reports or list views.

  HubSpot doesn't support custom fields on its Email object, so this option isn't available for HubSpot; sequence-level detail on HubSpot lives on the Contact record instead, as described below.

  Before turning this on, create two custom fields on the **Email Message** object following these step-by-step instructions:

  <Accordion title="Step-by-step instructions to add the required custom fields">
    Create two custom fields on the **Email Message** object.

    1. In Salesforce, click the **Gear icon (⚙)** → **Setup**
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.46.04-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=8b3b2caadb55bc6617fcedb8a5cd91b5" alt="Salesforce Setup menu" style={{ width:"55%" }} className="mx-auto" width="650" height="604" data-path="images/Screenshot-2026-06-15-at-5.46.04-PM.png" />
           </Frame>
    2. In the left sidebar, search for **Object Manager** and open it, or directly click **Objects and Fields** → **Object Manager**
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.46.18-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=e9f56f768157d44bedacebb87dee7a5d" alt="Object Manager in sidebar" className="mx-auto" style={{ width:"35%" }} width="684" height="1700" data-path="images/Screenshot-2026-06-15-at-5.46.18-PM.png" />
           </Frame>
    3. Click **Email Message** → **Fields & Relationships** → **New**
    4. Create the first field — **Starbridge Sequence Name**:
           <Warning>
             **Enter the field label exactly as provided.** Starbridge connects to these fields using their exact API name. Entering the field label exactly as shown below ensures Salesforce auto-generates the API name Starbridge expects.
           </Warning>
       | Setting                                     | Value                                                        |
       | ------------------------------------------- | ------------------------------------------------------------ |
       | Field Type                                  | Text                                                         |
       | Field Label                                 | `Starbridge Sequence Name`                                   |
       | Length                                      | `255`                                                        |
       | Description (optional)                      | `The name of the Starbridge sequence this email belongs to.` |
       | Expected API Name                           | `Starbridge_Sequence_Name__c`                                |
       | Click **Next** → **Next** → **Save & New**. |                                                              |
    5. Create the second field — **Starbridge Sequence Step Number**:
           <Warning>
             **Enter the field label exactly as provided.** Starbridge connects to these fields using their exact API name. Entering the field label exactly as shown below ensures Salesforce auto-generates the API name Starbridge expects.
           </Warning>
       | Setting                               | Value                                                           |
       | ------------------------------------- | --------------------------------------------------------------- |
       | Field Type                            | Number                                                          |
       | Field Label                           | `Starbridge Sequence Step Number`                               |
       | Length                                | `2`                                                             |
       | Decimal Places                        | `0`                                                             |
       | Description (optional)                | `The step number of this email within its Starbridge sequence.` |
       | Expected API Name                     | `Starbridge_Sequence_Step_Number__c`                            |
       | Click **Next** → **Next** → **Save**. |                                                                 |

    <Note>
      Salesforce automatically appends `__c` to custom field API names (e.g. `Starbridge_Sequence_Name__c`). This is expected.
    </Note>

    6. Return to **Starbridge** → **Settings** → [**Integrations**](https://dashboard.starbridge.ai/settings/integrations) → **\[your CRM integration] → Sequences**. Click **Refresh** in the top right corner and wait for the connection to finish refreshing, then toggle on **Include sequence details on emails**. All done!
  </Accordion>
</Accordion>

## Sequence activity on contacts

<Warning>
  **Tracking sequence activity on contacts requires custom fields on the Contact object.** Read the step-by-step instructions to add them below.
</Warning>

When **Sequence activity on contacts** is toggled on, Starbridge writes the fields below to your Contact records, so you can see Starbridge's influence on meetings booked and measure how a specific sequence or campaign is performing over time — directly from your CRM.

| Field                                   | Type | Description                                             |
| --------------------------------------- | ---- | ------------------------------------------------------- |
| Starbridge Initial Sequence             | Text | Name of the first sequence this contact was enrolled in |
| Starbridge Initial Sequence At          | Date | When they were first enrolled                           |
| Starbridge Initial Sequence Step At     | Date | When they first completed a step                        |
| Starbridge Most Recent Sequence         | Text | Name of the most recent sequence                        |
| Starbridge Most Recent Sequence At      | Date | When they were most recently enrolled                   |
| Starbridge Most Recent Sequence Step At | Date | When they most recently completed a step                |

Add these as custom fields on the Contact object in Salesforce or HubSpot before turning this on. This runs independently of email logging.

<AccordionGroup>
  <Accordion title="Step-by-step instructions for Salesforce">
    1. In Salesforce, click the **Gear icon (⚙)** → **Setup**
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.46.04-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=8b3b2caadb55bc6617fcedb8a5cd91b5" alt="Salesforce Setup menu" style={{ width:"55%" }} className="mx-auto" width="650" height="604" data-path="images/Screenshot-2026-06-15-at-5.46.04-PM.png" />
           </Frame>
    2. In the left sidebar, search for **Object Manager** and open it, or directly click **Objects and Fields** → **Object Manager**
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.46.18-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=e9f56f768157d44bedacebb87dee7a5d" alt="Object Manager in sidebar" className="mx-auto" style={{ width:"35%" }} width="684" height="1700" data-path="images/Screenshot-2026-06-15-at-5.46.18-PM.png" />
           </Frame>
    3. Click **Contact** → **Fields & Relationships** → **New**
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.47.18-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=9d4069e847f24783d074c17625cbb879" alt="Fields and Relationships - New" className="mx-auto" style={{ width:"77%" }} width="3416" height="1796" data-path="images/Screenshot-2026-06-15-at-5.47.18-PM.png" />
           </Frame>
    4. Create each field below, one at a time — click **Save & New** after each, and **Save** on the last one:
           <Warning>
             **Enter these field labels exactly as provided.** Starbridge connects to these fields using their exact API name. Entering the field label exactly as shown below ensures Salesforce auto-generates the API name Starbridge expects.
           </Warning>
       | Field Label                             | Field Type | Length | Expected API Name                            |
       | --------------------------------------- | ---------- | ------ | -------------------------------------------- |
       | Starbridge Initial Sequence             | Text       | 255    | `Starbridge_Initial_Sequence__c`             |
       | Starbridge Initial Sequence At          | Date/Time  | —      | `Starbridge_Initial_Sequence_At__c`          |
       | Starbridge Initial Sequence Step At     | Date/Time  | —      | `Starbridge_Initial_Sequence_Step_At__c`     |
       | Starbridge Most Recent Sequence         | Text       | 255    | `Starbridge_Most_Recent_Sequence__c`         |
       | Starbridge Most Recent Sequence At      | Date/Time  | —      | `Starbridge_Most_Recent_Sequence_At__c`      |
       | Starbridge Most Recent Sequence Step At | Date/Time  | —      | `Starbridge_Most_Recent_Sequence_Step_At__c` |
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-6.03.33-PM-1.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=270d011c8b54826c7379afe5b97c06e4" alt="Starbridge Initial Sequence field settings" className="mx-auto" style={{ width:"60%" }} width="2924" height="1408" data-path="images/Screenshot-2026-06-15-at-6.03.33-PM-1.png" />
           </Frame>
       Click **Next** → **Next** after entering each field's settings.

    <Note>
      Salesforce automatically appends `__c` to custom field API names (e.g. `Starbridge_Initial_Sequence__c`). This is expected.
    </Note>

    5. Return to **Starbridge** → **Settings** → [**Integrations**](https://dashboard.starbridge.ai/settings/integrations) → **\[your CRM integration] → Sequences**. Click **Refresh** in the top right corner and wait for the connection to finish refreshing, then toggle on **Track sequence activity on contacts**. All done!
  </Accordion>

  <Accordion title="Step-by-step instructions for HubSpot">
    1. In HubSpot, go to **Settings (Gear icon ⚙)** → **Properties**
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.53.29-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=78222e17a268c92f480f4b719dca5151" alt="HubSpot Settings - Properties" className="mx-auto" style={{ width:"77%" }} width="3416" height="1872" data-path="images/Screenshot-2026-06-15-at-5.53.29-PM.png" />
           </Frame>
    2. In the **Select an object** dropdown, select **Contact properties**, then click **Create property** (top right) for each field below:
           <Warning>
             **Enter these property labels exactly as provided.** Starbridge connects to these fields using their exact internal name. Entering the property label exactly as shown below ensures HubSpot auto-generates the internal name Starbridge expects.
           </Warning>
       | Property Label                          | Field Type       | Expected Internal Name                    |
       | --------------------------------------- | ---------------- | ----------------------------------------- |
       | Starbridge Initial Sequence             | Single-line text | `starbridge_initial_sequence`             |
       | Starbridge Initial Sequence At          | Date picker      | `starbridge_initial_sequence_at`          |
       | Starbridge Initial Sequence Step At     | Date picker      | `starbridge_initial_sequence_step_at`     |
       | Starbridge Most Recent Sequence         | Single-line text | `starbridge_most_recent_sequence`         |
       | Starbridge Most Recent Sequence At      | Date picker      | `starbridge_most_recent_sequence_at`      |
       | Starbridge Most Recent Sequence Step At | Date picker      | `starbridge_most_recent_sequence_step_at` |
           <Frame>
             <img src="https://mintcdn.com/starbridge/A4T6YrcgkOEkJxhP/images/Screenshot-2026-06-15-at-5.56.31-PM.png?fit=max&auto=format&n=A4T6YrcgkOEkJxhP&q=85&s=a32589248fcfdadfdba388eba978b646" alt="Select Contact properties and Create property" className="mx-auto" style={{ width:"76%" }} width="3416" height="1872" data-path="images/Screenshot-2026-06-15-at-5.56.31-PM.png" />
           </Frame>
    3. Click **Create** after each property.
    4. Return to **Starbridge** → **Settings** → [**Integrations**](https://dashboard.starbridge.ai/settings/integrations) → **\[your CRM integration] → Sequences**. Click **Refresh** in the top right corner and wait for the connection to finish refreshing, then toggle on **Track sequence activity on contacts**. All done!
  </Accordion>
</AccordionGroup>

## What's next

<CardGroup cols={2}>
  <Card title="Bridge-based sequences" icon="diagram-project" href="/sequences/bridge-based-sequences">
    Turn a Bridge into a scaled sequence.
  </Card>

  <Card title="Contact sync" icon="user" href="/integrations/contact-sync">
    Required before email logging or sequence activity on contacts can run.
  </Card>
</CardGroup>
