Campaign and Event Sync
  • 12 Feb 2024
  • 5 Minutes to read
  • Dark
    Light

Campaign and Event Sync

  • Dark
    Light

Article Summary

Campaign to Event Sync

Salesforce Campaigns synced with Events is an extremely powerful way to link together your marketing initiatives and the registered Attendees that are generated as a result. When paired up with a powerful Email marketing tool, you can take automation to the next level.

The general principle behind combining Email Marketing tools with Salesforce/Campaigns is that you can build lists, segment data, and send out email campaigns, directly from within Salesforce. Some of this functionality is evident with tools like Pardot, Campaign Monitor, and Mailchimp that all have their own Salesforce connectors.

Initial Setup

There are fields and buttons to add to Campaign and Campaign Member Page Layouts.

  1. On the Campaign Page Layout, add the Event field and the Add Attendees button.
  2. On the Campaign Member Page Layout, add the Attendee and AttendeeLink fields.

Invite Attendees from the Campaign

Relate an Event to your Campaign

To start, we have to relate an Event to the Campaign. This field must be defined to create and invite Attendees for an Event from Campaign Members.

  1. Set the Event lookup field on the Campaign.
    releate event to campaign

Note: When the Event lookup is populated on the Campaign, the same Campaign lookup on Event is populated.

Configuring the Attendee Registration Status

We have added three new fields to the Campaign object that allow you to configure the Attendee Registration Status.
configure attendee registration status

Attendee "To Invite" Status

Define the Campaign Member Status for when an Attendee is created with a Registration Status = "To Invite".

For example, if Attendee "To Invite" Status = To be Invited, when a new Attendee is created where the Campaign Member status = "To be Invited", the Registration Status = "To Invite".

Attendee "Registered" Status

Define the Campaign Member Status for when an Attendee is created with a Registration Status = "Registered".

For example, if Attendee "Registered" Status = Responded, when a new Attendee is created where the Campaign Member status = "Responded", the Registration Status = "Registered".

Attendee "Invited" Status

Attendee "Invited" Status: Define the Campaign Member Status for when an Attendee is created with a Registration Status = "Invited".

For example, if Attendee "Invited" Status = Sent, when a new Attendee is created where the Campaign Member status = "Sent", the Registration Status = "Invited".

Auto Add Campaign Members

Set the Campaign's Event Auto Sync field to "Yes" to automatically add new Campaign Members as Attendees to a related Event.

If the Event Auto Sync field isn’t on the Campaign page layout, complete the following steps.

  1. Go to the Object Manager.
  2. In the Quick Find box, enter and click “Campaign.”
  3. Click Page Layouts.
  4. Click Campaign Layout.
  5. Locate the Event Auto Sync field and drag and drop it on the layout.
  6. Click Save.

The auto-sync feature can also perform the following tasks.

  • Create Campaign Members with the same Status as the Status designated on the Event Settings.
  • Set a Campaign Member’s Status to correspond with the Attendee’s Registration Status = “To Invite”.

Before using the auto-sync feature, add the following fields to the Event Settings' page layout.

  • Campaign Member Invited Status (Campaign_Member_Invited_Status__c)
  • Campaign Member To Invite Status (Campaign_Member_To_Invite_Status__c)
Mass Add Campaign Members

If you add five or more Campaign Members and auto-sync is turned on, a scheduled job, that will add members as Attendees in 30 minutes, will be created.

If you need Campaign Members to be added as Attendees in less than 30 minutes, turn off the sync feature, mass add the members, and click the Add Attendees button.

Upload Campaign Members

Uploading a bulk amount of Campaign Members will take some time as it becomes a scheduled job. The scheduled job runs an hour later to convert the newly inserted members as Attendees.

Each batch job will insert 30 Attendees at a time. After it processes, the Campaign Member record is updated with the Attendee ID and AttendeeLink. This process runs automatically only when a new Campaign Member is inserted.

Existing Campaign Members

Click the Add Attendees button to add existing Campaign Members as Attendees for a specific Event.

Send Invite to All Attendees

On the Event add the button Send Invite. Clicking this button will update the Attendee Registration Status = "Invited".

If your Salesforce Workflow Rule "Send Blackthorn | Event invite email" is set to "Active", this will trigger the sending of the invite to your Attendee.

VERIFY INVITE EMAIL BEFORE CLICKING "SEND INVITE"

If you are using the workflow we provided, your Campaign Members will immediately receive the invite email when you click the Send Invite button.

Event To Campaign Sync

When the Campaign field is defined on the Event and an Attendee registers for the Event, if the Attendee's related Contact or Lead is not part of the Campaign, then the Attendee's Contact or Lead is added as a Campaign Member under the defined Campaign.

When a Campaign is defined on Event, if the Campaign's Event lookup is null then the Campaign Event lookup is updated with this Event.

Please make sure to have an associated Campaign set up before an Attendee registers or else the Attendee will not sync to the Campaign. If adding a Campaign to an Event after Attendees have already registered, you can use an Attendee with a Contact Report to mass add these Attendees to new Campaign using the Add to Campaign button which will sync Contacts over to the Campaign.

Update Campaign Member Status

You can define the Status that needs to be set when the Attendee registers/declines/attends the Event.

Add Values to the 'Member Status' Campaign Field

If using custom Campaign Member Statuses, make sure to add these values to "Campaign Member Statuses" on the related Campaign to ensure Statuses correctly sync from the Attendee.

  1. View the campaign you want to customize and click the 'Campaign Member Statuses' related list. Click New to add New Status. Type the name of your new Status and click Save.
  2. To change the default status, click Change Default Status. Then click the dropdown menu to choose the default status and click Save.
  3. To change a status name, click Edit next to the status.
  4. To change if the status counts as responded, click Edit next to the status. Members with statuses that count as ‘Responded' are tallied in the Responses in Campaign field on the Campaign.

Create/Update the Event Settings Record

Campaign Member Registered Status

Whenever an Attendee registers for the Event, the Status on the associated Campaign Member is updated to the defined value, and if NULL, the Status = "Responded".

Campaign Member Declined Status

Whenever an Attendee declines for the Event, the Status on the associated Campaign Member is updated to the defined value, and if NULL, the Status = "Responded".

Campaign Member Attended Status (v2.17 onwards)

Whenever an Attendee attends the Event, the Status on the associated Campaign Member is updated to the defined value, and if NULL, the Status = "Responded".


Status Mapping

Status mapping between Attendee and Campaign Member records is available for the following values: Invited, To Invite, Registered, Declined and Attended. To configure the mapping, go to the Campaign or Event Settings record.

For all other types of statuses, custom automation will need to be implemented.