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

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

  1. Open your Softr app and go to Workflows.
  2. Create a new workflow and add a Gemini action.
  3. Select Connect Gemini and paste your Gemini API key. You can create a free key in Google AI Studio under Get API key.
  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
Visuals for every listingWhen a member adds a product or event, generate an image and attach it to the record.
Summarize incoming requestsCondense long form submissions into short summaries for your admin dashboard.
Sort and route submissionsCategorize new entries, such as support, sales, or feedback, and branch to the right follow-up.
Content on autopilotDraft descriptions, announcements, or member updates from record data when something changes.
Personalized onboardingWhen 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

The Gemini actions in the workflow step picker: Write, Nano Banana 2 (image), Summarize Text, Categorize, Custom prompt

The Gemini actions in the step picker of a workflow.
ActionWhat it does
Custom promptSends your prompt to Gemini with data from forms, records, or earlier steps. Returns the response for later workflow steps.
WriteGenerates original text, such as email drafts, descriptions, announcements, or personalized messages.
Summarize TextCondenses long text, such as briefs, feedback, or meeting notes, into a short summary.
CategorizeAssigns 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.

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.