Salesforce: Campaign Setup

This guide assumes you have already communicated with Brilliant to enable the Salesforce Campaign integration for your account. Please note you must be using the Salesforce Developer, Unlimited, Enterprise, or Performance edition in order to integrate with Brilliant.

Before integrating your Salesforce account with Brilliant, you must first set up your Salesforce instance to prepare for data syncing. After you set up Salesforce, you can connect your Salesforce account to Brilliant to enable the integration.

The Salesforce Campaign integration is designed to be used with a new Salesforce campaign that does not contain any existing members. After connecting the campaign to Brilliant, campaign members will be gifted as they are added to the campaign. Any members present in the campaign before connecting the integration will not be gifted. Please make sure that any members added to your Salesforce campaign have valid emails associated with them.

Salesforce Setup

In order to connect Brilliant to your Salesforce instance, please have your Salesforce admin follow the steps below to create a custom Brilliant Gift object.

Create Brilliant Gift Object

Depending on how you configure the automation in later steps, the integration will push data from Brilliant to a custom gift object in your Salesforce instance when gift orders are placed. You will need to create this custom object according to the instructions below:

  1. Navigate to the Salesforce Object Manager.
  2. In the upper right corner, click the Create dropdown, then click Create Object.
  3. For the Label, enter Brilliant Gift. After doing this, the Object Name should be auto-populated with Brilliant_Gift. Please make sure that the value in Object Name is exactly Brilliant_Gift. For the Plural Label, enter Brilliant Gifts.
  4. In the Optional Features section, check the box next to Allow Reports.
  5. Leave the rest of the options at their defaults, and click Save.
  6. Find and click on the Brilliant Gift object you just created in the Object Manager menu.
  7. Click on Fields & Relationships.
  8. Create new fields for each of the fields listed below according to their specifications. You can leave the field level security as visible for all profiles for each of these fields:
  • Brilliant Recipient Id: A text field 16 characters in length with a field name set to Brilliant_Recipient_Id when creating the field. Please also check the External ID box when creating the field.
  • Brilliant Order Id: A text field 16 characters in length with a field name set to Brilliant_Order_Id when creating the field. Please also check the External ID box when creating the field.
  • Contact: A lookup field tied to your Contacts with a field name set to ContactId when creating the field.
  • Lead: A lookup field tied to your Leads with a field name set to LeadId when creating the field.
  • Cost: A currency field with a length of 16, 2 decimal places, and a field name of Cost when creating the field. This field will be populated with the total cost of the gift.
  • Shipping Cost: A currency field with a length of 16, 2 decimal places, and a field name of Shipping_Cost when creating the field. This field will be populated with the shipping cost for the gift.
  • For/Send Status: A picklist field with the following values: Sent, Clicked, Submitted, and Canceled. The field name should be For_Send_Status when creating the field.
  • Order Status: A picklist field with the following values: Pending, Awaiting Fulfillment, In Fulfillment, Partially Shipped, Out For Delivery, Partially Delivered, Delivered, and Canceled. The field name should be Order_Status when creating the field.
  • Campaign: A lookup field tied to your campaigns with a field name of Campaign when creating the field.

Connect Brilliant

After you have followed the steps above to setup your Salesforce instance, you are ready to integrate with Brilliant by following the steps below:

  1. Login to Brilliant using your email address and password.
  2. On the lefthand side of the page, navigate to the Automations page of the store you wish to connect the automation to via Storefront -> Your Store to Connect -> Automations.
  3. Find the Salesforce Campaign integration and click Connect.

    From here, you will be brought to a new tab where you can provide authentication for the integration.

  4. You will be asked for your account information for Salesforce. You can provide this information via an OAuth connection. After adding your account, click Next.
    1. Important: Please make sure the Salesforce User whose information you use for this connection has API access enabled as well as the Modify All Data and Customize Application permissions. If you choose to create Gift records in your Salesforce instance from this integration, you will also need to make sure the user has all of the necessary permissions to read, create, edit, and delete data for the custom Gift object and fields created above.
  5. You will now be asked for configuration values for your automation:
    1. Salesforce Campaign ID: This is the Salesforce Campaign ID of the Salesforce Campaign you wish to integrate. You can find the Salesforce Campaign ID by visiting the Campaign's page in Salesforce and copying the ID from the URL.

    2. Preferred Gift: The Brilliant Preferred Gift Campaign you want to add campaign members to.
    3. Create Gift Objects: Choose whether or not you would like to create Brilliant Gift records in your Salesforce instance for campaign members which choose to receive a gift.
  6. After configuring the integration, click Finish. Your integration setup is now complete!

Still need help? Contact Us Contact Us