Actions29
- Chat Actions
- Contact Actions
- Group Actions
- Message Actions
- Status Actions
Message → Forward Messages
AI-generatedOverview
This node operation forwards WhatsApp messages from one chat to another using the Green API. It is useful for automating message forwarding tasks, such as redirecting customer inquiries from one chat to another or sharing important messages across different groups or contacts.
Use Case Examples
- Forwarding messages from a customer support chat to a sales team chat.
- Automatically sharing announcements from a group chat to individual contacts.
Properties
| Name | Meaning |
|---|---|
| Chat ID | The destination chat ID where the messages will be forwarded. For private chats, use the format phone@c.us; for group chats, use chatId@g.us. |
| Chat ID From | The source chat ID from which the messages are being forwarded. |
| Message IDs | Comma-separated list of message IDs to forward. |
| Override Credentials | Optional credentials override for this specific operation, allowing to specify a different instance ID and API token. |
Output
JSON
chatId- The destination chat ID where messages were forwarded.chatIdFrom- The source chat ID from which messages were forwarded.messages- Array of message IDs that were forwarded.result- Response from the Green API indicating the success or failure of the forwarding operation.
Dependencies
- Green API service
- API authentication token (API Token)
- Instance ID credential
Troubleshooting
- Ensure that the chat IDs are correctly formatted (e.g., phone@c.us for private chats and chatId@g.us for groups).
- Verify that the message IDs are valid and exist in the source chat.
- Check that the API token and instance ID credentials are correct and have the necessary permissions.
- Common error messages include failures to forward messages due to invalid IDs or authentication errors. Review the error message details and the data sent to the API for troubleshooting.