Actions64
- Instance Actions
- Chat Actions
- Message Actions
- Group Actions
- Profile Actions
- Event Actions
- Integration Actions
Overview
The node provides an interface to interact with the Evolution API, specifically allowing operations on various resources. For the "Group" resource and the "Toggle Ephemeral Messages" operation, it enables users to configure ephemeral message settings in a specified group. This means you can set how long messages remain visible before they disappear automatically.
This functionality is useful for managing group chat environments where message retention policies are important, such as temporary discussions, privacy-focused groups, or compliance with data retention rules. For example, a user might want to enable ephemeral messages that expire after 24 hours to ensure conversations do not persist indefinitely.
Properties
| Name | Meaning |
|---|---|
| Instance Name | The name of the Evolution API instance to use for this operation. |
| Group ID | The unique identifier of the group where ephemeral message settings will be configured. |
| Expiration | The duration after which messages will expire and be deleted automatically. Options: Disabled (0), 24 Hours (86400 seconds), 7 Days (604800 seconds), 90 Days (7776000 seconds). |
Output
The node outputs a JSON array containing the result of the toggle ephemeral messages operation. The exact structure depends on the Evolution API response but generally includes confirmation of the updated ephemeral message setting for the specified group.
No binary data output is indicated by the source code.
Dependencies
- Requires an active connection to the Evolution API.
- Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The base URL for API requests is
https://doc.evolution-api.com/api-reference.
Troubleshooting
- Unsupported operation error: If the node throws an error stating the operation is unsupported, verify that the resource and operation names are correctly set to "groups-api" and "toggle-ephemeral" respectively.
- Authentication errors: Ensure the API key or token credential is valid and has sufficient permissions.
- Invalid Group ID: Providing an incorrect or non-existent group ID may cause the API to return errors; double-check the group identifier.
- Expiration value issues: Only the predefined expiration options are accepted; using other values may lead to request failures.
Links and References
- Evolution API Documentation (official API reference for detailed endpoint information)