Add the hubspot connector on your Zenaton dashboard,
enter the credentials and authorize Zenaton to call the hubspot API from your workflows.
Then add code snippet and URL path to your workflow.
const { workflow } = require("zenaton")
module.exports = workflow("MyWorkflow", function* () {
const hubspot = this.connector(
'hubspot',
'connector-id')
const response = yield hubspot.get('path_to_API')
const params = {body: {param1: '...'}}
yield hubspot.post('path_to_API', params)
})
We handle the complexity of orchestrating Hubspot 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 Hubspot 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 Hubspot API calls.
The Zenaton connector is a pre-configured task for calling the Hubspot 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