Green API icon

Green API

Send WhatsApp messages via Green API

Message → Forward Messages

AI-generated

Overview

This node operation forwards one or more WhatsApp messages from a specified source chat to a target chat using the Green API. It is useful for automating message forwarding tasks, such as sharing important messages or notifications from one chat to another without manual intervention.

Use Case Examples

  1. Forwarding customer support messages from a group chat to a private chat for individual follow-up.
  2. Automatically forwarding alerts or updates from a monitoring chat to a team chat.

Properties

Name Meaning
Chat ID The target chat ID where the messages will be forwarded. Use phone@c.us for private chats or chatId@g.us for group chats.
Chat ID From The source chat ID from which the messages are being forwarded. Use phone@c.us format.
Message IDs Comma-separated list of message IDs to forward from the source chat to the target chat.

Output

JSON

  • sent - Indicates the result of the forward messages request, typically including success status and details.

Dependencies

  • Requires Green API credentials including instance ID and API token for authentication.

Troubleshooting

  • Ensure that the chat IDs are correctly formatted and valid (e.g., phone@c.us for private chats).
  • Verify that the message IDs exist in the source chat and are accessible.
  • Check that the Green API credentials (instance ID and API token) are correctly configured and active.
  • Common error messages include failures to forward messages due to invalid IDs or network issues; verify the data sent and retry if necessary.

Links

Discussion