WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Quick replies → Create Quick Reply

AI-generated

Overview

This node integrates with the WaliChat WhatsApp API to create quick reply shortcuts for WhatsApp numbers. Quick replies are predefined message templates that can be triggered by shortcut keywords, enabling faster and more consistent communication. This is particularly useful for customer support teams or businesses that want to automate common responses on WhatsApp.

For example, a business could create a quick reply with the shortcut "hours" that sends their opening hours as a message, or a shortcut "promo" that shares details about a current promotion. Including media files like images or documents with quick replies is also supported.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number where the quick reply will be created.
Shortcut A keyword (2-25 characters) that triggers the quick reply.
Message The content of the quick reply message (4-6000 characters).
Permission Access level for the quick reply: Public, Read-only, or Private.
Include Media File Whether to attach a media file to the quick reply (true/false).
File ID The 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.

Output

The node outputs JSON data representing the result of the quick reply creation operation. This typically includes confirmation details such as the created quick reply's ID, shortcut, message content, permissions, and any attached media file information.

If media files are included, the output references the attached file but does not output binary data directly.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n for authentication.
  • The WhatsApp number and media files must already exist in the WaliChat system (media files must be uploaded beforehand).

Troubleshooting

  • Missing Required Fields: Ensure all required properties like WhatsApp Number, Shortcut, and Message are provided.
  • Invalid Shortcut Length: Shortcut must be between 2 and 25 characters; otherwise, the API may reject the request.
  • Media File Issues: If including a media file, ensure the File ID is valid and corresponds to an uploaded file.
  • Permission Errors: Setting inappropriate permission values might cause access issues; use only Public, Read-only, or Private.
  • API Authentication Failures: Verify that the API key credential is correctly set up and has necessary permissions.
  • Rate Limits or API Errors: Handle errors gracefully; enable "Continue On Fail" in n8n to avoid workflow interruption.

Links and References

Discussion