How to use IBM App Connect with Salesforce Account Engagement

Salesforce Account Engagement is a cloud-based platform that offers B2B marketing automation tools for automating marketing, creating leads, and calculating marketing ROI.

Availability:
  • App Connect Enterprise as a Service connector
  • A local connector in a Designer instance of IBM App Connect in containers (Continuous Delivery release)Local connector in containers (Continuous Delivery release) 12.0.8.0-r3 or later
  • A local connector in a Designer instance of IBM App Connect in containers (Support Cycle 2)Local connector in containers (Long Term Support Cycle-2 release)

Connecting to Salesforce Account Engagement

Complete the connection fields that you see in the App Connect Designer Catalog page or flow editor. If necessary, work with your Salesforce Account Engagement administrator to obtain these values.

The Salesforce Account Engagement connection fields are described in the following table.
Tip: To obtain the connection values for the Application client ID, Application client secret, Access token, and Refresh token in Salesforce Account Engagement and to connect to App Connect, see Connecting to Salesforce from an App Connect Designer instance in a containerized environment (local connector) and Connecting to Salesforce from App Connect Enterprise as a Service.
Restriction: For information about restrictions that are involved in the usage of access tokens and refresh tokens for OAuth-enabled connected apps that are integrated with Salesforce, see Manage OAuth-Enabled Connected Apps Access to Your Data on the Salesforce Help page.
Authorization method Connection field Description Applicability
BASIC OAUTH Application client ID The unique client identifier for the Salesforce Account Engagement client application. App Connect in containers
Application client secret The client secret for the Salesforce Account Engagement client application.
Access token The access token that is generated from the application client ID and client secret.
Refresh token The refresh token that is generated from the application client ID and client secret.
API URL Specify the Salesforce Account Engagement API server URL if you want to override the default URL. By default, the URL is set to https://pi.pardot.com.
OAUTH 2.0 PASSWORD
Attention: You won't be able to connect to Salesforce Account Engagement using OAUTH 2.0 PASSWORD authentication method if you enable Multifactor authentication (MFA) on the Salesforce Account Engagement endpoint. For more information about setting up MFA, see Set Multifactor Authentication Login Requirements for API Access on the Salesforce Help page.
Username The username of your Salesforce Account Engagement account. App Connect in containers and App Connect Enterprise as a Service
Password The password of your Salesforce Account Engagement account.
Application client ID The unique client identifier for the Salesforce Account Engagement client application.
Application client secret The client secret for the Salesforce Account Engagement client application.
API URL Specify the Salesforce Account Engagement API server URL if you want to override the default URL. By default, the URL is set to https://pi.pardot.com.
OAUTH 2.0 AUTH CODE API URL
Tip: Authorize connection to Salesforce Account Engagement by signing in to your account from the new browser tab.
Specify the Salesforce Account Engagement API server URL if you want to override the default URL. By default, the URL is set to https://pi.pardot.com. App Connect Enterprise as a Service

To connect to a Salesforce Account Engagement endpoint from the App Connect Designer Catalog page for the first time, expand Salesforce Account Engagement, then click Connect. For more information, see Managing accounts.

Tip:

Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Applications and APIs page, select the account, open its options menu (⋮), then click Rename Account.

General considerations

