Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to manage chat archives. It allows users to archive or unarchive conversations for a specified contact within an instance. This is useful for organizing chat histories, decluttering active chat lists, or restoring archived conversations when needed.

Use Case Examples

  1. Archiving a conversation with a specific contact to keep the chat list clean.
  2. Unarchiving a conversation to resume interaction or review past messages.

Properties

Name Meaning
Instance Name The name of the instance where the chat is managed, used to identify the specific environment or account.
Contact The contact number whose chat conversation is to be archived or unarchived.
Action Determines whether to archive or unarchive the conversation.
Message ID The ID of the last message in the conversation, used to identify the specific chat state.
Message Is From Me Indicates if the last message was sent by the instance, helping to determine message ownership.

Output

JSON

  • status - The status of the archive operation, indicating success or failure.
  • message - A message providing additional information about the result of the archive or unarchive action.

Dependencies

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

Troubleshooting

  • Ensure the instance name and contact number are correctly specified to avoid errors related to invalid or missing identifiers.
  • Verify that the message ID corresponds to a valid message in the conversation to prevent operation failures.
  • Check API authentication credentials if the node returns authorization errors.

Links

Discussion