Hubapi Automation
Hubapi Automation is the HubSpot automation API for working with workflow and automation features in HubSpot.
- Base URL:
https://api.hubapi.com - Auth:
query:hapikey(pass your key via theapiKeyinput)
Operations
get_automation_v4_actions_appid_getpage— GET /automation/v4/actions/{appId} — Get all custom actionsget_automation_v4_actions_appid_definitionid_get— GET /automation/v4/actions/{appId}/{definitionId} — Get a custom actionget_automation_v4_actions_appid_definitionid_fun— GET /automation/v4/actions/{appId}/{definitionId}/functions — Get all custom action functionsget_automation_v4_actions_appid_definitionid_rev— GET /automation/v4/actions/{appId}/{definitionId}/revisions — Get all revisions for a custom actionpost_automation_v4_actions_callbacks_complete_co— POST /automation/v4/actions/callbacks/complete — Complete a batch of callbackspost_automation_v4_actions_callbacks_callbackid_— POST /automation/v4/actions/callbacks/{callbackId}/complete — Complete a callback
Inputs
apiKey— your hubapi-automation API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_automation_v4_actions_appid_getpage
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_automation_v4_actions_appid_getpage, get_automation_v4_actions_appid_definitionid_get, get_automation_v4_actions_appid_definitionid_fun, get_automation_v4_actions_appid_definitionid_rev, post_automation_v4_actions_callbacks_complete_co, post_automation_v4_actions_callbacks_callbackid_ |
appId |
string | no | — | Path parameter appId (required by some operations). |
callbackId |
string | no | — | Path parameter callbackId (required by some operations). |
definitionId |
string | no | — | Path parameter definitionId (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |