Evolution API icon

Evolution API

Interact with Evolution API

Actions114

Chat → Find Chats

AI-generated

Overview

This node interacts with the Evolution API to find chat messages based on specified criteria. It is useful for retrieving chat data from a particular instance, filtering by contact and message ID, and supports pagination to manage large sets of chat records. For example, it can be used to fetch chat history for a specific contact in a customer support system or to analyze chat interactions in a messaging application.

Use Case Examples

  1. Retrieve chat messages from a specific instance by providing the instance name, contact number, and message ID.
  2. Paginate through chat messages by specifying the page number and the number of chats per page.

Properties

Name Meaning
Instance Name The name of the instance from which to retrieve chat messages.
Contact The contact number to filter the chat messages.
Message ID The specific message ID to find within the chats.
Page The page number for paginated results.
Quantity Per Page The number of chat messages to retrieve per page.

Output

JSON

  • chatId - Unique identifier of the chat message.
  • contact - Contact number associated with the chat message.
  • messageId - Identifier of the specific message found.
  • timestamp - Timestamp when the chat message was sent or received.
  • content - Content of the chat message.

Dependencies

  • Evolution API service
  • An API key credential for authentication

Troubleshooting

  • Ensure the instance name, contact number, and message ID are correctly provided and exist in the Evolution API system.
  • Check API credentials and permissions if authentication errors occur.
  • Verify pagination parameters to avoid out-of-range errors.

Links

Discussion