Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node, named "Evolution API," is designed to interact with the Evolution API service. It supports various resources and operations, including an integration resource with a specific operation called "Chatwoot." The Chatwoot operation allows users to either configure (activate/deactivate) or verify the Chatwoot integration for a given instance.

Typical use cases include:

  • Enabling or disabling Chatwoot integration for messaging workflows.
  • Verifying the current status of Chatwoot integration.
  • Managing Chatwoot settings such as importing contacts, messages, and configuring inboxes automatically.

For example, a user might enable Chatwoot integration to route customer support messages through Chatwoot, import historical messages for context, or set conversations to start as pending.

Properties

Name Meaning
Nome Da Instancia The name of the instance that will send the message.
O Que Deseja Fazer Choose between activating/deactivating Chatwoot ("Definir Chatwoot") or verifying Chatwoot ("Verificar Chatwoot").
Ativar Chatwoot Enable or disable the integration with Chatwoot (boolean).
Link Do Chatwoot The URL link to the Chatwoot instance.
ID Da Conta Do Chatwoot The account ID in Chatwoot.
Token De Admin Do Chatwoot The admin token for authenticating with Chatwoot (password type).
Assinatura Do Agente Do Chatwoot Enable or disable the Chatwoot agent signature (boolean).
Reabrir Mensagens No Chatwoot Enable or disable reopening messages in Chatwoot (boolean).
Iniciar Conversas Como Pendentes No Chatwoot Whether to start conversations as pending in Chatwoot (boolean).
Importar Contatos Para O Chatwoot Enable or disable importing contacts into Chatwoot (boolean).
Nome Da Inbox Do Chatwoot Optional: Name of the Chatwoot inbox.
Mesclar Contatos Brasileiros No Chatwoot Enable or disable merging Brazilian contacts in Chatwoot (boolean).
Importar Mensagens Para O Chatwoot Enable or disable importing messages into Chatwoot (boolean).
Importar Mensagens De Quantos Dias Para O Chatwoot Optional: Number of days to limit message import into Chatwoot (number).
Criar Caixa De Entrada Enable or disable automatic creation of inbox (boolean).
Nome Do Contato De QRCode No Chatwoot Optional: Name of the QR code contact in Chatwoot.
Url Do Logo Para O Contato No Chatwoot Optional: URL of the logo for the contact in Chatwoot.

Output

The node outputs JSON data representing the result of the requested operation on the Evolution API, specifically related to the Chatwoot integration. This output typically includes confirmation of the action performed (e.g., activation status), details about the Chatwoot configuration, or verification results.

No binary data output is indicated by the source code or properties.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects proper configuration of the Evolution API credentials within n8n.
  • The Chatwoot integration requires valid Chatwoot URLs, account IDs, and admin tokens provided as input properties.

Troubleshooting

  • Common Issues:

    • Missing or invalid API credentials can cause authentication failures.
    • Incorrect Chatwoot URL, account ID, or admin token will prevent successful integration setup.
    • Attempting unsupported operations or resources will throw errors.
  • Error Messages:

    • "Operação não suportada." indicates the selected operation is not supported for the chosen resource. Verify that the resource and operation names are correct.
    • Authentication errors may occur if the API key or Chatwoot token is invalid or expired.
  • Resolutions:

    • Double-check all required input fields, especially URLs, IDs, and tokens.
    • Ensure the API key credential is correctly configured in n8n.
    • Use the "Verificar Chatwoot" operation to test connectivity before setting configurations.

Links and References

Discussion