CommunityHire an ExpertSign Up
Softr MCP serverWorkflows
Softr MCP server

Workflows

Build, test, and publish Softr workflows through an AI assistant.

Workflows automate work in the background: something happens, and Softr responds by sending an email, updating a record, calling an API, or whatever else you need. These tools let an assistant build one for you — choosing a trigger, adding the steps, wiring them together, testing them, and turning the workflow on.

A workflow canvas with a trigger, a branch step and an action step, each marked with a numbered label

A workflow in the builder: a trigger, steps, and branches. The assistant builds the same structure.

How the assistant builds a workflow

Workflows are built one step at a time: pick a trigger, add a step, fill in its inputs, test it, then move on to the next.

The assistant reads the workflow guide first. workflow_guide returns Softr’s instructions for building, testing and publishing a workflow. An assistant that doesn’t already have the guide in its server instructions calls it before the other workflow tools. It changes nothing, and it isn’t needed for app, page or database work.

A step’s output can only be used once that step has been tested. Later steps usually need data from earlier ones, and those references only work after the earlier step has actually run. So the assistant tests as it builds rather than at the end — and every step needs a passing test, including final ones that nothing reads from.

Testing a single step can have real effects. Most steps are tested with mock data by default. Some can only be tested for real, and testing one of those with workflow_test_node makes a real call — sending the actual email, writing the actual row. workflow_test never does: it runs every step that would change data as a mock, and reports one that has no mock as untestable for you to test in the builder.

Creating and managing workflows

ToolWhat it does
workflow_createCreates a workflow with a trigger
workflow_listLists a workspace’s workflows, most recently updated first
workflow_getGets a workflow’s steps, and which of them have been tested
workflow_get_urlGets the link to open a workflow in Softr
workflow_renameRenames a workflow
workflow_update_configurationChanges workflow-level settings: time zone, date and number formats, and whether runs happen one at a time
workflow_publishTurns the workflow on, so it starts running on its trigger
workflow_unpublishTurns it off. The steps are kept

Publishing means enabling. A workflow does nothing until it’s published, no matter how complete it is. Unpublishing stops it without losing any work, so it’s a safe pause rather than a deletion.

Finding the right step type

Softr supports hundreds of trigger and action types. These tools let the assistant search them and read what a given type needs.

ToolWhat it does
workflow_list_node_typesSearches the available trigger and action types
workflow_get_node_specificationsGets a step type’s full input list, with which are required
integration_listLists the workspace’s connected integrations, for steps that need one. See Integrations
workflow_get_dynamic_input_optionsFetches the live options for an input whose values come from an integration

workflow_get_dynamic_input_options fills in the dropdowns you would otherwise pick from by hand — which Slack channel, which Trello board, which AI model. Those options live in the connected tool rather than in Softr, so they are fetched while the workflow is being built.

See Trigger Types for what can start a workflow.

Building the steps

ToolWhat it does
workflow_add_nodeAdds a step after an existing one
workflow_update_node_inputsFills in a step’s inputs, including references to earlier steps’ output
workflow_rename_nodeRenames a step
workflow_duplicate_nodeCopies a step and inserts the copy after the original
workflow_delete_nodeRemoves a step
workflow_replace_nodeSwaps a step for a different type
workflow_replace_trigger_nodeChanges the workflow’s trigger
workflow_reorder_nodeMoves a step
workflow_reorder_multiple_nodesMoves a consecutive group of steps
workflow_add_branch_nodeAdds a branch, so the workflow can take different paths
workflow_create_branchAdds another path to an existing branch
workflow_update_filter_node_conditionSets or clears the condition that decides whether a branch runs
workflow_reorder_branchesChanges the left-to-right order of a branch’s paths
workflow_update_node_continue_on_errorLets the workflow carry on when a step fails instead of stopping
workflow_update_node_retryRetries a failing step automatically, a set number of times with a set wait
workflow_update_node_noteAdds or clears a note on a step

Every branch whose condition is true runs. There is no “else” path: a branch without a condition always runs, and a path meant for “otherwise” needs the opposite of the other paths’ conditions. The order of the branches is only visual, since the paths run in parallel.

Retries only cover temporary failures, such as rate limits, server errors, and timeouts. A step that fails because of its setup or its credentials fails straight away. Retry can’t be set on triggers, on control steps like branches, filters, waits and loops, or on steps inside a loop.

Testing

ToolWhat it does
workflow_testTests every step of the workflow in one call
workflow_test_nodeRuns a single step and saves its output as a sample
workflow_get_node_outputShows a step’s saved output, or lists which steps still need testing

workflow_test tests the steps in order and keeps going when one fails, so one call shows the state of the whole workflow. It reuses a step’s saved sample unless an earlier step’s sample changed, so after editing a step that was already tested, test that step on its own. A workflow started by an app or a webhook has no test data until a call reaches it: workflow_test can send it sample events first, as long as the workflow is unpublished.

workflow_get_node_output without a specific step is the “is this finished?” check — it lists every step and whether it has been tested. Worth asking for before you publish.

Runs

ToolWhat it does
workflow_list_runsLists a workflow’s runs, newest first, with how many steps succeeded and failed
workflow_get_runShows one run step by step: what each step received, returned, and why it failed
workflow_get_run_stepShows one step of a run in full, including one iteration of a loop

These are the runs on the workflow’s Runs tab in Studio, so they are how an assistant finds out why a workflow failed. Only a published workflow records runs; tests are not runs. A finished run can still have failed steps, so look at the failed-step count, not just the status. Runs older than your plan’s log retention are not returned.

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.