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:
- Register to a Salesforce (for test purposes you can use a Developer Edition trial at Salesforce).
- Go to Setup → Apps → External Client Apps → Settings.
- Enable Allow creation of connected apps.
- Click New Connected App.
- 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.
- 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).
- Go to Setup → Identity → OAuth and OpenID Connect Settings.
- 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/tokenOptions.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.
Query Salesforce data
By using the ExecuteQuery task we can create an integration that queries
Salesforce for customer data.