---
title: Sending campaign mailings
slug: campaign/docs/sending-campaign-mailings
docTags: 
createdAt: 2026-07-20T15:44:44.436Z
---

:::hint{type="info"}
**Note**

This topic is for administrators and developers with administration access rights in Salesforce.
:::

This topic describes how to send mailings via Optimizely Campaign from your Salesforce CRM. After the mailing is sent, [response data](docId\:t68D2sjgQkr6u5obvIh0A) (openings, clicks, direct replies, unsubscriptions and outbounces) are automatically imported into Salesforce from Optimizely Campaign.

:::hint{type="info"}
**Note**

Response data can not be transferred for campaigns initiated directly in Optimizely Campaign or the activities of [Marketing Automation](docId\:rH-CVuXsKjRWjl4DSmNsl).
:::

These are the steps to send a mailing:

1. [Prepare](docId:6tJmfFDwXgNtXKLFIUsWY) a Smart Campaign with at least one mailing in Optimizely Campaign.
2. [Create](docId:6tJmfFDwXgNtXKLFIUsWY) a CRM campaign in Salesforce and add members.
3. [Start](docId:6tJmfFDwXgNtXKLFIUsWY) the dispatch of the Optimizely Campaign mailing in Salesforce.

## Preparing a Smart Campaign in Optimizely Campaign

The Smart Campaign set up requires at least these nodes:

- **Recipients** node, to which you assign the **Master recipient list** of the [closed-loop interface](docId\:h_xZyWexICTzcHCLrXSD2). This is set up by the Optimizely customer support, when your client is configured.
- **Wait** node, to enable the **Wait until import has been finished** option.
- Message node, containing the mailing to be sent.

To configure a Smart Campaign, do the following:

1. Open the Optimizely Campaign[ menu](docId\:PmNPgvNucBrAG5Rw8f41f) and select **Campaigns** > **Smart Campaigns**.
2. In the **Campaigns** window, click **Create…**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/natmRvyArVqgcPIbjNXn1-20260720-145350.png" size="100" caption="Image: Create campaign" alt="Image: Create campaign" isUploading="false" showCaption="true"}
3. Drag the **Recipients** node from the left action area to the working area on the right.
4. Select the master recipient list in the **Recipient lists** drop-down list of the context menu.

   :::hint{type="info"}
   **Note**

   Only use the master recipient list and no other recipient list.
   :::

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/HYHfewU6qplqHCFuBaAgu-20260720-145350.png" size="100" caption="Image: Select the master recipient list" alt="Image: Select the master recipient list" isUploading="false" showCaption="true"}
5. Drag the **Wait** node from the left action area to the working area on the right.
6. In the context menu, enable the option **Wait until import has been finished**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/ECBvHZFbbUK4XNSt4MhhQ-20260720-145350.png" size="100" caption="Image: Wait until import has been finished" alt="Image: Wait until import has been finished" isUploading="false" showCaption="true"}
7. Drag a message node (Email, SMS, Print) from the left action area to the working area on the right.
8. Click **Edit Content…**, select a template and insert your message content into the mailing. Design your Smart Campaigns mailing as usual, using available tools and features. See [Edit mailing content](docId:5xtPVV7nBFTDQpZFg-kRS).
9. Click **Close**.
10. Connect the campaign nodes.
11. Click **Save and Close**, enter a campaign name and click **Save**.

:::hint{type="info"}
**Note**

Do not activate and send the campaign mailing. If you do, you cannot start and send it from Salesforce anymore. If you start and send the mailing from Salesforce later, the mailing is automatically duplicated. You can delete the original in Optimizely Campaign after it is sent.
:::

## [sending-campaign-mailings.mdx](docId:6tJmfFDwXgNtXKLFIUsWY)Creating a CRM campaign and adding members

The CRM campaign in Salesforce controls the Smart Campaign created in Optimizely Campaign. With the CRM campaign, you trigger the mailing dispatch in Optimizely Campaign and transfer the selected contacts and leads (members of the CRM campaign) into the Optimizely Campaign recipient list.

Use the regular features in Salesforce to create a CRM campaign and assign members. The following steps shows an example of how to do this.

