AiMarketingCampaignAgentTurnInput
No description
input AiMarketingCampaignAgentTurnInput {
prompt: String!
agentRunId: ID
chatConversationId: ID
parentFolderId: ID
}
Fields
AiMarketingCampaignAgentTurnInput.prompt ● String! non-null scalar
The user's latest chat message. On the first turn, this is the pasted Campaign Brief or a natural-language description of the campaign to build.
AiMarketingCampaignAgentTurnInput.agentRunId ● ID scalar
Client-generated session id (UUID). Required for NEW conversations;
becomes the external_session_id on the underlying ChatConversation row.
For RESUMED conversations (where chatConversationId is supplied) the
server reuses the existing conversation's session id and this field is
ignored.
AiMarketingCampaignAgentTurnInput.chatConversationId ● ID scalar
Existing chat_conversations.id to resume. When supplied, the server
loads that conversation (product-scoped) and continues it; the client
does not need to remember the original agentRunId. Either this or
agentRunId must be supplied.
AiMarketingCampaignAgentTurnInput.parentFolderId ● ID scalar
Folder the marketer chose for the new campaign's root folder (a Workspace or a folder within one). Required on the first turn of a NEW campaign; the agent creates the campaign folder under it. Ignored on resume turns (the campaign folder already exists). Folder placement is a deterministic user decision, never an LLM guess.
Member Of
aiMarketingCampaignAgentTurn mutation


