Sending mailings

This topic is for administrators and developers with administration access rights in Microsoft Dynamics.

This topic describes how to send campaign mailings directly from Campaign Activity in Microsoft Dynamics CRM, when using this with Episerver Campaign. After the mailing is sent, response data (opens, clicks, direct replies, unsubscribes and outbounces) is automatically imported into CRM from Episerver Campaign.

Prerequisites

Configuring marketing lists and CRM campaigns

Before sending a campaign mailing via Episerver Campaign, you must do the following in Microsoft Dynamics CRM:

  • Create a marketing list with leads and contacts who will receive the mailing.

    Contacts and leads for which you do not have advertising consent will not receive the mailing, even if they are in the marketing list.

  • Create a CRM campaign and add the marketing list.

Creating a marketing list

  1. In Microsoft Dynamics CRM, go to Marketing > Marketing Lists.

    Image: Marketing lists

  2. Click New. The integration supports both static and dynamic list types. The name for the marketing list and its options (such as Currency) are not relevant for sending mailings via Episerver Campaign.
  3. When done, click Save.
  4. Click the plus icon + for Members to add desired contacts or leads to the marketing list.

    Image: Add contacts

  5. When done, click Save.

Creating a CRM campaign and adding the marketing list

  1. In Microsoft Dynamics CRM, go to Marketing > Campaigns.

    Image: Campaigns

  2. Click New.
  3. In the Name box, enter a name for your campaign.

    Image: Campaign name

  4. In the Currency box, specify a currency for the campaign.

    Image: Currency type

  5. Click Save.
  6. In the Marketing Lists area, click the plus icon +, select the desired marketing list and click Add.

    Image: Add marketing list

  7. Click Save. Keep the window open for the next step.

Preparing campaign activity for dispatch

  1. Click the plus icon + in the Campaign Activities area.

    Image: New campaign activity

  2. In the Subject box, enter a subject for your campaign activity.

    Image: Campaign subject

  3. Under Channel, select Episerver Campaign.

    Image: Select channel

  4. Under Advertising Consent in the new options area, click Search and select the corresponding advertising consent.

    Image: Select advertising consent type

  5. Click Save.

    Image: Save

  6. Click Select Campaign.

    Image: Select Campaign

  7. Select the mailing to be send and click Select Mailing.

    Image: Select Mailing

  8. Close the Select Mailing window and reload the Campaign Activity screen. The mailing ID is now assigned to the campaign activity.

Checking mailing content before dispatch

Check the mailing content before dispatch by sending the mailing to a Episerver Campaign test list. Do the following:

Prerequisite: You must assign a Episerver Campaign test list in Microsoft Dynamics CRM. See Assigning Episerver Campaign test lists.

  1. On the Campaign Activity screen, select a Episerver Campaign test list.

    Image: Select a test list

  2. Click Test Message.

    Image: Test message

  3. Select the mailing you want to send to the test list.

    The list shows all mailings that are related to campaigns in the status Activation required in Episerver Campaign. You must know the names of the corresponding mailings. The mailing name does not necessarily correspond to the campaign name. In the case of A/B tests, mailings typically have different names than the campaigns.

    Image: Select mailings

  4. Click Select test mailing to send the mailing.

    Image: Send mailings

Starting and monitoring dispatch workflows

Starting the workflow

  1. Click Run Workflow in the campaign activity screen in Microsoft Dynamics CRM.

    Image: Run Workflow

  2. Select Episerver: Send campaign activity to Episerver Campaign and click Add. Do not start the workflow Episerver: Start mailing in Episerver Campaign. This is automatically called by the integration.

    Image: Select process

    Contacts and leads from the marketing list are transferred to Episerver Campaign via the interface through Recipient packages, and the Mailing status changes from Planned to Transmitting.

Monitoring workflow activity

  1. In Microsoft Dynamics CRM, go to Settings > System Jobs.

    Image: System jobs

  2. Under View, open My System Jobs from the drop-down list. You can see the current workflow status under Status Reason.

    Image: Workflow status

    If an error is displayed under Status Reason, click the corresponding workflow to see details.