Automation API Collections

Number of APIs: 16

Use HubSpot's workflows tool to automate business processes and allow your team to be more efficient. You can create custom workflow actions to integrate your service with HubSpot's workflows.

After setting up your custom action, when users install your application, they can add the custom action to their workflows.

In workflows, you can also use the Custom code action to write and execute JavaScript or Python (in beta). With custom code actions, you can extend workflow functionality within and outside of HubSpot. To learn more about HubSpot's APIs, you can refer to either the developer documentation for the latest versions or the legacy developer documentation for our older APIs. To see examples of common custom code actions, view HubSpot's Programmable Automation Use Cases.

Custom code actions support JavaScript using the Node 16.x runtime framework. If you're using Python for your custom code action, the custom code action will use Python 3.9 runtime framework. When an action executes, the runtime compute is managed through a serverless function by HubSpot and AWS Lambda.

If you encounter any general issues implementing your custom code action, you can reach out to HubSpot support. However, if you're facing any issues with your written custom code, it's recommended to search and post on the HubSpot Developer's Forum   to get tips, advice, or help with troubleshooting your code.

Fork the collections using Run in Qodex:

Run In Qodex

  1. Custom Workflow Actions API-Revisions - Gets a revision for a given definition by revision id GET {{baseUrl}}/automation/v4/actions/:appId/:definitionId/revisions/:revisionId

  2. Custom Workflow Actions API-Revisions - Get all revisions for a given definition GET {{baseUrl}}/automation/v4/actions/:appId/:definitionId/revisions?limit=<integer>&after=<string>

  3. Custom Workflow Actions API-Definitions - Create a new extension definition POST {{baseUrl}}/automation/v4/actions/:appId

  4. Custom Workflow Actions API-Callbacks - Completes a batch of callbacks POST {{baseUrl}}/automation/v4/actions/callbacks/complete

  5. Custom Workflow Actions API-Callbacks - Completes a single callback POST {{baseUrl}}/automation/v4/actions/callbacks/:callbackId/complete

  6. Custom Workflow Actions API-Definitions - Get paged extension definitions GET {{baseUrl}}/automation/v4/actions/:appId?limit=<integer>&after=<string>&archived=false

  7. Custom Workflow Actions API-Definitions - Get extension definition by Id GET {{baseUrl}}/automation/v4/actions/:appId/:definitionId?archived=false

  8. Custom Workflow Actions API-Definitions - Archive an extension definition DELETE {{baseUrl}}/automation/v4/actions/:appId/:definitionId

  9. Custom Workflow Actions API-Definitions - Patch an existing extension definition PATCH {{baseUrl}}/automation/v4/actions/:appId/:definitionId

  10. Custom Workflow Actions API-Functions - Get all functions for a given definition GET {{baseUrl}}/automation/v4/actions/:appId/:definitionId/functions