Gemini integration
Connect Gemini to Softr and run prompts, write or summarize text, categorize records and generate images from your workflows and agents with your own API key.
Gemini provides Google’s AI models for text and images. Use Gemini actions in Softr workflows and agents to run prompts, write or summarize text, categorize records, and generate images.
Connect Gemini
- Open your Softr app and go to Workflows.
- Create a new workflow and add a Gemini action.
- Select Connect Gemini and paste your Gemini API key. You can create a free key in Google AI Studio under Get API key.
- 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 |
|---|---|
| Visuals for every listing | When a member adds a product or event, generate an image and attach it to the record. |
| Summarize incoming requests | Condense long form submissions into short summaries for your admin dashboard. |
| Sort and route submissions | Categorize new entries, such as support, sales, or feedback, and branch to the right follow-up. |
| Content on autopilot | Draft descriptions, announcements, or member updates from record data when something changes. |
| Personalized onboarding | When a user signs up, write a welcome message from their answers and send it. |
Use Gemini in workflows and agents
Workflows and agents can send text to Gemini and use the generated text, labels, or images in later steps.
Actions

| Action | What it does |
|---|---|
| Custom prompt | Sends your prompt to Gemini with data from forms, records, or earlier steps. Returns the response for later workflow steps. |
| Write | Generates original text, such as email drafts, descriptions, announcements, or personalized messages. |
| Summarize Text | Condenses long text, such as briefs, feedback, or meeting notes, into a short summary. |
| Categorize | Assigns text to one of your predefined categories. Use the label to route submissions, branch workflows, or update records. |
| Nano Banana 2 (image) | Generates an image from a text prompt using Google’s Nano Banana image model. Use it as a record attachment, listing visual, or email asset. |
AI in workflows describes structured output, how an AI step ends with its outcome output, and how to choose a model.
Good to know
- Connecting your own Gemini API key uses your Google AI account’s models, quotas, and billing.
FAQ
Do I need to pay for a Gemini API key?
You can create a key for free in Google AI Studio. Usage then follows the quotas and billing of your Google AI account.
Can Gemini generate images?
Yes. The Nano Banana 2 (image) action generates an image from a text prompt. Use it as a record attachment, listing visual, or email asset.