CommunityHire an ExpertSign Up
AI models and RAGOpenAI
AI models and RAG

OpenAI integration

Connect OpenAI to Softr and send content to OpenAI models from your workflows and agents to write, summarize, categorize, make decisions and generate images.

OpenAI provides AI models for generating text, making decisions, and creating images. In Softr workflows and agents, you can send content to OpenAI models and use the results in later steps.

Connect OpenAI

  1. Open your Softr app and go to Workflows.
  2. Create a new workflow and add an OpenAI action.
  3. Select Connect OpenAI and paste your OpenAI API key. You can create one in the OpenAI platform dashboard under API keys.
  4. Choose the model and write your instructions or prompt.
  5. Map fields from your Softr forms, records, or previous workflow steps into the prompt inputs.
  6. Test the action, then publish the workflow.

Use cases

Use caseWhat it does
Auto-generate listing contentWhen a member adds a record, write a description and save it back to the record.
Illustrate recordsGenerate an image for each new product, event, or listing and attach it.
Score and route leadsCategorize form submissions and branch the workflow by lead type or urgency.
Summaries for your dashboardSummarize long applications or feedback so your admin dashboard shows the gist.
Personalized member emailsWhen a user signs up, write a welcome email from their profile answers and send it.

Use OpenAI in workflows and agents

Workflows and agents can send content to OpenAI models to generate text, summarize, categorize, make decisions, and create images.

Actions

The OpenAI actions in the workflow step picker: Write, Summarize, Categorize, Custom prompt, Generate image (Image 2), Make a decision

The OpenAI actions in the step picker of a workflow.
ActionWhat it does
Custom promptSends your own prompt with data from forms, records, or earlier steps. Use the response anywhere in your workflow.
WriteGenerates original text such as email drafts, product descriptions, social posts, or personalized messages.
SummarizeCondenses long text, applications, feedback, or meeting notes into a short summary.
CategorizeAssigns text to one of your predefined categories to route submissions and records.
Generate image (Image 2)Creates an image from a text prompt. Use it as a record attachment, a listing visual, or an email asset.
Make a decisionAsks OpenAI one question about text, images, or both to get a yes or no, one of your options, or a score. See Make a decision for every setting and output.

AI in workflows describes structured output, how an AI step ends with its outcome output, and how to choose a model.

FAQ

Whose OpenAI account does Softr use?

Softr uses your own account. You paste your API key, so your OpenAI models and usage limits apply.

Can OpenAI actions create images?

Yes. The Generate image (Image 2) action creates an image from a text prompt. Use it as a record attachment, listing visual, or email asset.

How do I branch a workflow on an OpenAI answer?

Use Categorize to get a clean label, or Make a decision to get a yes or no, one of your options, or a score. Then branch on the result.

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.