n8n Webhook
A n8n Webhook Integration can be used to pass a JSON object to a simple n8n Webhook, including the values of agent variables.
Once defined, a n8n Webhook Integration can be utilised in multiple Stages (on-entry or on-exit) or Transitions.
Defining an n8n Webhook Integration
The n8n Integration Definition contains only boilerplate fields. Specific data fields are specified where the definition is used in your Agent, enabling specialization by context.
| Field | Details |
|---|---|
| Name | A descriptive name to help you distinguish this integration |
| n8n Webhook URL Secret | The iostack Secret containing the webhook URL provided by n8n. This must be preconfigured in the Account Secrets & Access Keys |
Using an n8n Webhook Integration
- From any Stage on-exit or on-entry Integration List or from a Transition, add a new blank Integration.
- Select your n8n Integration definition and specify field key/value pairs to be sent as a JSON object to these services.
- Embed variable values into your JSON values by typing ‘#’ and selecting the variable..