Add the salesforce connector on your Zenaton dashboard,
enter the credentials and authorize Zenaton to call the salesforce API from your workflows.
Then add code snippet and URL path to your workflow.
const { workflow } = require("zenaton")
module.exports = workflow("MyWorkflow", function* () {
const salesforce = this.connector(
'salesforce',
'connector-id')
const response = yield salesforce.get('path_to_API')
const params = {body: {param1: '...'}}
yield salesforce.post('path_to_API', params)
})
We handle the complexity of orchestrating Salesforce API calls and related logic in your code.
Add the connector to your Zenaton workflow and we manage the authentication, oauth1 and oauth2 flow including token refreshing.
If your Salesforce API call fails, it can automatically be retried and you will receive an alert with error details.
View the Zenaton dashboard for execution history, scheduled tasks, errors and logs or retry failed Salesforce API calls.
The Zenaton connector is a pre-configured task for calling the Salesforce API inside your workflow with one line of code. Build custom integration logic by adding a workflow directly into your application using the functions in the Zenaton SDK.
Start building workflows
Sign-up and run a sample project Learn more
Zenaton
Product
Resources
Zenaton Examples