Applies to
Inbound webhooks utility function
With inbound webhooks, you can generate and expose webhook endpoints to trigger workflows or actions on Bridge.
The Inbound Webhook Utility is currently only compatible with JSON payload objects.
Triggers
Workflow triggers
Workflow triggers are a list of preset workflow triggers you can use to run a Bridge workflow.
When you use workflow triggers, you don't need to specify the request body or headers. Just select the workflow and preset state values to generate a request URL. Any requests to this URL start the defined workflow, passing any request body data to the workflow. The request data is available using the {{runtime}} handlebar reference.
Each trigger has a unique URL that contains a UID, so we know what trigger has been requested.
This solution doesn't support webhooks that include a challenge request.
Advanced triggers
Advanced triggers let you determine what workflows to trigger using a single endpoint.
Use advanced triggers if:
- You need to be more flexible with what workflows to trigger and
- You can set the request body and headers.
Secret
When registering the extension, you can specify a secret that should be passed as the value for the Inbound-Webhook-Secret header. This header should be passed for any calls to the extension webhooks.
A random UUID is generated if you don't specify a secret.
Workflow Request URL
- This URL is unique to each workspace and is generated when you set up the extension.
- Use this URL to make a structured request to run one or more Bridge workflows.