CommunityHire an ExpertSign Up
Workflows & AgentsOverview
Get started

Automation and AI in Softr: workflows and agents

Workflows follow steps you define. Agents decide their own steps from instructions and tools. Learn the difference, and when to use each one, in Softr.

Your apps hold your data and your screens. The work around them, such as approvals, reminders, syncs or reports, runs in workflows and agents. A workflow follows the steps you define. An agent decides its own steps from instructions and tools.

Workflows: the steps you define

A workflow starts on a trigger and runs its steps in order, the same way every time. Use it when you can write the process down as rules: “When a request is approved, notify the requester and create an invoice.” See Softr Workflows overview.

A workflow in the editor: the Request added trigger, a Categorize the request AI step, then Branches with three paths, Billing, Technical and Sales, that post in Slack, assign the request to support or email the sales lead

A workflow: a trigger, then steps in a fixed order.

Agents: AI that works out the steps

An agent gets a goal, instructions and tools, and decides how to reach the goal. Use it when each case is different and needs judgment: “Answer this client’s question from our help articles and their orders.” See Softr Agents overview.

The agent editor of a support triage agent: agent type, connected apps, tools and knowledge on the left, and the Agent configuration card outlined, with the model, the reasoning effort and the instructions

An agent: instructions, tools and knowledge, and the agent decides the steps.

Workflow or agent?

WorkflowAgent
How it runsFollows the steps you define, in orderDecides its own steps from instructions and tools
Best forRepeatable processes: approvals, notifications, syncs, reportsOpen-ended tasks: answer questions, research, triage
Starts fromA trigger: a record change, a schedule, a webhook, a button in an appA chat message in an app, or a schedule
ResultThe same result every runAdapts to each request
ExampleNotify the owner when a deal is wonAnswer a client’s question from your help articles

When in doubt, start with a workflow. It is easier to test and costs less. Add AI steps to a workflow when only one step needs judgment. See AI in workflows.

Use both together

A workflow can hand one step to AI, and an agent can rely on records that workflows keep up to date. For example, a workflow collects new support requests every hour, and an AI step sorts them. Requests the AI is unsure about go to a person. See Human in the loop.

Use cases and examples

Route new leads (workflow)

When a lead is added, a workflow categorizes it by company size, assigns an owner and posts it in Slack.

Approvals (workflow)

When an employee submits a request, a workflow asks the manager to approve it in Slack, then updates the request and notifies the employee.

Reminders and follow-ups (workflow)

A workflow waits 3 days after a quote is sent, checks whether the client answered, and sends a reminder when they did not.

Weekly reports (workflow or scheduled agent)

A workflow on a schedule gathers the week’s numbers and emails them. Use a scheduled agent when the report needs a written analysis of what changed.

AI triage of requests (workflow)

When a request arrives, an AI step categorizes it and scores its urgency, and a branch routes it to the right team.

Support assistant (app agent)

An app agent answers clients’ questions in your portal from your help articles and their own records. See App agents.

Data clean-up (scheduled agent)

A scheduled agent checks your tables every night for duplicates and missing values, and fixes what it can. See Scheduled agents.

Start building

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.