Compound Actions
Compound Actions empower developers to build sophisticated, multi-step automations within Agent Studio, chaining actions, data transformations, and logic into reusable AI workflows.
Think of Compound Actions as an orchestration layer that can:
- Collect input arguments from data sources
- Execute actions to complete tasks
- Conditionally run different branches of logic
- Loop over items and run steps for each item
- Run steps at the same time
- Return information to the user or processes
- Handle error gracefully
- Notify users with interactive messages and buttons
Why Use Compound Actions
- Modularity: Break down monolithic agents into testable, composable steps.
- Efficiency: Parallelize tasks or loop over lists to cut execution time.
- Resilience: Built-in error handling and early exits keep workflows robust.
- Interactivity: Notify users mid-flow with buttons for seamless handoffs.
The steps Key
The steps key defines a sequence of expressions executed in order, forming the backbone of multi-step Compound Actions. It groups logic cleanly, ensuring predictable flow while enabling nesting for controls like switch or parallel. Use it whenever chaining more than one expression, it’s required for compound structures to maintain order and scope.
Getting Started
-
Prerequisites: Familiarity with Moveworks Data Mappers and DSL
-
Use the Low Code Editor: Get started fast with the low code editor. Switching back to code mode will generate the compound action script for you and viceversa.

📘 Comments
YAML comments (
#) are supported and preserved during edits, but switching between low-code and code views will strip them.