Workflows are visual automation graphs. A trigger starts the run, actions perform work, conditions branch the path, and logs show what happened at each node. Use workflows when you need repeatable operational logic that spans SDX services, external systems, notifications, scripts, policies, tags, reports, or data transformation.Documentation Index
Fetch the complete documentation index at: https://altostrat.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Before you build a workflow, make sure you have:- Permission to view and create workflows.
- A workflow authorization for actions that call SDX on behalf of a user.
- Vault secrets for any external API credentials, tokens, passwords, or signing keys.
- A sample payload or test context for the event you expect the workflow to handle.
The Workflow Shape
Every workflow should answer four questions:- What starts it?
- What context does it receive?
- What decisions does it make?
- What side effects can it create?
Build A Workflow
Create the workflow
Go to Automation, open Workflows, then create a workflow. Give it a name and description that explain the operational intent, not just the implementation.
Add a trigger
Choose the trigger that matches the source event. For example, use a scheduled trigger for recurring checks, a WAN trigger for failover events, or an API trigger when an external system needs a response.
Add actions
Add nodes that perform the work. Common actions include Altostrat API calls, notifications, tag updates, WAN priority updates, external webhook calls, data transforms, and MikroTik script execution.
Add conditions
Use conditions when the workflow should branch based on status, tags, numbers, dates, booleans, arrays, or switch cases.
Test nodes
Test nodes with representative input. A node test is most useful when the context matches the event shape the workflow will receive in production.
Passing Data Between Nodes
Workflow nodes can use output from earlier nodes as variables in later node fields. Use this for things like:- Passing a
site_idfrom a site trigger into a Get Site action. - Using a WAN tunnel ID from a WAN event in a Get WAN Tunnel action.
- Sending transformed text into a notification.
- Mapping an external payload into the exact shape another API expects.
Design Patterns
Event response
Start from a platform event, enrich it with site or WAN data, then notify the right group or create an external ticket.
Scheduled audit
Run on a schedule, fetch site state, filter by tags or conditions, and produce a notification or report artifact.
Reusable subflow
Put common logic in a workflow-triggered workflow, then call it from multiple parent workflows.
Guarded change
Check tags, policy state, or service status before making a network-changing call.
Validation And Loops
SDX validates workflow structure before saving. Workflows that trigger other workflows cannot create circular dependencies, and a workflow cannot trigger itself. For lists, use Loop / Iterator carefully. Keep the loop body small, constrain the item list, and make downstream actions idempotent so a retried run does not duplicate work.Related Pages
Workflow triggers
Compare trigger types and event sources.
Node reference
Review the current trigger, action, condition, and loop node catalog.