Quepasa (Whatsapp) icon

Quepasa (Whatsapp)

Non Official Whatsapp API

Overview

This node sends WhatsApp messages using the Quepasa API. It supports sending various types of messages including text, attachments in base64, binary data, and URLs. It is useful for automating WhatsApp communications such as sending notifications, media files, or replies in chat applications.

Use Case Examples

  1. Sending a simple text message to a WhatsApp chat or phone number.
  2. Sending an image or document as a base64 encoded attachment.
  3. Sending a file from binary data stored in the workflow.
  4. Sending a message with an attachment by providing a URL to the file.

Properties

Name Meaning
Authentication Selects the authentication method to use, either parameters-based or predefined credentials.
BaseUrl The base URL of the Quepasa API endpoint, required if using parameters authentication.
Token The token of the WhatsApp bot used for authentication, required if using parameters authentication.
Message ID Optional identifier for the message, used for checking status, revoking, or editing messages after sending.
Method The method to send the message, such as sending any type, base64 attachment, binary attachment, URL attachment, or text message.
Binary Property The name of the binary property containing the file data to be sent, required when sending binary attachments.
Text The text content of the message to send.
Chat ID The destination chat identifier, which can be a group chat ID or an E164 phone number.
BASE64 Content Base64 encoded content of the attachment to send, required for base64 attachment method and optional for others.
Url URL of the attachment to send, required for URL attachment method and optional for others.
File Name Optional file name and extension for the attachment, auto-generated if not provided.
MIME Optional MIME type of the attachment.
File Length Optional size in bytes of the attachment content.
Track ID Optional system identifier to avoid sending duplicate messages.
In Reply To Optional message ID to indicate this message is a reply to another message.

Output

JSON

  • messageId - Identifier of the sent message.
  • status - Status of the message sending operation.
  • error - Error message if sending failed.

Dependencies

  • Quepasa API

Troubleshooting

  • Ensure the BaseUrl and Token are correctly set when using parameters authentication.
  • Check that the Chat ID is valid and formatted correctly as a group ID or E164 phone number.
  • If sending binary data, verify the binary property name matches the input data property.
  • Common errors include authentication failures, invalid message formats, or network issues. Verify credentials and API availability.

Links

Discussion