Skip to main content

agentConversationCreate

Start a new conversation with an agent.

Possible errors:

  • AGENT_NOT_FOUND_ERROR: Agent with specified ID does not exist
  • AGENT_INACTIVE_ERROR: Agent is not currently active
  • AGENT_TYPE_ERROR: Provided type is not in the agent's configured types
  • AGENT_CONVERSATION_CREATE_ERROR: Failed to start conversation due to webhook or system issues
  • AGENT_TRIGGER_CHAT_ERROR: Request message is required for chat trigger agent
  • AGENT_WEBHOOK_REQUEST_ERROR: Webhook request failed
  • AGENT_WEBHOOK_TIMEOUT_ERROR: Webhook request timed out
  • AGENT_WEBHOOK_RESPONSE_ERROR: Invalid response from webhook AUTH: Role=[configuration.OWNER,configuration.EDITOR] OR ('user is authenticated')
agentConversationCreate(
input: AgentConversationCreateInput!
): AgentConversation!

Arguments

agentConversationCreate.input ● AgentConversationCreateInput! non-null input

Conversation creation data

Type

AgentConversation object

Represents a conversation exchange with an agent.