CommunityHire an ExpertSign Up
IntegrationsOpenAI integration
Integrations

OpenAI integration

Connect OpenAI with your Softr applications to add GPT-powered text generation, summarization, classification, and image creation to your workflows. Turn what your users submit into drafts, summaries, labels, and visuals — without writing a line of code.

Overview

The Softr OpenAI integration sends content from your workflows to OpenAI’s models and returns the result for use in any later step. Generate text with GPT models, classify and summarize what users submit, or create images from a text prompt — then store the output in a database, send it by email, or display it in your app.

In a typical Softr app, OpenAI picks up where your users leave off: a lead fills in a form block, a member posts a listing, an operations record changes status — and the workflow responds with generated copy, a summary for your team, a category to branch on, or a fresh image for the record.

Available Actions

Custom prompt

Send your own prompt to OpenAI — with data mapped in from forms, records, or earlier steps — and use the response anywhere in your workflow.

Write

Generate original text such as email drafts, product descriptions, social posts, or personalized messages.

Summarize

Condense long text — applications, feedback, meeting notes — into a short summary your team can scan at a glance.

Categorize

Assign text to one of your predefined categories so submissions and records get routed automatically.

Generate image (Image 2)

Create an image from a text prompt and use the result in your app — as a record attachment, a listing visual, or an email asset.

Make a decision

Ask OpenAI one question about a text, images or both, and get a bounded answer you can branch on: yes or no, one of your options, or a score on your scale. See Make a decision for every setting and output.

Key Benefits

  • Text and images in one integration: Generate copy and visuals from the same workflow, powered by your OpenAI account.
  • No-code AI: Configure prompts visually in the workflow editor — no API calls or scripts to maintain.
  • Your own OpenAI account: Connect with your API key and use your OpenAI models and usage limits directly.
  • Built for routing: Use Categorize to produce clean labels you can branch on, filter with, or store in a record.

Example Use Cases

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

How to Connect Softr with OpenAI

  1. Open your Softr app and go to Workflows.
  2. Create a new workflow and add an OpenAI action.
  3. Click 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. Save and activate your workflow.

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.