Before you use App Connect Designer with Salesforce Account Engagement, take note of the following considerations:

  • For performing an API call, you need to provide a Business Unit ID. To find your Business Unit ID, complete the following steps:
    1. Log in to your Salesforce account.
      Note: You can choose to update these settings in lightning mode or classic mode.
    2. Click Setup (classic) or click the gear icon, then click Setup (lightning).
    3. Search for Business Unit Setup in the Quick Find box, then select Business Unit Setup.
    4. On the Business Unit Setup page, under the Assign Business Unit Admins for Setup section, copy the value for the Business Unit ID.
      Salesforce Business Unit ID displayed under the Business Unit Setup page
  • If you enable the Salesforce Connected Campaigns feature, the Create campaign action in the Salesforce Account Engagement connector will not work and results in an error. So, make sure that the Salesforce Connected Campaigns feature is disabled to use the Create campaign action. For more information, see Connect Account Engagement and Salesforce Campaigns and Error Codes and Messages on the Salesforce Help page.
    Figure 1. Error displayed when the Salesforce Connected Campaign feature is enabled
    Salesforce Account Engagement error when the Connected Campaign feature is enabled
  • Salesforce Account Engagement will only support v4 and v5 API and not v3 API. There are some actions (for example, Create campaign) that are not supported in v5 API, so, in this case, we use v4 API. For more information about enabling v4 API, see Account Engagement API Versions on the Salesforce Developers page.
    Note: Allow Multiple Prospects with the Same Email Address (AMPSEA) was enabled by default after June 14, 2016 (so, v4 API is enabled by default). Whether your business unit was created after that date or an admin enabled this feature, it can’t be turned off.
  • (General consideration) You can see lists of the trigger events and actions that are available on the Applications and APIs page of the App Connect Designer.

    For some applications, the events and actions depend on the environment and whether the connector supports configurable events and dynamic discovery of actions. If the application supports configurable events, you see a Show more configurable events link under the events list. If the application supports dynamic discovery of actions, you see a Show more link under the actions list.

  • (General consideration) If you are using multiple accounts for an application, the set of fields that is displayed when you select an action for that application can vary for different accounts. In the flow editor, some applications always provide a curated set of static fields for an action. Other applications use dynamic discovery to retrieve the set of fields that are configured on the instance that you are connected to. For example, if you have two accounts for two instances of an application, the first account might use settings that are ready for immediate use. However, the second account might be configured with extra custom fields.

Events and actions

Salesforce Account Engagement events

These events are for changes in this application that trigger a flow to start completing the actions in the flow.

Note: Events are not available for changes in this application. You can trigger a flow in other ways, such as at a scheduled interval or at specific dates and times.

Salesforce Account Engagement actions

Your flow completes these actions on this application.

Object Action Description
Prospects Retrieve prospects Retrieves the list of prospects
Create prospect Creates a prospect
Update prospect Updates the prospect information
Delete prospect Deletes a prospect
Users Retrieve users Retrieves the list of users
Visitors Retrieve visitors Retrieves the list of visitors
Assign visitor to prospect Assigns a visitor to prospect
Lists Retrieve lists Retrieves the Salesforce Account Engagement list
Create list Creates a Salesforce Account Engagement list
Update list Updates the Salesforce Account Engagement list
Delete list Deletes the Salesforce Account Engagement list
List memberships Retrieve list memberships Retrieves a list of memberships
Create list membership Creates a list membership
Update list membership Updates the list membership
Delete list membership Deletes a list membership
Visits Retrieve visits Retrieves the information of the user who visited the Salesforce website
Campaigns Create campaign Creates a campaign in Salesforce Account Engagement
Update campaign Updates the campaign in Salesforce Account Engagement
Retrieve campaigns Retrieves Salesforce Account Engagement campaigns
Folders Retrieve folders Retrieves the folders from Salesforce Account Engagement
Emails Retrieve emails Retrieves the emails
Send email using template Sends an email using a template
Send email Sends emails to prospects
Email templates Retrieve email templates Retrieves the email templates

Examples

Dashboard tile for a template that uses Salesforce Account Engagement

Use templates to quickly create flows for Salesforce Account Engagement

Learn how to use App Connect templates to quickly create flows that complete actions on Salesforce Account Engagement. For example, open the Templates gallery, and then search for Salesforce Account Engagement.

Dashboard tile for a template that uses Salesforce Account Engagement

Use templates to quickly create flows for Salesforce Account Engagement

Learn how to use App Connect templates to quickly create flows that complete actions on Salesforce Account Engagement. For example, open the Templates gallery, and then search for Salesforce Account Engagement.

Dashboard tile for a template that uses Salesforce Account Engagement

Use templates to quickly create flows for Salesforce Account Engagement

Learn how to use App Connect templates to quickly create flows that complete actions on Salesforce Account Engagement. For example, open the Templates gallery, and then search for Salesforce Account Engagement.

Dashboard tile for a template that uses Salesforce Account Engagement
Salesforce Account Engagement flow in detailed view

Use IBM App Connect to build flows that integrate with Salesforce Account Engagement.

Read the blog in the IBM Community to learn how to create a prospect in Salesforce Account Engagement whenever a new form entry is created in Wufoo. Click Read the blog to go to the blog.