CommunityHire an ExpertSign Up
Workflows & AgentsHuman in the loop
Workflows

Human in the loop in workflows

Pause a Softr workflow until a person decides. Ask for approval in Slack or in your app, then continue the workflow on the path that their answer picks.

Some steps need a person’s judgment before the workflow continues, such as an expense approval, a content review or an uncertain AI answer. A human-in-the-loop step pauses the run, asks a person, and continues on the path their answer picks. You can ask the person in Slack or in your Softr app.

Ask in Slack

The Slack steps Send interactive direct message and Post interactive channel message send a message with up to 4 buttons, such as Approve and Reject. Each button can ask the person for a comment. The run waits until someone selects a button, then continues on the path of that button.

For example, an expense approval:

flowchart TD A[New expense report submitted] --> B[AI checks the expense category] B --> C["Slack message to the manager<br/>New expense: $500 for Software, submitted by Maria"] C -->|Approve| D[Set status to Approved and notify the submitter] C -->|Reject| E[Set status to Rejected and notify the submitter] C -->|Request more info| F[Email the submitter for details]

The run stays paused until the manager selects a button. It can wait minutes, hours or days, then picks up where it left off.

A workflow that checks a discount request with AI, asks the account manager in Slack, then branches on the button: Approved confirms to the client, Rejected declines politely

The Send interactive direct message step: the Slack account, the user email of the account manager, the message with the AI check, and the Buttons Approve and Reject, outlined

Connect your Slack workspace first. See Slack.

Ask in your app

To let people decide inside your Softr app, split the process into two workflows around a status:

  1. The first workflow sets the record’s status to “Waiting for approval” and notifies the approver. See User notifications.
  2. The approver opens the record in your app and selects Approve or Reject, which updates the status.
  3. A second workflow starts on Record updated when the status changes, and continues the process.

Softr AI can build this for you. Ask it in your app:

Managers approve purchase requests over 1,000 EUR. When they approve, notify finance.

When to involve a person

  • High-stakes decisions, such as payments, publishing, or access changes.
  • Uncertain AI answers, where you route answers below a confidence score to a person. See AI in workflows.
  • Actions that a person must review before they happen, for compliance.

While a run waits for an answer, its status in the run history is Pending interaction. See Test, runs and errors.

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.