--- title: "Integrate AI Email with Salesforce" slug: "integrate-ce-with-salesforce" description: "Connect Salesforce with AI Email to link reports, auto-enroll leads in campaigns, resolve setup errors, and sync email activity and statuses." tags: ["AI Email", "Salesforce Integration", "Lead Auto Enrollment"] updated: 2026-11-04T07:59:11Z published: 2026-11-04T07:59:11Z canonical: "support.6sense.com/integrate-ce-with-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. # Integrate AI Email with Salesforce The AI Email (AIE) integration with Salesforce simplifies connecting with new leads using AIE. You can link a Salesforce report directly to an email campaign. This setup automatically checks for new leads and adds them for you, reducing manual effort and giving you more time to focus on important tasks. For additional details, refer to [AI Email – Salesforce Integration Details and Requirements](/v1/docs/ce-salesforce-integration-details-and-requirements). You can also use a Salesforce sandbox if you want to test the functionality. The following instructions apply to both production and sandbox account installations. > [!WARNING] > New users beginning September 2026 > > New users will configure the Salesforce integration following the instructions in [Integrate AI Email with Salesforce for Net-New Customers](/v1/docs/integrate-ai-email-with-salesforce-for-net-new-customers). ## Prerequisites To integrate with AIE, your Salesforce account must have certain permissions. Refer to [AI Email – Salesforce Integration Details and Requirements](/v1/docs/ce-salesforce-integration-details-and-requirements) and [AI Email – Salesforce Object Integration Permissions](/v1/docs/ce-salesforce-object-integration-permissions). Also refer to the [Salesforce user permissions documentation](https://help.salesforce.com/articleView?id=admin_userperms.htm&type=5). ## Step 1: Configure AIE settings Before connecting a Salesforce report, ensure your AIE team or Administrator has already: - [Connected an AI email agent](/v1/docs/set-up-a-ce-ai-email-agent) - [Created a campaign](/v1/docs/create-a-campaign-in-ce) - [Added one or more sales reps](/v1/docs/add-and-manage-sales-reps-for-ce) ## Step 2: Connect AIE to Salesforce To connect AIE to a Salesforce production or sandbox environment, do the following: 1. In AIE, navigate to **Integrations**. 2. Select the Salesforce or Salesforce Sandbox tile. ![](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/ce-integ-sfdc-tile.png) ![](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/ce-integ-sf-sandbox-tile.png) 3. Select **Connect** and log in with the desired Salesforce account. Refer to [Connect Salesforce to AI Email Using OAuth](/v1/docs/connect-salesforce-to-ce-using-oauth). ![](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/image(462).png) > [!NOTE] > Salesforce recommends to set up a separate [API User](/v1/docs/add-and-remove-ce-team-members) for granting access. ## Step 3: Set up a Salesforce report Create a supported Salesforce report for the leads to enroll in an AIE campaign. Refer to the [Salesforce Report documentation](https://help.salesforce.com/s/articleView?id=sf.reports_build_lex.htm&type=5). For details about the supported report types, refer to [AIE – Salesforce Integration Details and Requirements](/v1/docs/ce-salesforce-integration-details-and-requirements). ![Screenshot_2019-10-24_at_3.01.20_PM.png](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/Screenshot_2019-10-24_at_3.01.20_PM.png) If you don’t see 6sense supported report types in the search list, go to **Setup > Report Types > New Custom Report Type**. ![](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/ce-sf-report-types-1024x468.png) For more information see the [Salesforce Report documentation](https://help.salesforce.com/s/articleView?id=sf.reports_build_lex.htm&type=5). ## Step 4: Connect your report to an email campaign After you set up your Salesforce report, connect it to an email campaign: 1. In AIE, go to the **Campaign** you wish to connect. 2. In the campaign, select the **Integrations** tab. 3. Select **Set Up Auto Enrollment**. 4. Select the **Salesforce Report** to connect. > [!NOTE] > When you select a Salesforce report, you’ll now see a preview of the number of contacts and filters detected before linking the report to your campaign. ![Select a report to link for campaign enrollment with no issues found.](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/image-20251029-143327(1).png) 5. Select the number of filters to view the actual filters detected from the report. 6. Ensure the number of contacts and filters matches your expectations. 7. If there are any issues (unsupported format or report type, too many filters, or missing permissions), you’ll see a clear error message. 1. Common error messages and fixes: | Error Message | Fix | | --- | --- | | Unsupported report format. Contact the report creator to change its format to tabular, summary, or matrix. | Change report to tabular, summary, or matrix format | | Unsupported report type. Contact the report creator to change it to a supported report type. | Change to a supported report type | | Report already linked to another campaign. | Select a different report | | Report must have 19 or fewer filters. Remove some and try again. | Reduce filters to fewer than 19 | | We don’t have access to all filters in this report. Contact your Salesforce admin. | Contact your Salesforce admin to provide access | 8. Preview the AI email agent’s introductory emails with sample data from the report. > [!NOTE] > Each report can only be connected to one AIE campaign. If your report is already connected, AIE displays the error “We can’t enroll this report. The report is already being used in another campaign”. Please select another report, or create a new report for the campaign. ## Step 5: Review your leads and campaigns The leads from the Salesforce report are enrolled automatically in the selected AIE campaign and reflected in the campaign’s **Report Records**. ![](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/ce-sf-review-leads-campaigns-1024x453.png) You can turn off the auto enrollment anytime in the **Integration Settings**. To review all leads imported and enrolled, go to **Enrollment History**. You can also download a file of leads with import error to re-import them through our CSV. ## Step 6 (optional): Let AIE push updates to Salesforce If you would like AIE to send conversation statuses and emails sent/received by the AI email agent to Salesforce, toggle on the option in **AI Email > Integrations > Sync settings**. This setting is on by default. ![AI Email settings for syncing with Salesforce, including lead enrollment and campaign sync.](https://cdn.us.document360.io/0e2cd0a2-b3b3-495b-80df-96f8381febea/Images/Documentation/aie-sforce-sync-settings.png) When the toggle is on, AIE sends: - Conversation statuses to the custom AIE **Status** field in Salesforce that you previously installed in Step 3. Refer to [AI Email Conversation Statuses](/v1/docs/ce-conversation-statuses). - Emails sent and received are recorded in Salesforce **Task** objects. The Task **Type** list must be visible and accept the value “Email” for this to be successful. When the AI email agent marks a lead as “Do Not Contact”, AIE can also send this information to Salesforce. Refer to [Sync Do Not Contact Records Between Salesforce and AI Email](/v1/docs/sync-do-not-contact-records-between-salesforce-and-ce). After you’ve completed the previous steps, the AI email agent engages with the leads from your campaigns and starts the conversations. ## Key takeaways - Connect a Salesforce report to an AIE campaign to enroll lead automatically. - Each Salesforce report can connect to only one AIE campaign. - Salrforce reports must use a supported report type and contain no more than 19 filters. - Review the contact and filter counts before you connect the report. - Sync settings send AIE conversation statuses and email activity to Salesforce. ## FAQ #### Can I integrate a different CRM with 6sense AI Email or does it have to be the same CRM across the 6sense Platform and 6sense AI Email? Use the same CRM across the entire 6sense Platform and 6sense AI Email. #### What data does 6sense use if job title, seniority, or function is not available in CRM? If these fields are missing in your CRM, AIE automatically sources the data from the 6sense platform. 6sense enriches lead and account details using trusted third-party data providers. A Customer Relationship Management (CRM) platform that helps businesses manage customer interactions and data. Application Programming Interface; a set of rules that allows different software applications to communicate with each other. 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". 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. ## Related - [AI Email – Salesforce Integration Details and Requirements](/ce-salesforce-integration-details-and-requirements.md)