AgentsGT icon

AgentsGT

Interact with AgentsGT AI agents via the v1 API

Actions3

Chat → Send Message

AI-generated

Overview

This node sends a message to an AI agent using the AgentsGT API within a chat session. It supports different chat types including basic request/response, advanced chat with streaming, and CopilotKit framework integration. This node is useful for automating conversations with AI agents, enabling interactive chatbots, or integrating AI-driven communication in workflows.

Use Case Examples

  1. Sending a simple message to an AI agent for a quick response.
  2. Engaging in an advanced chat session with streaming support for real-time interaction.
  3. Using the CopilotKit framework to send structured messages to an AI agent.

Properties

Name Meaning
Agent ID The ID of the agent to chat with, required to identify the target AI agent.
Message The message content to send to the agent, required for communication.
Session Identifier A unique identifier for the conversation session, required to maintain context across messages.
Chat Type The type of chat interaction to use, affecting the API endpoint and message format.

Output

JSON

  • response - The response from the AI agent after sending the message.
  • success - Indicates whether the message was successfully processed by the agent.

Dependencies

  • AgentsGT API with an API key credential for authentication

Troubleshooting

  • Ensure Agent ID, Message, and Session Identifier are provided; missing these will cause errors.
  • Check API credentials and base URL configuration if authentication fails.
  • For advanced and CopilotKit chat types, ensure the message format matches the expected GraphQL or JSON structure.

Links

Discussion