Skip to main content

SmartPromptType

A personalized prompt suggestion for the user.

type SmartPromptType {
category: String
clickCount: Int!
createdAt: DateTime!
id: ID!
impressionCount: Int!
promptSegments: [PromptSegmentType!]
promptText: String!
subjectName: String
subjectType: String
templateName: String
}

Fields​

SmartPromptType.category ● String scalar​

Category of the prompt (top_x, on_track, cash_flow, net_worth)

SmartPromptType.clickCount ● Int! non-null scalar​

Number of times this prompt was clicked

SmartPromptType.createdAt ● DateTime! non-null scalar​

SmartPromptType.id ● ID! non-null scalar​

SmartPromptType.impressionCount ● Int! non-null scalar​

Number of times this prompt was shown

SmartPromptType.promptSegments ● [PromptSegmentType!] list object​

Structured segments for rendering with entity highlighting

SmartPromptType.promptText ● String! non-null scalar​

The rendered prompt text to display

SmartPromptType.subjectName ● String scalar​

Name of the subject (e.g., 'Whole Foods')

SmartPromptType.subjectType ● String scalar​

Type of subject (merchant, category, goal, budget)

SmartPromptType.templateName ● String scalar​

Template name for analytics aggregation

Returned By​

smartPrompts query