Appearance
Action
The action trigger is used to start a workflow whenever an external action is taken either by UI Actions, MCP (Model Context Protocol), or via the RESTful API. Unlike manual triggers which require user interaction in the Situate UI, action triggers are designed for programmatic invocation by external systems and AI agents.

The trigger above, RollbackDatabase, is called whenever the database needs to be rolled back. Its one trigger variable, rollbackDate, is a passed parameter: the caller supplies its value, so the Value column shows <passed by calling workflow>.
Every action trigger needs a Trigger Name, which is the name callers use to start it. Variables can be set just like any other trigger (See Passing Variables with Triggers).
Trigger Description
The description field explains when this trigger should be used. Write it for the caller, who sees it before choosing a trigger. This is especially important when a workflow has multiple triggers with different purposes.
In the example above, the description says when a rollback is needed (once processing reaches the import steps) and when it isn't (a failure in the "pre-test" steps, whose end is marked by an annotation on the workflow). Other examples:
- "Use this trigger for scheduled daily processing runs"
- "Use this trigger for on-demand reprocessing of a date range"
The trigger description is returned by the MCP list_triggers tool, helping AI agents select the appropriate trigger for their task.
Passing Parameters
Action triggers can define variables with the Passed Parameter method. Unlike other variable methods (JS Expression, Prompt User, etc.), passed parameter variables receive their values from the caller rather than being computed or prompted within Situate.
Defining Parameters
To define a parameter, add a trigger variable and set its Method to Passed Parameter. Every passed parameter needs a Description. Until it has one, the dialog shows A description is needed to give context to the caller and OK is disabled.

The description is what the caller sees, so write it for them: say what the value means and the exact format to send, with an example.

Here the description of rollbackDate tells the caller that it's the date of the last successful processing, sent as an ISO string in UTC, such as 2026-09-17T00:00:00Z.
The MCP list_triggers tool returns each action trigger's passed parameters with their descriptions, so AI agents know what to send. See Parameters for more on writing descriptions.
Calling via MCP
AI agents can invoke action triggers using the MCP start_workflow tool:
json
{
"workflowId": "m107f6fe-64e5-11e7-80cb-14109fe12bfb",
"triggerName": "RollbackDatabase",
"parameters": {
"rollbackDate": "2026-09-17T00:00:00Z"
}
}For more information on MCP tools, see MCP Tools Reference.
Calling via REST
Parameters can also be passed via REST API in a JSON payload:
bash
curl -k -H "Content-Type: application/json" -X POST \
"https://localhost/situate/workflows/m107f6fe-64e5-11e7-80cb-14109fe12bfb?trigger=RollbackDatabase" \
-d '{"rollbackDate": "2026-09-17T00:00:00Z"}'Missing Parameters
If the caller doesn't supply a passed parameter, the workflow fails with an error that names it, such as The parameter, rollbackDate, was not defined.