Step 3 - React to Submissions
Chain a second workflow to every form submission with a Task Completed trigger, and map the payload into your data with expressions.
Workflow 2 is the reactor: every time someone submits the form, it starts a fresh run with that person's answers as its trigger payload. From there it can do anything a workflow can do - store the data, notify someone, branch on the answers, call an AI agent, or hit an external API.
Building the reaction workflow
Create the second workflow
Navigate to Settings → Workflows, select New Workflow, and name it Wellness Check-in Handler. Keeping reaction logic in its own workflow (rather than inside the broadcaster) means you can change what happens with answers without ever touching the task assignment.
Add a Task Completed trigger
Open the Triggers tab and add a trigger of type TaskCompleted:
- Source workflow - select
Daily Wellness Check-in(Workflow 1). This trigger only reacts to tasks created by that workflow. - Task node (optional) - if the source workflow contains several task nodes, narrow the trigger down to one of them. Leave it on Any task node to react to all of them.
Understand the trigger payload
Every submission starts a run whose trigger payload looks like this:
{
"taskId": "3f2c...",
"sourceRunId": "8a41...",
"sourceNodeId": "node_1732000000000_1",
"taskTitle": "Daily wellness check-in",
"completedByUserId": "9d13...",
"submittedAt": "2026-12-01T08:14:33+00:00",
"payload": {
"slept_well": true,
"energy_level": "Low",
"feeling_stressed": true,
"notes": "Rough night, big deadline tomorrow."
}
}| Key | What it contains |
|---|---|
taskId | The submitted task's ID. |
sourceRunId | The run of Workflow 1 that created this task. |
sourceNodeId | The node in Workflow 1 that created it - handy when several nodes assign tasks. |
taskTitle | The task's title. |
completedByUserId | Who submitted. |
submittedAt | When they submitted (ISO timestamp). |
payload | The form answers, keyed by the form's field keys. |
Everything above is available to any node in Workflow 2 through expressions - the payload is exposed as trigger, so form answers live at {{ trigger.payload.<fieldKey> }}.
Map the submission into a Resource
The natural home for repeated human answers is a Resource - a dynamic, schema-driven data store you define under Settings → Data → Resources. Create a Wellness Checkin Resource whose fields mirror the form (same keys, matching types):
| Field key | Type | Matches form field |
|---|---|---|
slept_well | Boolean | Checkbox |
energy_level | SingleSelect | Dropdown (Low, Medium, High) |
feeling_stressed | Boolean | Checkbox |
notes | String | Long text |
checked_in_at | Date | - |
reported_by | String | - |
On the canvas, add a Create Resource node and configure it:
resourceId- select Wellness Checkin.dynamicData- the field values, built from the trigger payload:
{
"slept_well": "{{ trigger.payload.slept_well }}",
"energy_level": "{{ trigger.payload.energy_level }}",
"feeling_stressed": "{{ trigger.payload.feeling_stressed }}",
"notes": "{{ trigger.payload.notes }}",
"checked_in_at": "{{ trigger.submittedAt }}",
"reported_by": "{{ trigger.completedByUserId }}"
}Consuming the payload in the builder
The dynamicData field above is the expression scripter doing the heavy lifting, and it is worth understanding the two ways it resolves values:
- A field that is a single
{{ ... }}expression keeps its native type.{{ trigger.payload.slept_well }}resolves to a real Boolean, so the Boolean resource field accepts it without conversion. Same for numbers, objects, and arrays. - Text mixed with expressions is rendered as a string.
Checked in at {{ trigger.submittedAt }}becomes one sentence - ideal for notification messages and instructions.
A second example, computed rather than copied straight from the payload:
{
"summary": "Checked in with {{ trigger.payload.energy_level }} energy",
"needs_follow_up": "{{ trigger.payload.energy_level == \"Low\" }}"
}Full Scriban power is on tap: fallbacks, arithmetic, dates, filters - e.g. {{ trigger.payload.notes | object.default "No notes shared" }}. The builder toolbar's expression cheat sheet has copy-paste recipes, and the Scripting guide has the complete reference.
Match your types end to end
The smoothest payloads are the ones where form field types and Resource field types agree: Checkbox ↔ Boolean, Dropdown ↔ SingleSelect (with the same options), Number ↔ Number, Long text ↔ String. Values then flow from the form straight into stored data with no conversion at all.
Beyond storing: the rest of the canvas
Storing the submission is just the first node. Because Workflow 2 is an ordinary workflow, the same answers can drive any logic you like:
- Branch on the answer - add a Condition node with
{{ trigger.payload.energy_level == "Low" }}and send a gentle check-in from a manager via a Send Notification node on the true branch. - Let AI read the free text - an Agent Call node can summarize
notes, classify sentiment, or draft a supportive follow-up, with a structured output schema so the result stays machine-readable. - Enrich and sync - Query Resources for this person's previous check-ins to compare against today, or push the submission to an external HR system via HTTP.
- Close the loop - a Send Notification node can thank the reporter:
Thanks for checking in, take care of yourself tonight.
One run per submission - publish anyway
Thirty-one submissions means thirty-one short runs of this workflow. Keep it lean, publish it, and toggle it Active - then watch the Runs tab fill up the next morning as people submit.
Where to next
Step 2 - Assign the Tasks
Build the scheduled workflow that broadcasts your form to users every morning with a single Assign Task node.
Putting It All Together
How the workflow builder, custom forms, the EAV data system, and Agent Call steps compose into human-in-the-loop automations - and why that combination is powerful.