CommunityHire an ExpertSign Up
DatabasesAI fields
Tables and fields

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.

The AI agent tab of the Brief field, a long text field. The Let AI auto-fill this field switch is outlined and off. Below it are the templates Summarize text, Categorize text, Write, Extract, Translate and All templates

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.

The AI agent tab of the Summary field, with the prompt outlined: Summarize the project brief Brief in one sentence for the client Client. The model is Claude Sonnet 5.5

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.

The Run when section, outlined: Triggered manually, New record is created and Existing record is updated (when Brief changes) are on. Below are Skip when value already exists and Only run if... (Optional) with a Filter button

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.

The Preview section of the AI agent tab, outlined: the record Website redesign is selected, and the result reads A new website with pricing, blog and client login for Northwind Traders, for 2 credits

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.

The AI prompt templates library on its Generate category: Suggest knowledge base article, Draft job description, Write, Proofread, Translate, Create product description and more

Settings

SettingWhat it does
Allow manual editsLets people and automations edit the value, in addition to the AI. Turn it off to make the AI the only writer
ModelThe AI model that writes the value. The list shows what each model is best for and its credit cost
Allow web searchLets the AI browse the internet when it needs current information
Allow creating new optionsOn Select and linked record fields only. Lets the AI add options that do not exist yet

The open model list, outlined: Claude Fable 5.1, Claude Opus 5.5, Claude Opus 5, Claude Sonnet 5.5 and Claude Sonnet 5, each with what it is best for and a credit cost icon

Run when options

OptionWhat it does
Triggered manuallyRuns only when you start it. Use it to test, or for expensive prompts
New record is createdRuns when a record is added
Existing record is updatedRuns when a record changes. Choose the fields whose change starts the run
Skip when value already existsKeeps 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:

Web search prompt

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.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.