Skip to main content

Salesforce

The Salesforce connector allows Loyal Guru to natively integrate with Salesforce Marketing Cloud (SFMC), enabling seamless access, synchronization, and export of customer data in real time and with secure communication. The connector leverages Salesforce's official REST APIs, ensuring a reliable, scalable, and future-proof integration.

Prerequisites​

Before creating the connector, configure the following in your SFMC account:

1. Create an API Integration (Installed Package)

  • Go to Setup β†’ Apps β†’ Installed Packages in SFMC.
  • Create a new package and add an API Integration inside it.
  • Choose Server-to-Server (no user interaction required).
  • Copy the credentials you'll need:
    • Client ID
    • Client Secret
    • Authentication Base URI
    • REST and SOAP Base URIs

2. Create a Data Extension

  • Data in SFMC is stored in Data Extensions (custom tables, not directly in Contacts).
  • Create at least one Data Extension to receive the exported audience data.
  • Define the fields and primary keys that will hold the Loyal Guru customer data.

Managing the Salesforce Connector​

Go to Customers β†’ Webhooks & Connectors to create and manage Salesforce connectors.

Create Connector​

Click New Connector and select Salesforce. Fill in the following fields:

FieldDescriptionExample
NameInternal label for the connectorSFMC Production
StatusActivated or deactivatedβ€”
Market Cloud App Client IDUnique identifier for your app in SFMC4gf2klah13np0r9r8vbnq3cl
Client SecretPrivate password for your app integrationkdn35@##LSdf!3ljq29jfd9ALPpqnd834
Tenant-specific subdomainCustom subdomain for your SFMC account, used in API calls and link trackingm8n3xxt4z9sbq12t6-3j1zj8pq

Edit Connector​

Click the pencil (edit) button next to the connector to update its configuration.

View Connector​

Click the eye (view) button to see the parameters currently configured for the connector.

Delete Connector​

Click the trash (delete) button to delete a connector.

warning

To delete a connector, you must first delete all actions within it individually.

Managing Actions​

View Actions​

Once the connector is configured, click on it to see the list of actions associated with it.

Create Actions​

Click New Action inside the connector. Fill in the following fields:

FieldDescription
AudiencesSelect which Loyal Guru audience to synchronize with SFMC
Event sourceWhich event type to synchronize β€” currently only Segment is available
TriggerSegment in (customers who entered the audience) or Segment out (customers who left the audience)
Data extension listSelect the SFMC Data Extension that will receive the data
Customer fieldLoyal Guru customer field to export
Data extension fieldTarget field in the SFMC Data Extension to map to the Loyal Guru field
Data extension primary keyThe field designated as primary key in the Data Extension
PeriodicityHow frequently the data syncs from Loyal Guru to SFMC
info

Currently, the Salesforce connector supports audience exports only. Build the audience first using the Loyal Guru Audience Builder before configuring the export action.