Actions148
- Chats Actions
- Chat Contacts Actions
- Chat Messages Actions
- Chat Files Actions
- Files Actions
- Team Actions
- Labels Actions
- Departments 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
- Send messages Actions
- Outbound Messages Actions
- WhatsApp Numbers Actions
- Groups Actions
- Channels Actions
Overview
This node interacts with the SparkBot WhatsApp API to retrieve detailed information about a specific WhatsApp chat message. The "Get Message Details" operation under the "Chat Messages" resource allows users to fetch metadata and content related to a particular message sent or received via a specified WhatsApp number.
Typical use cases include:
- Auditing or logging message details for compliance or record-keeping.
- Fetching message status or content for customer support follow-up.
- Integrating message data into CRM or analytics platforms.
For example, a user might input a WhatsApp number and a message ID to retrieve the full details of that message, such as its timestamp, sender info, and message content.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the message was sent or received. |
| Message ID | The unique identifier of the WhatsApp message (hexadecimal ID) whose details are fetched. |
Output
The output is a JSON object containing detailed information about the requested WhatsApp message. This typically includes fields such as:
- Message content (text, media references, etc.)
- Sender and recipient identifiers
- Timestamp and status metadata
- Any additional message attributes provided by the SparkBot API
If the node supports binary data (e.g., media files attached to messages), it would be included in the binary output field, representing the actual file content.
Dependencies
- Requires an active connection to the SparkBot WhatsApp API.
- Needs an API key credential configured in n8n for authentication.
- The node depends on internal methods that handle various resources; for this operation, it specifically calls the chat message operations handler.
Troubleshooting
Common issues:
- Invalid or missing WhatsApp number or message ID parameters will cause errors.
- Network or authentication failures when connecting to the SparkBot API.
- Message ID not found if the message does not exist or belongs to a different WhatsApp number.
Error messages:
- Errors indicating missing required parameters should be resolved by providing valid inputs.
- Authentication errors require checking the API key credential configuration.
- Not found errors suggest verifying the correctness of the message ID and WhatsApp number.
Links and References
- SparkBot WhatsApp API Documentation (example placeholder link)
- n8n documentation on Creating Custom Nodes
- General WhatsApp Business API guides for understanding message IDs and device numbers