WAHA icon

WAHA

Connect with Whatsapp HTTP API

Overview

This node operation allows users to follow a WhatsApp Channel by specifying the session and the WhatsApp Channel ID. It is useful for automating interactions with WhatsApp Channels, such as subscribing to updates or managing channel memberships programmatically.

Use Case Examples

  1. Automatically follow a WhatsApp Channel when a new user signs up.
  2. Batch follow multiple WhatsApp Channels with controlled request intervals to avoid rate limits.

Properties

Name Meaning
Session The name of the session to use for the WhatsApp connection.
Id The WhatsApp Channel ID to follow.
Request Options Advanced HTTP request options including batching, SSL certificate handling, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates if the follow operation was successful.
  • channelId - The ID of the WhatsApp Channel that was followed.
  • message - Additional information or status message from the follow operation.

Dependencies

  • Requires an active WhatsApp session and connection credentials to authenticate requests.

Troubleshooting

  • Ensure the session name is correct and active; otherwise, the node cannot connect to WhatsApp.
  • Verify the WhatsApp Channel ID is valid and accessible.
  • If using batching, adjust batch size and interval to avoid rate limiting or timeouts.
  • If SSL errors occur, consider enabling 'Ignore SSL Issues' only if safe to do so.
  • Check proxy settings if requests fail to reach the server.
  • Timeout errors indicate the server did not respond in time; increase timeout if necessary.

Discussion