Skip to main content

AgentConversationCreateMessageInput

Input message for starting a conversation with an agent.

input AgentConversationCreateMessageInput {
agentId: ID!
requestMessage: String
requestMetadata: JSON
type: String!
}

Fields

AgentConversationCreateMessageInput.agentId ● ID! non-null scalar

Unique identifier of the agent handling the conversation.

AgentConversationCreateMessageInput.requestMessage ● String scalar

Message to send to the agent via webhook in a field named requestMessage. Mandatory if TRIGGER=CHAT.

AgentConversationCreateMessageInput.requestMetadata ● JSON scalar

Metadata to send to the agent via webhook in a field named requestMetadata

AgentConversationCreateMessageInput.type ● String! non-null scalar

Type of interaction. Must match one of the agent's configured types.

Member Of

AgentConversationCreateInput input