ZAPIN icon

ZAPIN

Interact with Zapin EVO

Chat → Read Messages

AI-generated

Overview

This node interacts with the Zapin EVO API to read chat messages from a specified contact. It is useful for scenarios where you need to retrieve specific messages from a chat instance, such as for message auditing, customer support, or chat history analysis. For example, you can use it to fetch a message by its ID from a particular contact in a given instance.

Use Case Examples

  1. Retrieve a message by its ID from a contact in a chat instance for customer support purposes.
  2. Fetch chat messages to analyze conversation history in a CRM integration.

Properties

Name Meaning
Instance Name The name of the chat instance from which to read messages.
Contact The contact number from which the message is to be read.
Message ID The unique identifier of the message to be read.
Message Is From Me Boolean indicating if the message was sent by the instance itself.

Output

JSON

  • messageId - The unique identifier of the retrieved message.
  • remoteJid - The contact number associated with the message.
  • fromMe - Indicates if the message was sent by the instance.
  • content - The content of the retrieved message.
  • timestamp - The time when the message was sent or received.

Dependencies

  • Requires an API key credential for authenticating with the Zapin EVO API.

Troubleshooting

  • Common issues include invalid or missing instance name, contact number, or message ID, which will result in errors from the API.
  • If the message ID does not exist or is incorrect, the node will fail to retrieve the message.
  • Ensure the API credentials are correctly configured to avoid authentication errors.

Links

Discussion