aiCampaignBuildTurn
One Paminga IQ turn on a build. Its edits play on the canvas through campaignBuildEvent as they land; when the turn ends they are saved as ONE revision, and this answers with the reply (the shared ChatMessagePayload: ChatNarrationPayload, or ChatErrorPayload when the turn failed after the message was saved) and campaignBuildTurn. Gated like the other Campaign Builder fields, by the product's ai_enabled flag, a per-user hourly limit and the AI credit pre-flight.
aiCampaignBuildTurn(
input: AiCampaignBuildTurnInput!
): AiAgentTurn!
Arguments
aiCampaignBuildTurn.input ● AiCampaignBuildTurnInput! non-null input
Type
AiAgentTurn object
Wrapper returned by every conversational-agent mutation (workflow builder,
segment builder, future actions chat). The payload is the same union
persisted on ChatMessage rows, so the UI uses one renderer registry for
both live mutation responses and polled history. chatConversationId is
populated on the very first turn of a new session so the client can stash
it and switch into "resume" mode for subsequent calls.


