z-api by @jaimeflneto icon

z-api by @jaimeflneto

Interact with Z-API to send WhatsApp messages

Overview

This node operation allows users to react to a specific WhatsApp message by sending an emoji reaction. It is useful in scenarios where automated or programmatic responses to messages are needed, such as acknowledging receipt, expressing emotions, or interacting with users in a conversational flow. For example, a customer support bot can react with a thumbs-up emoji to confirm a message was understood.

Use Case Examples

  1. Reacting to a message with a thumbs-up emoji to acknowledge it.
  2. Sending a heart emoji reaction to a message in a group chat to show appreciation.

Properties

Name Meaning
Phone Number The phone number of the WhatsApp user, including country code, used to identify the recipient of the reaction.
Message ID The unique identifier of the message to which the reaction will be added.
Reaction The emoji character used as the reaction to the specified message.

Output

JSON

  • messageId - The ID of the message that was reacted to.
  • reaction - The emoji reaction that was sent.
  • status - The status of the reaction operation, e.g., success or failure.

Dependencies

  • Requires an API key credential for Z-API to authenticate and interact with WhatsApp.

Troubleshooting

  • Ensure the phone number is in the correct format with country code and no formatting characters.
  • Verify the message ID is correct and corresponds to an existing message.
  • Check that the reaction emoji is valid and supported by WhatsApp.
  • Common errors may include authentication failures if the API key is invalid or missing, or errors indicating the message ID does not exist.

Discussion