Actions15
- Instância Actions
- Mensagem Actions
- Botões Actions
- Webhook Actions
Instância → Criar
AI-generatedSummary
Creates a new W-api WhatsApp instance with the given name by sending a POST request to the configured W-api server's /instance/create endpoint.
Inputs
- Nome da Instância (instanceName) (required) — Unique name for the new instance (e.g. 'minha-loja'). Sent as
instanceNamein the JSON body. It is evaluated per input item, so each item can create a different instance.
Output shape
One output item per input item, with json set to the raw response body from the W-api create endpoint.
The response fields are not defined in the node, so they depend on the W-api server. Authentication uses the
apikeyheader from the wapiApi credentials (baseUrl and apiKey). If 'Continue On Fail' is enabled, a failed item returns{ error: message }instead of stopping the workflow.
Examples
Example 1: Provision a WhatsApp instance for a new customer.
Resource: Instância; Operation: Criar; Nome da Instância: {{ $json.storeSlug }}. Follow with the Conectar operation to get the QR code.