WaliChat icon

WaliChat

Interact with WaliChat WhatsApp API

Actions148

Chat Messages → Get Message Details

AI-generated

Overview

This node interacts with the WaliChat WhatsApp API to retrieve detailed information about specific chat messages. The "Get Message Details" operation under the "Chat Messages" resource allows users to fetch comprehensive data about a particular WhatsApp message by specifying the WhatsApp number and the message ID.

Common scenarios where this node is beneficial include:

  • Auditing or reviewing message content and metadata for customer support conversations.
  • Fetching message status or delivery details for analytics or reporting.
  • Integrating WhatsApp message details into CRM or helpdesk systems for enhanced context.

Practical example:

  • A support team wants to automatically pull detailed information about a customer's last message to better understand the conversation history before responding.

Properties

Name Meaning
WhatsApp Number The ID of the WhatsApp number (device) from which the message was sent or received.
Message ID The unique WhatsApp hexadecimal ID of the message whose details are to be retrieved.

Output

The output JSON contains detailed information about the specified WhatsApp message. This typically includes message content, sender and receiver details, timestamps, message status, and any other metadata provided by the WaliChat API related to that message.

If the node supports binary data output (not explicitly shown in the code), it would represent media attachments or files associated with the message.

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 depends on internal modules handling chat message operations within the WaliChat integration.

Troubleshooting

  • Common issues:

    • Invalid or missing WhatsApp number or message ID parameters will cause errors.
    • Network connectivity problems or invalid API keys can lead to authentication failures.
    • If the message ID does not exist or is incorrect, the API may return a "message not found" error.
  • Error messages and resolutions:

    • "error": "Invalid API key" — Verify that the API key credential is correctly set up in n8n.
    • "error": "Message not found" — Confirm the message ID is correct and corresponds to the given WhatsApp number.
    • Timeout or network errors — Check internet connectivity and API endpoint availability.

Links and References

Discussion