XYZ Trigger
AI-generatedSummary
Trigger workflows when an XYZ chatbot receives a new message or a message edit event based on the selected trigger type.
Inputs
- Trigger Type (required) — Select to trigger the workflow either on a new message ('On Message') or when a message is edited ('On Message Edit').
Output shape
a JSON array containing the message event data, including parsed chat input and metadata such as event and room IDs.
Only events of type 'm.room.message' are processed; others are ignored. If the event lacks required fields (event_id and room_id), an error is thrown. The webhook responds directly unless the event's response mode is 'sse' (Server-Sent Events), in which case streaming is expected.