Salesforce - Customer data

Salesforce_logo.jpeg

Salesforce is the leading cloud based CRM solution that you can use to track your customers and accelerate your deals. You can:

  • Create a record of any object like Leads, Opportunity, contact or any other custom object into your Salesforce account using our Salesforce integration.
  • Update/Upload a record of any object into your Salesforce account using our Salesforce integration.
  • Mapping of custom attributes of Salesforce object to customer profiles and recommendations.

Before you begin

Before you can set up integration with Blueshift, you must have your Salesforce account set up.

Add a new Connected App in Salesforce

To add a new Connected App in Salesforce, complete the following steps:

  1. Log into your Salesforce account. 
  2. From Setup, go to the Home tab and navigate to Platform Tools > Apps > Apps Manager.
  3. Click New Connected App.
  4. In the Basic Information section, add a Name for the Connected App.
    For more information, see Configure Basic Connected App Settings.
  5. In the API (Enable OAuth Settings) section, select Enable OAuth Settings.
  6. Set Callback URL = https://app.getblueshift.com/api/v1/account_app_profiles/oauth_callback.
  7. Select the OAuth scopes to apply to the connected app. Set the scopes you want Blueshift to have access to.
  8. Select Require Secret for Web Server Flow and Require Secret for Refresh Token Flow.
    For more information, see Enable OAuth Settings for API Integration.
  9. Configure other settings for the app as required.
  10. Save the app.

Note: When a new app is created, it can take some time before the app is available for use. If an Invalid Client ID error occurs when you add a Salesforce adapter in Blueshift, verify that the Salesforce connected app is available for use by viewing the app details. Also verify that you have copied the correct Client ID and Client Secret.

For more information, see Create a Connected App.

The client ID and client secret

To get the Client ID and Client Secret, complete the following steps:

  1. Go to Apps Manager.
  2. Go to the new app that you just created, click the down arrow, and click View.
  3. Go to the API (Enable OAuth Settings) section.
  4. Copy the Consumer Key. This is the Client ID that you will use to integrate with Blueshift.
  5. For the Consumer Secret, click Click to reveal. Copy the Consumer Secret. This is the Client Secret that you will use to integrate with Blueshift.

The subdomain name

This is the part of the URL that you use to log into your Salesforce account.

For example, if the URL you use to log into your Salesforce account is https://abc.my.salesforce.com/, use abc.my as the subdomain.

Set up integration

To add a Salesforce adapter in Blueshift, complete the following steps:

  1. Sign in to the Blueshift app, and click Apps in the left navigation menu.
  2. Go to All Apps, search for, and select Salesforce.
  3. You can also go to CRM Apps and select Salesforce.
  4. Click Configure to view all the configured adapters.
  5. Click +ADAPTER to add an adapter.
  6. Add a Name for the adapter.  If you have multiple adapters, the adapter name helps you to identify the integration.
  7. Provide the following details for integration:


    crm_salesforce_nov21.png

    Field Description
    Subdomain The subdomain name for the Salesforce account.
    Client ID The Client ID for accessing Salesforce APIs.
    Client Secret The Client Secret for accessing Salesforce APIs.
    Scopes Leave this field blank if you have already set the OAuth scopes in Salesforce when you created the connected app.
  8. Add information for any Additional Headers.
  9. Click Log in to Salesforce to add the adapter.
  10. In the Authorization dialog that opens, click Allow to complete the integration.

The adapter is now added and you can use it in your Cloud App template.

Next steps

  1. Create a Salesforce cloud app template to send a payload from a campaign.
  2. In your campaign journey, add a Salesforce trigger. Select the template that you created.

Create a Salesforce cloud app template

A Cloud App template is required to send a payload to Salesforce from a campaign.

To add a Salesforce Cloud App template, complete the following steps:

  1. Go to Creatives > Cloud App.
  2. Click +TEMPLATES on the Cloud App Templates page.
  3. Select the Salesforce app.

    Note: Only apps that support Cloud Apps templates and have atleast one adapter configured are displayed on the Cloud App Templates page.

  4. Configure the template including the name, tags and other relevant information. For more information, see Cloud Apps templates.


    salesforce_template_1.png

    Field Description
    Template Name Specify a name for the template to identify it on the index screen. 
    API Endpoint Specify the API endpoint that receives the request that we make. 
    Adapter Select the adapter to use to send the payload.
    Tags

    Specify tags to organize this template.

    Since this template is a Blueshift resource that you use in campaigns, you can use tagging to organize it under folders.

    For more information on this, see Tagging.

  5. On the Content tab, fill the form to specify the data and the format in which to send the data to Salesforce.

    You can also switch to JSON and specify the content in JSON format. However, once you switch to JSON, you cannot use the form layout again.


    sfdc_content.png

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.