Metis: Message Chatbot icon

Metis: Message Chatbot

Create or reuse a chat session and send a message

Metis: Message Chatbot

AI-generated

Summary

Create or reuse a chat session for the specified Metis bot and send a message of a given type and content within that session.

Inputs

  • Bot ID (required) — The unique identifier of the Metis chatbot to interact with.
  • Session ID — The identifier of an existing chat session to reuse; if empty, a new session is created automatically.
  • Message Type (required) — The type of message to send, either USER or TOOL.
  • Content (required) — The text content of the message to be sent to the chatbot.

Output shape

a list of JSON objects representing the response from the Metis API for each message sent, one per input item

If Session ID is not provided, the node creates a new session before sending the message. Errors during session creation or message sending will cause the node to fail.

Examples

Example 1: Send a user message with text content to a new or existing session

Set Bot ID with the target chatbot's ID, optionally provide a Session ID to continue an existing conversation, select USER as Message Type, and enter the message text in Content.

Discussion