Skip to main content

AiBuildEmailInput

No description

input AiBuildEmailInput {
prompt: String!
name: String!
folderId: ID
icpId: ID
isTransactional: Boolean
subject: String
}

Fields

AiBuildEmailInput.prompt ● String! non-null scalar

AiBuildEmailInput.name ● String! non-null scalar

The asset name the user typed in the Create dialog. Preflighted against the same uniqueness rule the matching createNextGenEmail mutation enforces; a duplicate short-circuits before any LLM tokens are spent.

AiBuildEmailInput.folderId ● ID scalar

Destination folder. null for root. Pairs with name for the uniqueness preflight.

AiBuildEmailInput.icpId ● ID scalar

Optional ICP id from the product's Customer Discovery output. When provided, the agent injects an Audience for this artifact block into the system prompt so generated copy targets the chosen persona.

AiBuildEmailInput.isTransactional ● Boolean scalar

When true, the agent omits the Unsubscribe link from the appended Footer. Mirrors the dialog's 'This is a Transactional Email' checkbox; transactional mail is exempt from the unsubscribe requirement.

AiBuildEmailInput.subject ● String scalar

The subject line the user typed in the Create dialog. When provided, the agent uses it verbatim and skips subject generation; when omitted/blank, the agent generates a subject from the prompt. Preview text is always generated regardless.

Member Of

aiBuildEmail mutation

Product

PricingFAQPaminga vs. MarketoMarketo to Paminga TranslatorMarketo Alternative
Paminga Logo
LinkedInFacebookXYouTube
ISO 27001 CompliantSOC 2 Compliant

Built with pride in Denver, Colorado, USA

Copyright © Paminga, Inc. 2026
All rights reserved. Various trademarks held by their respective owners.