WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Quick replies → Delete Quick Replies

AI-generated

Overview

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

Discussion