WAHA

Connect with Whatsapp HTTP API

Actions116

Overview

This node operation forwards a message in a chat session. It is useful in scenarios where you want to programmatically forward messages from one chat to another, such as in customer support automation, message routing, or chatbots that need to relay information.

Use Case Examples

  1. Forward a message from one user to another in a customer support chat system.
  2. Automatically forward important notifications received in a chat to a different chat or group.

Properties

Name Meaning
Session The chat session identifier used to specify which session the message belongs to.
Chat Id The identifier of the chat where the message will be forwarded to.
Message Id The identifier of the message to be forwarded.
Request Options Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration.

Output

JSON

  • success - Indicates if the message forwarding was successful.
  • forwardedMessageId - The identifier of the newly forwarded message.
  • error - Details of any error encountered during the forwarding process.

Dependencies

  • Requires an API key credential or authentication token to access the chat service API.

Troubleshooting

  • Common issues include invalid session, chat ID, or message ID resulting in failure to forward the message.
  • Timeout errors if the server does not respond within the configured timeout period.
  • SSL certificate validation errors if the server's SSL certificate is invalid or untrusted, which can be bypassed by enabling the 'Ignore SSL Issues' option.

Discussion