WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Chats → Delete Chat Note

AI-generated

Overview

This node interacts with the WaliChat WhatsApp API, specifically allowing management of chat notes among other WhatsApp-related operations. The "Delete Chat Note" operation under the "Chats" resource enables users to delete one or more notes associated with a specific WhatsApp chat. This is useful for cleaning up outdated or irrelevant notes attached to conversations.

Practical scenarios include:

  • Removing obsolete internal comments or reminders from a customer support chat.
  • Deleting notes that were added by mistake or are no longer relevant to ongoing communication.
  • Automating cleanup of chat metadata as part of workflow processes.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the chat originates. This identifies the WhatsApp account.
Chat ID The unique identifier of the chat where the note(s) exist. Examples: 447362053576@c.us for individual chats, 44736205357600000000@g.us for group chats.
Note IDs One or multiple IDs of the notes to be deleted from the specified chat.

Output

The output JSON contains the result of the delete operation. Typically, this will confirm successful deletion or provide details about any errors encountered during the process.

No binary data output is involved in this operation.

Dependencies

  • Requires an active connection to the WaliChat WhatsApp API.
  • Needs an API key credential configured in n8n to authenticate requests.
  • The node depends on the internal method handling for chat operations within the WaliChat integration.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number/device ID can cause failures.
    • Incorrect chat ID format or non-existent chat may lead to errors.
    • Providing invalid or non-existent note IDs will prevent deletion.
    • Network or authentication issues with the WaliChat API can block the operation.
  • Error messages and resolutions:

    • "Invalid device ID": Verify the WhatsApp number selected is correct and linked to your WaliChat account.
    • "Chat not found": Confirm the chat ID is accurate and corresponds to an existing chat.
    • "Note ID(s) not found": Check that the note IDs provided exist in the chat.
    • Authentication errors: Ensure the API key credential is valid and has necessary permissions.

Links and References


If you need details on other operations or resources, feel free to ask!

Discussion