The simplest possible workflow example to help you understand the basics of Render Workflows.
- What is a task? A function that can be executed as a workflow
- What is task chaining? A task calling another task using
await - How to orchestrate: Combining multiple tasks to create workflows
calculateAndProcess (multi-step orchestrator)
├── addDoubledNumbers
│ ├── double (chained run #1)
│ └── double (chained run #2)
└── processNumbers
├── double (chained run for item 1)
├── double (chained run for item 2)
└── double (chained run for item N)
npm install
npm run build
npm startCreate a new Workflow service on Render:
- Build command:
npm install && npm run build - Start command:
npm start