Skip to main content

The prompt an AI custom field runs against each contact. Present only when the field's fieldSource is ai.

promptText
string
required

The prompt run against a contact to generate the field's value.

Maximum string length: 8000
variableKeys
string[]
required

Template variables the prompt refers to. Each one is resolved against the contact before the prompt runs.

createdAt
string<date-time>

When the AI definition was created.

updatedAt
string<date-time>

When the AI definition was last changed.