Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API, specifically supporting operations related to group management. The "Mensagens Temporárias" (Temporary Messages) operation under the "Grupo" (Group) resource allows users to configure ephemeral message settings for a specific group. This means you can enable or disable temporary messages in a group chat and set how long messages remain visible before they disappear automatically.

Practical scenarios include managing group chats where sensitive information is shared and should not persist indefinitely, such as support groups, event planning chats, or confidential team discussions. By setting expiration times, administrators can ensure messages are automatically deleted after a certain period, enhancing privacy and reducing clutter.

Properties

Name Meaning
Nome Da Instância The name of the instance to connect to the Evolution API.
ID Do Grupo The unique identifier of the group where ephemeral message settings will be configured.
Expiração The duration for which messages remain visible before disappearing. Options:
- Desativado (Disabled)
- 24 Horas (24 Hours)
- 7 Dias (7 Days)
- 90 Dias (90 Days)

Output

The node outputs a JSON array containing the result of the ephemeral message configuration operation. The exact structure depends on the Evolution API response but typically includes confirmation of the updated settings or error details if the operation failed.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.
  • The node expects the Evolution API base URL https://doc.evolution-api.com/api-reference.
  • Proper configuration of the API authentication within n8n credentials is necessary.

Troubleshooting

  • Common Issues:

    • Invalid or missing instance name or group ID will cause the operation to fail.
    • Incorrect API credentials or expired tokens will prevent successful communication with the Evolution API.
    • Unsupported operation or resource names will throw an error indicating the operation is not supported.
  • Error Messages:

    • "Operação não suportada." indicates that the selected operation-resource combination is not implemented. Verify the resource and operation names.
    • API errors returned from the Evolution API may include authentication failures or invalid parameters; check credentials and input values accordingly.

Links and References

Discussion