Evolution API icon

Evolution API

Interact with Evolution API

Overview

This node interacts with the Evolution API to perform operations related to chat data. Specifically, the 'Find Chats' operation allows users to retrieve chat messages from a specified instance and contact, supporting pagination to manage large datasets. This is useful for scenarios where users need to access historical chat messages for analysis, customer support, or record-keeping.

Use Case Examples

  1. Retrieve chat messages from a specific contact in a given instance for customer support review.
  2. Paginate through chat messages to analyze conversation trends over time.

Properties

Name Meaning
Instance Name The name of the instance from which to retrieve chat messages.
Contact The contact number whose chat messages are to be retrieved.
Message ID The specific message ID to find within the chat.
Page The page number for paginated results to specify which set of messages to retrieve.
Quantity Per Page The number of chat messages to retrieve per page in the paginated results.

Output

JSON

  • chats - Array of chat messages retrieved from the specified instance and contact.
  • page - Current page number of the paginated chat results.
  • offset - Number of chat messages returned per page.

Dependencies

  • Requires an API key credential for authenticating with the Evolution API.

Troubleshooting

  • Ensure the instance name and contact number are correctly specified to avoid empty or failed responses.
  • Verify that the message ID exists within the specified chat to prevent errors.
  • Check API authentication credentials if the node fails to connect or returns authorization errors.
  • Pagination parameters (page and quantity per page) should be within valid ranges to avoid unexpected results.

Discussion