Appearance
Passed Parameters
The Passed Parameter method receives a variable's value from whatever starts the workflow. It's used in action triggers, which are started by REST API calls, MCP tools and UI Actions, and in workflow triggers, which are started by another workflow's Workflow Exec task. It's also offered in event triggers and application templates. Unlike other variable methods which compute or prompt for values within Situate, passed parameter variables expect their values to be supplied by the caller.
When to Use Parameters
Use the Passed Parameter method when:
- A workflow needs input from an external system or from the workflow that calls it
- Values must be provided at runtime by the caller
- The workflow is designed for programmatic invocation (not manual UI execution)
The Action Trigger Dialog
The Action Trigger configuration dialog shows both the trigger-level description and the variables defined for the trigger:

Key elements:
- Trigger Name: A unique identifier used by callers to invoke this specific trigger
- Description: Explains when and why to use this trigger (see Trigger Descriptions)
- Trigger Variables: Variables specific to this trigger, including passed parameters that must be supplied by callers
In the example above, the rollbackDate variable uses the Passed Parameter method, indicated by the "Passed Parameter" entry in the Method column and the value showing "<passed by calling workflow>".
Important!
AI agents choose a trigger by reading its description. The trigger name alone, such as RollbackDatabase, doesn't tell an agent when to use it, when not to use it, or how it differs from the other triggers in the workflow. Write a rich, multi-line description that explains:
- The purpose of the trigger: what it does and what the workflow will do when it's started this way.
- When to select it over the other triggers, with concrete examples of the situations it's meant for.
- When not to select it, and which trigger to use instead.
For example, a workflow with a normal run trigger and a rollback trigger might describe them as:
- "Start the daily EOD run. Use this when the previous run succeeded, or when it failed in the "pre-test" steps, before any data was imported. No rollback is done."
- "Roll back the database, then rerun. Use this when the previous run failed in or after the import steps, because the database may hold partial data. If the failure was in the "pre-test" steps, use the daily EOD trigger instead."
A vague description such as "Rollback trigger" leaves the agent guessing, and a wrong guess can start the wrong processing.
Defining a Parameter Variable
To define a parameter, add a variable to the trigger and set its Method to Passed Parameter. Every passed parameter needs a Description, which tells callers exactly what value to provide and in what format. OK stays disabled until it has one.

In this example, the description explains that rollbackDate is the date of the last successful processing, with a concrete example showing the ISO format expected: 2026-09-17T00:00:00Z.
Writing Effective Descriptions
Descriptions serve multiple audiences:
- Human operators invoking workflows via UI or scripts
- API clients integrating Situate into automated pipelines
- AI agents using MCP tools to orchestrate workflows
Best Practices
Write descriptions that are specific about format and purpose:
| Poor Description | Better Description |
|---|---|
| "date" | "EOD date (midnight) for processing day. Format: YYYY-MM-DDTHH:MM:SSZ" |
| "server" | "Target server hostname (e.g., prod-db-01)" |
| "mode" | "Run mode: 'full' for complete refresh, 'incremental' for delta only" |
| "count" | "Maximum records to process (1-10000)" |
Effective descriptions include:
- The purpose of the parameter in the workflow's context
- Expected format with examples
- Valid values or ranges when applicable
- Edge cases or important constraints
Calling Workflows with Parameters
Via MCP
MCP clients can discover parameters using the list_triggers tool, which returns parameter names and descriptions:
json
{
"triggers": [
{
"name": "RollbackDatabase",
"description": "This trigger should be called whenever a database rollback is necessary...",
"parameters": [
{
"name": "rollbackDate",
"description": "This is the day you want to roll back to..."
}
]
}
]
}Then invoke with start_workflow:
json
{
"workflowId": "abc-123",
"triggerName": "RollbackDatabase",
"parameters": {
"rollbackDate": "2026-09-17T00:00:00Z"
}
}Via REST API
Pass parameters as a JSON payload:
bash
curl -k -H "Content-Type: application/json" -X POST \
"https://server/situate/workflows/{workflowId}?trigger=RollbackDatabase" \
-d '{"rollbackDate": "2026-09-17T00:00:00Z"}'Via a Calling Workflow
A workflow calls another workflow with the Workflow Exec task, which fires a workflow trigger in the called workflow. The Workflow Exec task supplies a value for each of the workflow trigger's passed parameters, either fixed or as an expression that uses the calling workflow's variables. See Workflows Calling Workflows for an example.
Error Handling
If a required parameter is not provided, the workflow fails immediately with an error identifying the missing parameter:
text
The parameter, rollbackDate, was not definedThis fail-fast behavior helps callers quickly identify and correct issues rather than having the workflow fail later with confusing errors.
Trigger Descriptions
The trigger-level Description field (shown at the top of the Action Trigger dialog) explains when to use this particular trigger. This is especially important when a workflow has multiple Action Triggers for different use cases:
- "For AI to call when it wants to start the EOD run and no rollback is needed"
- "Use when reprocessing a date range—supports automatic rollback"
- "Emergency trigger—bypasses normal validation checks"
Well-written trigger descriptions help callers—whether scripts, integrations, or AI agents—select the appropriate trigger for their specific situation without needing to understand the workflow's internal implementation.