Actions11
Message → Get
AI-generatedOverview
This node interacts with the Google Chat API to perform operations related to messages within Google Chat spaces. Specifically, the 'Get' operation under the 'Message' resource retrieves a message by its resource name, which is formatted as 'spaces/*/messages/*'. This is useful for fetching the details of a specific message in a chat space, such as its content, sender, and metadata. Practical applications include automating message retrieval for monitoring, logging, or further processing within workflows.
Use Case Examples
- Retrieve a specific message from a Google Chat space by providing its resource name.
- Use the node to fetch message details for auditing or integration with other systems.
Properties
| Name | Meaning |
|---|---|
| Message Name | The resource name of the message to be retrieved, formatted as 'spaces/*/messages/*'. This is a required string input. |
Output
JSON
name- The unique resource name of the message.text- The text content of the message.sender- Information about the sender of the message.createTime- Timestamp when the message was created.thread- Details about the thread the message belongs to.
Dependencies
- Google Chat API access with appropriate credentials (e.g., an API key or OAuth token).
Troubleshooting
- Ensure the 'Message Name' is correctly formatted as 'spaces/*/messages/*'. Incorrect formatting will cause API errors.
- Verify that the Google Chat API credentials are valid and have the necessary permissions to access the message resource.
- Common error messages include authorization errors (due to invalid or missing credentials) and not found errors (if the message resource name does not exist). Resolving these involves checking credentials and resource names respectively.
Links
- Google Chat API - Get Message - Official documentation for the Google Chat API method to get a message resource.