Calling real time workflows from HubSpot
Last updated
Was this helpful?
Using HubSpot's Send a webhook workflow action, you can call Middle in real-time to execute a synchronous workflow and provide a response to HubSpot.
This allows you to integrate Middle's integrations and flexibility into your HubSpot workflows
Configure your Send a webhook step as follows:
Select POST. The endpoint to run a workflow in Middle is a POST endpoint.
The Invoke URL from your real-time workflow API endpoint.
It will look something like this:
https://integrate.middle.app/api/workflow-invoke/239j4023r2323rimno32r/
Select API Key.
Click to create a new HubSpot secret. Enter the API key for the relevant Middle account with "Bearer " prefixed to the key.
If your API key is 1234abcd56789efghij then you'd enter Bearer 239j4023r2323rimno32r.
Select Request header.
Build out the properties and static values for your request to match the input variables in the begin step of the workflow you want to call.
If you receive a 401 response from Middle, ensure that you correctly filled out the inputs in the previous step. Ensure that you prefixed your Middle API key with "Bearer " when creating your HubSpot secreat.
If Middle returns a 404, make sure the webhook URL matches the Invoke URL in the real-time trigger for your Middle workflow.
Last updated
Was this helpful?
Was this helpful?

