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
- Open your Softr app and go to Workflows.
- Create a new workflow and add an OpenAI action.
- Select Connect OpenAI and paste your OpenAI API key. You can create one in the OpenAI platform dashboard under API keys.
- Choose the model and write your instructions or prompt.
- Map fields from your Softr forms, records, or previous workflow steps into the prompt inputs.
- Test the action, then publish the workflow.
Use cases
| Use case | What it does |
|---|---|
| Auto-generate listing content | When a member adds a record, write a description and save it back to the record. |
| Illustrate records | Generate an image for each new product, event, or listing and attach it. |
| Score and route leads | Categorize form submissions and branch the workflow by lead type or urgency. |
| Summaries for your dashboard | Summarize long applications or feedback so your admin dashboard shows the gist. |
| Personalized member emails | When 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

| Action | What it does |
|---|---|
| Custom prompt | Sends your own prompt with data from forms, records, or earlier steps. Use the response anywhere in your workflow. |
| Write | Generates original text such as email drafts, product descriptions, social posts, or personalized messages. |
| Summarize | Condenses long text, applications, feedback, or meeting notes into a short summary. |
| Categorize | Assigns 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 decision | Asks 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.