---
title: "Map data between workflow steps"
description: "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."
canonical: "https://docs.softr.io/workflows/map-data"
updated: "2026-12-04"
---

# Map data between workflow steps

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](/workflows/map-data/variable-picker.2x.webp)

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](#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](/workflows/logic#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](/workflows/logic#transform-data), or [Run custom code](/workflows/run-custom-code) for anything more complex.
