AI
Generate structured data from natural language using AI. If the result is unclear, AI can provide suggestions to guide the user.
Common use-cases: Filters, queries, payloads, and structured data.
Add Field → Select AI Field
// Example JSON
{
"key": "filter_conditions",
"type": "aifield",
"label": "Filter Conditions",
"help": "Generate valid Notion filter JSON using the provided database schema",
"required": true,
"prompt": "Write a prompt to guide the AI.",
"suggestionGenerator": " // Enter JS code response of which will be sent to AI later used by ai to generate results"
}Common Properties: key, label, placeholder, help, visibilityCondition and required. Read
Additional Properties
Property | Description | Example |
|---|---|---|
| Tells the AI what to generate basically (System Prompt) | Generate a Notion filter from the user's request. |
| Provides extra context to help the AI generate better results. | Return available database fields and their types (Using JS code) |
How an AI field works?
Step | Description |
|---|---|
1 | User enters instructions |
2 | AI reads the prompt and available context |
3 | Optional context is sent to AI using |
4 | AI generates structured output. |