Actions15
- Instância Actions
- Mensagem Actions
- Botões Actions
- Webhook Actions
Webhook → Configurar
AI-generatedSummary
Registers a webhook URL on a W-api WhatsApp instance so the instance sends its events to that URL. Sends a POST to /webhook/set/{instanceName} using the node's wapiApi credentials.
Inputs
- instanceName (required) — Name of the W-api instance to configure (e.g.
minha-loja). It is inserted into the request path. - webhookUrl (required) — URL that will receive the instance's events (e.g.
https://seu-site.com/webhook). It is sent as{ webhook: { url } }.
Output shape
One output item per input item. Its json is the raw response body from the W-api /webhook/set/{instanceName} endpoint.
The node doesn't shape the response, so its fields depend on the API. The request runs once per input item. With Continue On Fail enabled, a failed item returns
{ error: message }instead of stopping the workflow. The operation sends only the URL. It has no event selection or other webhook options.
Examples
Example 1: Point a store's WhatsApp instance at an n8n Webhook trigger so incoming messages start a workflow.
Resource: Webhook; Operation: Configurar; Instance name: minha-loja; Webhook URL: the production URL of your n8n Webhook node.