Google Chat icon

Google Chat

Consume Google Chat API

Actions11

Message → Delete

AI-generated

Overview

This node operation deletes a specified message in Google Chat. It is useful for automating the removal of messages from chat spaces, such as cleaning up outdated or incorrect messages. For example, it can be used in workflows that manage chat content dynamically based on certain triggers or conditions.

Use Case Examples

  1. Deleting a message by specifying its resource name in the format 'spaces/*/messages/*'.
  2. Automating message cleanup in a Google Chat space after a certain event occurs.

Properties

Name Meaning
Message Name The resource name of the message to be deleted, formatted as 'spaces/*/messages/*'. This is a required string input that identifies the specific message to delete.

Output

JSON

  • error - Error message if the deletion operation fails.

Dependencies

  • Requires Google API credentials for authentication to access Google Chat API.

Troubleshooting

  • Common issues include providing an incorrect or malformed message resource name, which will cause the API to return an error indicating the message could not be found or deleted.
  • If the node throws an authentication error, ensure that valid Google API credentials with appropriate permissions are configured.
  • Errors related to network or API availability should be retried or handled with error workflows.

Links

Discussion