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
The "Create Chat Note" operation in the Chats resource allows users to add a textual note to a specific WhatsApp chat associated with a given WhatsApp number (device). This note can include rich text formatting supported by WhatsApp and optionally quote an existing message or note. It also supports specifying an author from the team agents.
This node is useful for customer support teams, sales agents, or any user who wants to annotate chats with internal notes directly linked to conversations on WhatsApp. For example, a support agent might add a note summarizing a customer's issue or next steps after a call, which can be referenced later by other team members.
Properties
| Name | Meaning |
|---|---|
| WhatsApp Number | The ID of the WhatsApp number (device) from which the chat belongs. |
| Chat ID | The unique identifier of the chat where the note will be created (e.g., user or group chat ID). |
| Note Message | The text content of the note to add to the chat. Supports WhatsApp rich text syntax; length 2-6000 chars. |
| Quote Message ID | (Optional) The ID of an existing message or note to quote in this new note. |
| Author ID | (Optional) The user ID of the team agent who authored the note. |
Output
The output JSON contains the response from the API after creating the chat note. This typically includes details about the newly created note such as its ID, content, timestamp, author, and any quoted message reference.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the SparkBot WhatsApp API.
- The node depends on the availability of the WhatsApp number (device) and valid chat IDs.
- Loading options for WhatsApp numbers and team agents are dynamically fetched via methods (
getDevicesandgetTeamAgents).
Troubleshooting
- Invalid Chat ID: If the chat ID does not exist or is malformed, the API may return an error. Verify the chat ID format (e.g.,
447362053576@c.usfor users,44736205357600000000@g.usfor groups). - Unauthorized Access: Missing or invalid API key credentials will cause authentication failures.
- Note Message Length: Ensure the note message is between 2 and 6000 characters; otherwise, the API may reject it.
- Author ID Issues: Specifying an author ID that is not part of the team or not linked to the device may cause errors.
- Quoting Nonexistent Messages: Quoting a message ID that does not exist or is not accessible will likely result in an error.
To resolve these issues, verify all input parameters, ensure proper API credentials, and confirm that referenced messages and authors exist and are accessible.
Links and References
- WhatsApp Rich Text Formatting
- SparkBot WhatsApp API documentation (refer to your API provider's official docs for detailed endpoints and parameters)