---
title: "Automation and AI in Softr: workflows and agents"
description: "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."
canonical: "https://docs.softr.io/workflows/automation-and-ai"
updated: "2026-12-04"
---

# Automation and AI in Softr: workflows and agents

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](/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](/workflows/overview/triage-workflow.2x.webp)

_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](/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](/agents/overview/agent-editor.2x.webp)

_An agent: instructions, tools and knowledge, and the agent decides the steps._

## Workflow or agent?

|             | Workflow                                                              | Agent                                                |
| ----------- | --------------------------------------------------------------------- | ---------------------------------------------------- |
| How it runs | Follows the steps you define, in order                                | Decides its own steps from instructions and tools    |
| Best for    | Repeatable processes: approvals, notifications, syncs, reports        | Open-ended tasks: answer questions, research, triage |
| Starts from | A trigger: a record change, a schedule, a webhook, a button in an app | A chat message in an app, or a schedule              |
| Result      | The same result every run                                             | Adapts to each request                               |
| Example     | Notify the owner when a deal is won                                   | Answer 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](/workflows/ai).

## 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](/workflows/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](/agents/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](/agents/scheduled-agents).

## Start building

[**Create a workflow**](/workflows/create)

Describe the process to Softr AI, or build it step by step.

[**Create an agent**](/agents/overview#create-an-agent)

Give an agent instructions and tools.
