Skip to main content

Salesforce Destination

MessageGears delivers audience files to Salesforce Marketing Cloud via SFTP. This allows you to send segments and audience data from MessageGears into Salesforce Marketing Cloud for use in journey builder campaigns, data extensions, and other messaging workflows.

Prerequisites​

Before setting up the Salesforce destination, make sure the following are in place:

Step 1: Locate your Salesforce Marketing Cloud SFTP credentials​

Salesforce Marketing Cloud provides an Enhanced FTP site for each account. To find your credentials:

  1. In Salesforce Marketing Cloud, navigate to Setup > Data Management > FTP Accounts.
  2. Locate your FTP user credentials and note the hostname, username, and password.
  3. Confirm the SFTP port (typically 22).

Provide the following to MessageGears Support when setting up the destination:

FieldDescription
SFTP HostnameYour Salesforce Marketing Cloud FTP hostname
SFTP PortPort number (typically 22)
UsernameYour FTP account username
PasswordYour FTP account password, or an RSA private key
Base PathThe folder path within the FTP site to deliver files to

MessageGears Support will configure the destination and confirm when it is ready to use.

info

If using private key authentication, the key must be in RSA format. OpenSSH keys can be converted with:

ssh-keygen -p -N "" -m pem -f your_private_key

Step 2: File format​

The Salesforce destination delivers files in CSV format. You can configure the file to include the fields needed to match or update records in Salesforce Marketing Cloud data extensions.

Work with your Salesforce Marketing Cloud administrator to confirm the expected file schema for your target data extension or import process.

Step 3: Build your audience in MessageGears​

Use the MessageGears audience builder or a Blueprint to define the segment you want to deliver to Salesforce.

For guidance on building audiences and Blueprints, see:

Step 4: Create an External Campaign targeting the Salesforce destination​

Once your audience is defined and the Salesforce destination is configured, create an External Campaign to deliver the file:

  1. Navigate to Campaigns > External.
  2. Under Settings, select your audience or Blueprint.
  3. In the Destination dropdown, select your Salesforce destination.
  4. Set your schedule (one-time or recurring) and click Save or Launch.

For a full walkthrough of the External Campaign workflow, see External Campaigns.

Troubleshooting​

SymptomLikely causeResolution
Campaign fails to deliverInvalid SFTP credentials or incorrect hostnameVerify FTP credentials in Salesforce Marketing Cloud Setup; contact MessageGears Support
File arrives but data not importedIncorrect file schema or missing import automationConfirm file format with your Salesforce Marketing Cloud administrator
Private key authentication failsKey not in RSA formatConvert your key using the ssh-keygen command above

For additional help, contact MessageGears Support.