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 → Delete Quick Replies
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API to delete quick replies associated with a specified WhatsApp number. Quick replies are predefined message templates or shortcuts that can be used to respond quickly in chats. The node supports two deletion methods: deleting all quick replies at once or deleting specific quick replies by their ID or shortcut.
Practical scenarios include:
- Cleaning up outdated or irrelevant quick replies from a WhatsApp business account.
- Managing quick replies dynamically based on campaign or customer service needs.
- Automating maintenance of quick reply lists to keep them relevant and concise.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) for which the quick replies will be deleted. |
| Delete Method | Method to use for deleting quick replies. Options: "Delete All Quick Replies", "Delete by ID or Shortcut". |
| Items to Delete | When using "Delete by ID or Shortcut" method, specify one or more items to delete. Each item requires: - Type: Identifier type ("ID" or "Shortcut") - ID: The ID of the quick reply to delete (if type is ID) - Shortcut: The shortcut string of the quick reply to delete (if type is Shortcut) |
Output
The output JSON contains the result of the delete operation(s). Typically, it will confirm successful deletion or provide error details if the operation failed. The structure depends on the API response but generally includes status information about the deleted quick replies.
No binary data output is expected from this node.
Dependencies
- Requires an active connection to the WaliChat WhatsApp API.
- Needs an API key credential configured in n8n for authentication with the WaliChat service.
- The node relies on the WaliChat API's endpoints for managing quick replies.
Troubleshooting
Common Issues:
- Invalid WhatsApp number ID: Ensure the device ID corresponds to a valid WhatsApp number registered in WaliChat.
- Incorrect quick reply IDs or shortcuts: Verify that the identifiers provided exist and are correctly typed.
- API authentication errors: Confirm that the API key credential is valid and has necessary permissions.
- Network or connectivity issues with the WaliChat API.
Error Messages:
- Errors returned from the API will be included in the output JSON under an error field if "Continue On Fail" is enabled.
- Authentication failures typically indicate invalid or missing API credentials.
- Not found errors suggest the quick reply ID or shortcut does not exist.
To resolve these, verify input parameters, check API credentials, and ensure network connectivity.
Links and References
- WaliChat Official API Documentation (example placeholder link)
- n8n Documentation on Creating Custom Nodes
- WhatsApp Business API Concepts on Quick Replies: https://developers.facebook.com/docs/whatsapp/api/messages/message-templates#quick-replies