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:
| Field | Description | Example |
|---|---|---|
| Name | Internal label for the connector | SFMC Production |
| Status | Activated or deactivated | β |
| Market Cloud App Client ID | Unique identifier for your app in SFMC | 4gf2klah13np0r9r8vbnq3cl |
| Client Secret | Private password for your app integration | kdn35@##LSdf!3ljq29jfd9ALPpqnd834 |
| Tenant-specific subdomain | Custom subdomain for your SFMC account, used in API calls and link tracking | m8n3xxt4z9sbq12t6-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.
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:
| Field | Description |
|---|---|
| Audiences | Select which Loyal Guru audience to synchronize with SFMC |
| Event source | Which event type to synchronize β currently only Segment is available |
| Trigger | Segment in (customers who entered the audience) or Segment out (customers who left the audience) |
| Data extension list | Select the SFMC Data Extension that will receive the data |
| Customer field | Loyal Guru customer field to export |
| Data extension field | Target field in the SFMC Data Extension to map to the Loyal Guru field |
| Data extension primary key | The field designated as primary key in the Data Extension |
| Periodicity | How frequently the data syncs from Loyal Guru to SFMC |
Currently, the Salesforce connector supports audience exports only. Build the audience first using the Loyal Guru Audience Builder before configuring the export action.