AI fields: let AI fill any field in Softr Databases
Let AI fill a field in Softr Databases: summarize, categorize, extract details from files or search the web. Choose the model, the prompt and when it runs.
An AI field is a field that AI fills for you. You write a prompt that uses the other fields of the record, and the AI writes the value: a summary, a category, a score, details from a PDF, or facts from the web. AI fields are also called database AI agents.
You choose when the field runs, and you can still edit its value by hand.
Add an AI field
Turn on AI for a field
Open your table in Softr Databases. Add a field and choose the AI agent type. Or edit an existing field, open its AI agent tab and turn on Let AI auto-fill this field.

Pick a model and write your prompt
Write your prompt, such as “Summarize the resume into key skills”. Type @, or select the @ button, to use another field of the record in the prompt. Select Improve to let AI rewrite your prompt. Then, under Model, pick a model from Anthropic, OpenAI, Google or Mistral.

Choose when it runs
Under Run when, choose the events that fill the field. See Run when options. Add an Only run if… condition to fill only matching records, such as Status is Approved.

Preview and save
Under Preview, select a record, then select Run. The result shows the generated value and the AI credits the run used. Select Save to activate the field.

Start from a template
If the prompt is empty, the AI agent tab offers ready-made templates: Summarize text, Categorize text, Write, Extract and Translate. Select All templates, or Template above the prompt, to open the AI prompt templates library. It groups templates in Generate, Summarize & Extract, Categorize, Research and Format & Convert. Pick one to get a prompt you can change.

Settings
| Setting | What it does |
|---|---|
| Allow manual edits | Lets people and automations edit the value, in addition to the AI. Turn it off to make the AI the only writer |
| Model | The AI model that writes the value. The list shows what each model is best for and its credit cost |
| Allow web search | Lets the AI browse the internet when it needs current information |
| Allow creating new options | On Select and linked record fields only. Lets the AI add options that do not exist yet |

Run when options
| Option | What it does |
|---|---|
| Triggered manually | Runs only when you start it. Use it to test, or for expensive prompts |
| New record is created | Runs when a record is added |
| Existing record is updated | Runs when a record changes. Choose the fields whose change starts the run |
| Skip when value already exists | Keeps values that are already filled, so the AI never overwrites them |
| Only run if… | Runs only for records that match your conditions |
Search the web
Turn on Allow web search, then tell the AI in your prompt what to look up and how to format the answer. For example:
Find the latest average delivery rates in Ontario. Extract the number and cite the domain in brackets.
Preview the result before you turn on automatic runs. Add a condition such as “Market data is empty” to search only when needed.
Extract details from files
Store the file in a File field, or its link in a URL field. Reference that field in your prompt with @, for example “Summarize this contract: @Contract”. The Extract templates are a good start. See Limits and specs for the image and PDF sizes the AI can read.
Fields that can use AI
Most text-like fields can use AI. The AI cannot write to system fields (ID, created and updated dates) or to calculated fields (Formula, Rollup).
AI credits
Every plan, including Free, includes AI credits each month. Each run uses credits. The cost depends on the model, the input size, web search and the length of the output.
- Use Preview to estimate the cost of a run before you save. Real runs vary.
- If you run out of credits, AI features pause until your credits reset or you add more.
- See your usage on the Plan & billing page, in the workspace menu.
See AI credits.