Quickstart
This guide walks you through triggering a workflow run and retrieving its results.Prerequisites
- An Origami account with a workflow that has an Input node and Output node (see Workflow Setup)
- Your API key
- A workflow ID (find it in the URL:
app.origamiagents.com/workflows/{workflowId})
Step 1: Get your request body
Open your workflow and click on the Input node. If you’ve added test data, you’ll see an API Usage section with a ready-to-use request body:Step 2: Trigger a Run
Start a workflow run using the async endpoint:The
rows array you send replaces any test data in the Input node. Each object in the array becomes one row processed by your workflow.Step 3: Poll for Status
Check the run status until it completes:Step 4: Get Results
Once the run completes, fetch the output from the Output node:Next Steps
Workflow Setup
Learn more about Input and Output nodes
Trigger Runs
Full API reference for triggering runs
Monitor Status
See all possible run statuses
Get Output
Learn about response formats