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 → Get Quick Replies
AI-generatedOverview
This node interacts with the WaliChat WhatsApp API to retrieve quick replies associated with a specified WhatsApp number. Quick replies are predefined message templates that can be used to speed up conversations by providing users with selectable response options.
Typical use cases include:
- Fetching available quick replies for a particular WhatsApp business number to display or manage them in an external system.
- Filtering quick replies based on scope, permissions, or creator agents to organize or audit message templates.
- Paginating through large sets of quick replies when managing many templates.
For example, a customer support platform could use this node to dynamically load quick replies relevant to a specific agent or chat context, improving response efficiency.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number from which to retrieve quick replies. |
| Filters | A collection of optional filters to narrow down the quick replies returned: |
| - Scope | Filter quick replies by definition scope; options: "WhatsApp Business Synced" or "Chat Created". |
| - Permissions | Filter quick replies by permission level; options: "Public", "Read-only", "Private". |
| - Agents | Filter quick replies created by specific agent IDs (multiple values allowed). |
| - Results Page Size | Maximum number of results per page (pagination control). |
| - Page Number | Page number to retrieve, starting from 0 (pagination control). |
Output
The node outputs JSON data representing the list of quick replies matching the specified criteria. Each item typically includes details such as the quick reply content, its scope, permissions, and metadata about its creation.
If binary data were involved (not indicated here), it would represent attachments or media related to quick replies, but this node focuses on JSON data only.
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.
- The "WhatsApp Number" must be valid and linked to the authenticated account.
- Pagination parameters require correct numeric input to function as expected.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number ID will cause the API call to fail.
- Incorrect filter values may result in empty responses or errors.
- Pagination parameters out of range might return no results or errors.
- Network or authentication failures will prevent data retrieval.
Error messages:
- Errors related to authentication usually indicate invalid or missing API credentials.
- "Resource not found" or similar errors suggest the WhatsApp number ID is incorrect or inaccessible.
- Validation errors on filters or pagination parameters indicate improper input formatting.
Resolutions:
- Verify the API key credential is correctly set up in n8n.
- Confirm the WhatsApp number ID exists and is active.
- Double-check filter values against allowed options.
- Ensure pagination numbers are zero or positive integers.
Links and References
- WaliChat Official API Documentation (hypothetical link)
- WhatsApp Business API Overview
- n8n Documentation on Creating Custom Nodes