1. Log in to Salesforce CRM.
2. Click **Campaigns**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/cg7adlKuOc3WJxEtR8Bff-20260720-145350.png" size="100" caption="Image: Campaigns" alt="Image: Campaigns" isUploading="false" showCaption="true"}
3. Click **New**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/6HdlqATEWIfHDYWyz7Ae3-20260720-145350.png" size="100" caption="Image: New campaign" alt="Image: New campaign" isUploading="false" showCaption="true"}
4. Enter the desired campaign information and description.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/O2u-W0Z_ZYZzZQDCDbmMh-20260720-145350.png" size="100" caption="Image: Enter campaign information" alt="Image: Enter campaign information" isUploading="false" showCaption="true"}
5. In the **Advertisement Consent** field, enter the advertising permission that you want to assign to the campaign.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/hb9vAChnDqRCulpVw_TAo-20260720-145350.png" size="100" caption="Image: Advertising permission" alt="Image: Advertising permission" isUploading="false" showCaption="true"}
6. In the **Episerver Mandator** field, select the client in which you have prepared the mailing that is to be sent.(In the example, the client's name is *Episerver Campaign*).

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/d5OeVn6Z3F4AEUtEYdx8_-20260720-145350.png" size="100" caption="Image: Episerver Campaign Client" alt="Image: Episerver Campaign Client" isUploading="false" showCaption="true"}
7. Click **Save**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/FVk_fZIvLg7gKDNPfK93D-20260720-145350.png" size="100" caption="Image: Save" alt="Image: Save" isUploading="false" showCaption="true"}
8. In the **Campaign Members** area, click **Add Contacts** or **Add Leads** or **Add Person Accounts**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/2toLUg_2R_sieDIpzAZJA-20260720-145350.png" size="100" caption="Image: Add contacts" alt="Image: Add contacts" isUploading="false" showCaption="true"}
9. Select the contacts or leads or personal accounts that you want to add to the campaign.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/YNRm_QhphMCp78hN88_4v-20260720-145350.png" size="100" caption="Image: Select contacts" alt="Image: Select contacts" isUploading="false" showCaption="true"}
10. Click **Next**.

    ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/XdsgaO4fiq9l6QXTd7A4A-20260720-145350.png" size="100" caption="Image: Next" alt="Image: Next" isUploading="false" showCaption="true"}
11. Click **Submit**.

    ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/GrVJvoZhfA4QpDRM0zqGI-20260720-145350.png" size="100" alt="Image: Send" isUploading="false" showCaption="false"}

:::Paragraph{indent="1"}
The **\<Your campaign name>** **Campaign** window opens again. Keep this window open as it is needed in the next step: **Starting the mailing dispatch in Salesforce**.
:::

## [sending-campaign-mailings.mdx](docId:6tJmfFDwXgNtXKLFIUsWY)Starting the mailing dispatch in Salesforce

1. In the **\<Your campaign name>** **Campaign** window, click the downward-pointing triangle on the upper right side and select the **Start mailing** option.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/ua41QN_XVosMqQZm9AFWw-20260720-145350.png" size="100" caption="Image: Start mailing" alt="Image: Start mailing" isUploading="false" showCaption="true"}
2. In the **Episerver Campaign** window, check under **Opt-In** that the correct advertising permission has been selected. Use the drop-down list to change the advertising permission if necessary.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/Mr0qx4WlnxUWNbwOghpFX-20260720-145350.png" size="100" caption="Image: Check advertising permission" alt="Image: Check advertising permission" isUploading="false" showCaption="true"}
3. Click **Load mailing IDs**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/qUBfALiafxc6DZ-00L3gF-20260720-145350.png" size="100" caption="Image: Load mailing IDs" alt="Image: Load mailing IDs" isUploading="false" showCaption="true"}

:::Paragraph{indent="1"}
The **Mailing ID** drop-down list loads the mailing ID of the mailings you prepared. For multiple mailings, the IDs for these are loaded.
:::

::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/-SO9nFEQQz0gcM_L9Yp8T-20260720-145350.png" size="100" caption="Image: Mailing ID drop-down list" alt="Image: Mailing ID drop-down list" isUploading="false" showCaption="true" indent="2"}

4. For multiple mailings, select the ID for the desired mailing from the **Mailing ID** drop-down list. To see the mailing IDs, open the Optimizely Campaign [menu](docId\:PmNPgvNucBrAG5Rw8f41f) and select **Campaigns** > **Smart Campaigns**. Copy the relevant mailing ID from the **ID** column of the campaigns overview.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/JWUyQUS2PsiKFN3aljtT2-20260720-145350.png" size="100" caption="Image: Mailing ID" alt="Image: Mailing ID" isUploading="false" showCaption="true"}
5. Click **Start mailing** (in Salesforce).The contacts/leads that you added to your CRM campaign as members are transferred to Optimizely Campaign.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/Hsuc6uDooxBbVmHKKxK-r-20260720-145350.png" size="100" caption="Image: Start mailing" alt="Image: Start mailing" isUploading="false" showCaption="true"}
6. To check the current dispatch status for the mailing, click **Back**.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/BppE8ZhWdpT87WAVa7KEm-20260720-145350.png" size="100" caption="Image: Back" alt="Image: Back" isUploading="false" showCaption="true"}

:::Paragraph{indent="1"}
The **\<Your campaign name> Campaign** window opens.
:::

7. Check the sending status in the **Details** tab. A selected check box indicates that the mailing was sent successfully.

   ::Image[]{src="https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/MQ-bT2b8hxcnAEf6Y6emA-20260720-145351.png" size="100" caption="Image: Current dispatch status" alt="Image: Current dispatch status" isUploading="false" showCaption="true"}
