Actions148
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Team Actions
- Labels Actions
- Departments Actions
- Files Actions
- Quick replies Actions
- Queue Actions
- WhatsApp session Actions
- WhatsApp profile Actions
- Business catalog Actions
- Campaigns Actions
- Meeting Links Actions
- User Status Actions
- Webhooks Actions
- Other Actions
Queue → Route Queue
AI-generatedOverview
This node integrates with the WaliChat WhatsApp API to perform various operations related to WhatsApp messaging and management. Specifically, for the Queue resource and the Route Queue operation, it allows rerouting queued WhatsApp messages from one WhatsApp number (device) to another target WhatsApp number (device). This is useful in scenarios where message queues need to be dynamically redirected, such as load balancing between multiple WhatsApp numbers or transferring message handling responsibilities.
Practical examples:
- A customer support team wants to redirect all pending messages from one WhatsApp number to another due to maintenance or shift changes.
- Automatically reroute queued messages to a backup WhatsApp number if the primary device is offline.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the source WhatsApp number/device whose queue messages are to be rerouted. |
| Target WhatsApp Number ID | The ID of the target WhatsApp number/device to which the queued messages will be routed. |
Both properties expect a selection from available WhatsApp devices loaded dynamically via the method getDevices. The IDs are 24-character hexadecimal values representing specific WhatsApp numbers/devices.
Output
The node outputs JSON data representing the result of the queue routing operation. This typically includes confirmation details about the rerouting action performed by the WaliChat API.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authenticating with the WaliChat WhatsApp API.
- The node depends on the WaliChat API service being accessible and properly configured.
- Dynamic loading of WhatsApp devices requires the API to provide device information.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp device IDs can cause failures in rerouting.
- Network or authentication errors with the WaliChat API may prevent successful execution.
- If the target device is not available or offline, rerouting might fail or be delayed.
Error messages:
- Errors related to invalid device IDs usually indicate incorrect property selection; verify the WhatsApp numbers chosen.
- Authentication errors suggest checking the API key credential configuration.
- API connectivity errors require ensuring network access and correct endpoint URLs.
Links and References
- WaliChat WhatsApp API Documentation (example placeholder, replace with actual URL if known)
- n8n documentation on Creating Custom Nodes