z-api by @jaimeflneto icon

z-api by @jaimeflneto

Interact with Z-API to send WhatsApp messages

Overview

This node interacts with the Z-API service to send WhatsApp messages, specifically supporting the sending of polls as one of its operations. It is useful for automating WhatsApp communication, such as sending interactive polls to users for feedback or engagement. For example, a business can use this node to send a poll asking customers to choose their favorite product option.

Use Case Examples

  1. Sending a poll to a customer phone number with a question and multiple options to choose from.
  2. Automating customer feedback collection via WhatsApp polls.

Properties

Name Meaning
Phone Number The recipient's phone number including country code, formatted as numbers only without any special characters or spaces.
Poll Name The question or title of the poll to be sent.
Poll Options Comma-separated list of options that the poll will present to the recipient.
Options Additional optional settings for the message such as typing delay, message delay, and reply message ID.

Output

JSON

  • json - The JSON response from the Z-API service after sending the poll message, containing details about the sent message and status.

Dependencies

  • Z-API service for WhatsApp messaging
  • An API key credential for authenticating with Z-API

Troubleshooting

  • Ensure the phone number is correctly formatted with country code and contains only numbers to avoid validation errors.
  • Verify that the poll options are provided as a comma-separated string without empty options.
  • Check API credentials and network connectivity if the message sending fails.
  • Common error messages may include invalid phone number format, missing required parameters, or authentication failures. Resolving these involves correcting input data and verifying API credentials.

Links

Discussion