<img src="https://queue.simpleanalyticscdn.com/noscript.gif" alt="" referrerpolicy="no-referrer-when-downgrade"/>
taskstemplates
feedback & roadmapbook a demo

Salesforce

Frends offers seamless integration with Salesforce, enabling you to effortlessly connect and automate data flows between your systems and Salesforce.

Frends has tasks for performing all core Salesforce operations.

By leveraging Frends' task-based approach, you can configure and customize Salesforce integrations according to your specific requirements. Frends offers a wide range of tasks that facilitate integrations to a variety of systems and protocols.

Setting up the environment

To use the tasks in this package, you need a Salesforce environment. To create one, follow these steps:

  1. Register to a Salesforce (for test purposes you can use a Developer Edition trial at Salesforce).
  2. Go to Setup → Apps → External Client Apps → Settings.
  3. Enable Allow creation of connected apps.
  4. Click New Connected App.
  5. Fill in the following:
    • Required fields (Connected App Name, API Name, Contact Email).
    • Enable OAuth Settings.
    • Set the Callback URL (any valid URL, e.g., https://www.google.com).
    • Add Full access (full) to Selected OAuth Scopes.
    • Enable Client Credentials Flow.
  6. Get the Consumer Key and Consumer Secret by clicking Manage Consumer Details.
    You can retrieve them later by following these steps:
    • Go to Setup → Apps → App Manager.
    • Click View in the Action column next to your app.
    • Click Manage Consumer Details (you will need a verification code sent to the email address you provided during registration).
  7. Go to Setup → Identity → OAuth and OpenID Connect Settings.
  8. Enable OAuth Username-Password Flows.

To use the task, provide the following data:

  • Input.Domain → The domain that was created for you after registration.
  • Options.AuthUrl → By default: https://login.salesforce.com/services/oauth2/token
  • Options.ClientId → Consumer Key from step 6.
  • Options.ClientSecret → Consumer Secret from step 6.
  • Options.Username → Your Salesforce username (check it in Setup → Users → Users).
  • Options.Password → Password for your Salesforce user.
  • Options.SecurityToken → Security token for your Salesforce user. You can get it as follows:
    • Click your profile icon → Settings.
    • Go to My Personal Information → Reset My Security Token.

      WARNING: This will expire the previous Security Token, hence it may be a destructive operation!

    • The security token will be sent to the email address you provided during registration.

Use cases

Below you will find typical use cases for Salesforce integrations and how they are implemented in Frends.

Synchronize data to Salesforce

By using the CreateSObject and UpdateSObject tasks we can create an integration that syncs customer data from another CRM system.

Sync

Query Salesforce data

By using the ExecuteQuery task we can create an integration that queries Salesforce for customer data.

Get customer

Categories

All tasks