CommunityHire an ExpertSign Up
Workflows & AgentsMap data between steps
Workflows

Map data between workflow steps

Pass data from one Softr workflow step to the next with variables: trigger data, step outputs and loop items, combined with your own text and payloads.

Most steps need data from earlier in the run: the record that started the workflow, the answer of an AI step, a field of a record you looked up. You pass that data with variables.

To pick a variable:

  1. In any action’s settings, select the + button to open the variable picker.
  2. Browse the list of previous steps: the trigger and every action that ran before this one.
  3. Select a field. Softr fills in its value when the workflow runs.

The variable picker opened from the message of a Slack step: a search box, Current date & time, then the earlier steps, 1 Request added and 2 Categorize the request, to browse their fields

Combine variables with static text. For example, a Slack message can read: A new bug was reported by [+ Trigger → email]: [+ Trigger → description].

Where variables come from

  • Trigger data is the record, form submission or webhook payload that started the workflow. Every later step can use it.
  • Action outputs are the result of any earlier action. For example, an AI Categorize step outputs a category field, and a Find record step outputs all the record’s fields.
  • Loop variables are the current item inside a loop. Pick them under the loop step in the variable picker. See Lists and loops.

Every action produces outputs, including AI actions. That lets you chain an AI classification into a Branch condition or a record update.

For example, a form submission starts a workflow. Step 1 uses the submitter’s email from the trigger to look up their user record. Step 2 sends a Slack message that combines the form’s message field (+, Trigger, message) with the user’s plan from step 1 (+, Step 1, plan).

Trigger payloads

Each trigger gives the workflow different variables when it starts:

  • App triggers (Submit form, Run custom workflow, Add record, Edit record) provide context about the app, including applicationId, pageId, and blockId. Triggers from list blocks also include the specific record object.
  • Softr Databases triggers provide an id and a fields object containing all key-value pairs from the record.
  • User added provides user fields including fullName, credentials.email, and userGroups, so you can branch based on permissions.
  • Webhook and Calendly triggers pass the raw body of the event. Webhooks also provide header and query variables.

Lists and loops

A step that returns several records gives a list. To act on each item, put the steps inside a Loop. Inside the loop, the variables of the current item replace the list.

Reshape data

When a value needs formatting, splitting, or math, use Transform data, or Run custom code for anything more complex.

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.