--- title: "Sync AI Email Data to Salesforce" slug: "sync-ce-data-to-salesforce" description: "Sync your AI Email campaigns with Salesforce effortlessly. Install the package to track campaign details, email conversations, and status updates seamlessly." updated: 2025-08-01T17:19:04Z published: 2025-08-01T17:19:04Z canonical: "support.6sense.com/sync-ce-data-to-salesforce" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.6sense.com/llms.txt > Use this file to discover all available pages before exploring further. # Sync AI Email Data to Salesforce After a contact is enrolled into an AI Email (AIE) campaign from Salesforce, AIE sends the data back to Salesforce including: - Campaign name* - Campaign status* - Campaign creator* - Campaign URL* - Lead/Contact email conversations and status - Do Not Contact * To have your campaign details synced back to Salesforce, you will need to install an additional package. ## Install the package for the campaign attributes 1. In AIE, go to **Integrations > Salesforce > Settings** tab. 2. Select **Install AI Email Package in Salesforce**. ![](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/9970987927955-mceclip1.png) 3. This package adds the 6 custom fields listed above to Salesforce Leads/Contacts. 1. If you are not already logged into Salesforce, you are prompted to log in. 2. Choose the user roles you would like to install the fields for. We recommend selecting **Install for All Users**. 3. Select **Install** to complete. 4. Set **Visibility Layout** for the new fields (optional): To see the new fields in your leads or contacts, you might have to add the new fields to your **Leads or Contacts Layout**. - Go to **Salesforce Setup -> Lead -> Page Layout**. - Search for 6sense AIE fields. - Drag and drop the fields to the layout. - Select **Save**. AIE sends the most recent campaign details back to each lead or contact. If a contact is enrolled successfully in more than one campaign, the most recent campaign details are updated in Salesforce. **Note**: If you upload a CSV of Salesforce contacts to AIE instead of using report auto-enrollment, AIE will still be able to send the campaign details back to Salesforce if the CSV includes these columns: `crm_object_id`, `crm_object_type` , and `crm_type`. ## Leads/contact email conversation status syncs AIE sends the conversation status to each lead or contact in Salesforce. Whenever the conversation status is updated after an exchange between your AI email agent and your contact, AIE updates the status in Salesforce. The following table lists possible statuses and their descriptions. | **Status** | **Description** | | --- | --- | | Bounced | The lead’s email is not valid. | | Canceled | The conversation with the lead was canceled. | | Enrollment Error | Contact cannot be enrolled into a campaign due to current engagements, DNC list, etc. | | Import Error | Contact cannot be imported due to incomplete or invalid data. | | In Progress | The conversation is active with the lead. | | Need Human Review | The conversation with the lead has gone into human review and requires action. | | Not Interested | The lead is not interested after engaging with the AI email agent. | | Qualified | AIE has qualified the lead. | | Stopped Responding | The lead responded at least once, but did not reply to the remaining emails. | | Unresponsive | The lead did not respond to the emails. | | Unsynced | The lead has not been imported into AIE from your CRM. | When [field history tracking is switched on](https://help.salesforce.com/s/articleView?language=en_US&type=5&id=tracking_field_history.htm) for the AIE Status field (recommended), you can view all AIE status changes in the Lead History panel. ** Object Field History is only viewable in Lightning Experience from Summer 17′ Release onwards, please use Salesforce Classic if your Salesforce instance is not updated and you need to view the Status field history.* ## Email syncs When emails are exchanged (sent or received) between your AI email agent and a contact, the emails are all synced to Salesforce so your sales reps can review the context of a conversation quickly and easily. - For Salesforce Lightning Experience, you can access emails from a lead’s page. Select the Lead/Contact Past Activity section, and navigate to the “Activity” tab. - For Salesforce Classic, you can access emails from the Lead/Contact “Activity History” section. This can also be found on the Lead’s page. ## Enable the sync settings To toggle the different sync options on or off: 1. In AIE, go to **Integrations > Salesforce > Settings** tab. 2. Select **Sync settings**. 3. Set the emails and statuses sync. 4. Set the **Campaign sync**. 5. Set the **Contact owner sync**. Comma-Separated Values, a file format used to store tabular data in plain text, where each line corresponds to a row in the table and each value is separated by a comma. A virtual email user that sends email on your behalf. Each AI email agent is associated with a single email inbox account on the configured email provider. Formerly called "AI inbox" or "AI Assistant". Customer Relationship Management, an external platform used to manage your relationships and interactions with potential customers and clients.