Integração N8N
Integração N8N
Section titled “Integração N8N”Habilitar N8N no ZapSim
Section titled “Habilitar N8N no ZapSim”Passo 1 — Ativar globalmente
Section titled “Passo 1 — Ativar globalmente”- Painel Admin → Configurações → Bots e IA → N8N
- Ativar “Ativar integração com N8N”
Passo 2 — Configurar em um Canal
Section titled “Passo 2 — Configurar em um Canal”- Editar o canal → Aba N8N
- Preencher URL do webhook N8N
Como Funciona
Section titled “Como Funciona”Quando uma mensagem chega no ZapSim, ele envia os dados para o webhook N8N configurado.
Payload Enviado ao N8N
Section titled “Payload Enviado ao N8N”{ "event": "message", "ticketId": 456, "contactId": 123, "contactName": "João Silva", "contactNumber": "5511999999999", "body": "Texto da mensagem"}Responder via N8N
Section titled “Responder via N8N”POST https://{backend}/v2/api/external/{ApiID}Authorization: Bearer {token}
{ "number": "5511999999999", "body": "Resposta automática via N8N"}Próximos Passos
Section titled “Próximos Passos”- Integração IA — Adicione ChatGPT, Claude, etc
- Webhooks — Configure webhooks externos