XYZ icon

XYZ

XYZ chatbot integration (actions)

Send Text Message

AI-generated

Summary

Send a text message to a specific chat room by providing the Room ID and message body text.

Inputs

  • Room ID (required) — The identifier of the chat room where the text message will be sent.
  • Body (required) — The content of the text message to send.
  • Formatted Body — Optional HTML formatted version of the message body.
  • Format — Optional format type for the message.
  • Mentions — Optional comma-separated list of user IDs to mention in the message.
  • Reply To Event ID — Optional event ID to which this message is a reply.

Output shape

a list of JSON objects representing the sent message details or error information per input item

Returns an array where each item corresponds to an input item. On error, an item contains error details if 'continue on fail' is enabled, otherwise the error throws and stops execution.

Examples

Example 1: Send a basic text message to a room

Set Room ID and Body parameters with target room identifier and message text.

Discussion