Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to manage group-related functionalities, specifically focusing on toggling temporary messages in groups. It allows users to enable or disable ephemeral messages in a specified group, setting the message expiration time to predefined durations such as 24 hours, 7 days, or 90 days. This is useful for scenarios where message retention policies are important, such as in secure communications or temporary group discussions.

Use Case Examples

  1. Enable temporary messages in a group for 24 hours to ensure messages are automatically deleted after a day.
  2. Disable temporary messages in a group to retain all messages indefinitely.
  3. Set temporary messages to expire after 7 days for a weekly discussion group.

Properties

Name Meaning
Instance Name The name of the Evolution API instance to connect to.
Group ID The unique identifier of the group where temporary messages settings will be applied.
Expiration The duration after which messages in the group will expire, with options to disable or set specific time intervals (24 hours, 7 days, 90 days).

Output

JSON

  • success - Indicates whether the operation to toggle temporary messages was successful.
  • message - A descriptive message about the result of the operation.

Dependencies

  • Requires an API key credential for the Evolution API to authenticate requests.

Troubleshooting

  • Ensure the provided Group ID is correct and the group exists in the Evolution API instance.
  • Verify that the API key credential is valid and has the necessary permissions to modify group settings.
  • If the operation is unsupported or the function for the resource-operation combination is missing, check for updates or correct operation names.

Links

  • Evolution API Documentation - Official documentation for the Evolution API, including details on group management and temporary message settings.

Discussion