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
Quick replies → Update Quick Reply
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API to update an existing quick reply associated with a WhatsApp number. Quick replies are predefined message templates that can be triggered by shortcut keywords, enabling faster and consistent responses in WhatsApp conversations.
Typical use cases include:
- Customer support teams updating canned responses to reflect new information or promotions.
- Marketing teams managing quick replies for campaigns.
- Automating updates of quick replies when workflows require dynamic content changes.
For example, a user might update a quick reply shortcut "hours" to change the message content about business hours or attach a new media file like an image or PDF.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number where the quick reply belongs. |
| Shortcut | Shortcut keyword (2-25 characters) used to trigger the quick reply. |
| Message | The text content of the quick reply (4-6000 characters). |
| Permission | Access level for the quick reply: Public, Read-only, or Private. |
| Include Media File | Whether to attach a media file with the quick reply (true/false). |
| File ID | ID of a previously uploaded media file to attach (required if including a media file). |
| Keywords | Optional list of up to 3 alphanumeric keywords associated with the quick reply. |
| Quick Reply ID | The unique identifier of the quick reply to update (24 character hex string). |
Output
The node outputs JSON data representing the result of the update operation on the quick reply. This typically includes confirmation details such as the updated quick reply's ID, shortcut, message content, permissions, attached media info, and any metadata returned by the WaliChat API.
If a media file is included, the output may reference the attached file but does not output binary data directly.
Dependencies
- Requires an active connection to the WaliChat WhatsApp API via an API key credential configured in n8n.
- The node depends on the availability of WhatsApp numbers and previously uploaded media files within the WaliChat system.
- Load options methods (
getDevicesfor WhatsApp numbers andgetFilesfor media files) are used to populate dropdowns dynamically.
Troubleshooting
- Missing or invalid Quick Reply ID: Ensure the provided quick reply ID exists and is correctly formatted (24-character hex).
- Invalid shortcut length: Shortcut must be between 2 and 25 characters; otherwise, the API may reject the request.
- Message length issues: Messages shorter than 4 or longer than 6000 characters may cause errors.
- File attachment errors: If including a media file, ensure the file ID is valid and the file has been uploaded previously.
- Permission errors: Setting an unsupported permission value may lead to access issues.
- API authentication failures: Verify that the API key credential is correctly set up and has necessary permissions.
- Network or API downtime: Temporary connectivity issues with the WaliChat API can cause failures; retry or check service status.
Links and References
- WaliChat Official API Documentation (example placeholder)
- n8n Documentation on Creating Custom Nodes
- WhatsApp Business API concepts on quick replies and message templates (for general understanding)