Actions69
- App Actions
- Chat Actions
- Device Actions
- Group Actions
- Add Participant
- Approve Participant Request
- Create Group
- Demote Participant
- Export Group Participants
- Get Group Info
- Get Group Info From Link
- Get Group Invite Link
- Get Group Participants
- Get Participant Requests
- Join Group With Link
- Leave Group
- Promote Participant
- Reject Participant Request
- Remove Participant
- Set Group Announce Mode
- Set Group Locked Status
- Set Group Name
- Set Group Photo
- Set Group Topic
- Message Actions
- Newsletter Actions
- Send Actions
- User Actions
Message → Read Message
AI-generatedOverview
This node operation reads a specific message from a chat or group chat using the Go WhatsApp Web MultiDevice API. It is useful for retrieving the content or details of a particular message by specifying the message ID along with the phone number or group ID. This can be applied in scenarios such as message auditing, fetching message history, or processing specific messages for automation workflows.
Use Case Examples
- Retrieve a message by its ID from a private chat using the phone number.
- Fetch a message from a group chat by providing the group ID and message ID.
Properties
| Name | Meaning |
|---|---|
| Device ID | Optional device ID override that takes priority over the credential device ID if set. |
| Phone Number or Group ID | Phone number for private chat or Group ID for group chat to identify the chat context of the message. |
| Message ID | ID of the message to operate on, used to specify which message to read. |
Output
JSON
messageId- The ID of the message that was read.phoneOrGroupId- The phone number or group ID associated with the message.content- The content or details of the retrieved message.
Dependencies
- Go WhatsApp Web MultiDevice API
- An API key credential for authentication
Troubleshooting
- Ensure the message ID and phone number or group ID are correctly provided; otherwise, the message cannot be found.
- If the device ID override is used, verify it is valid and authorized for the API.
- Common errors include 'Unknown resource' if the resource parameter is incorrect, or API errors if authentication fails or the message does not exist.