Automate steps with Workflows
Workflows let you chain service calls and decisions in a short YAML file, and run them on demand. Here is a simple health check for our shop.
Video, 0:47. Serverless.
Steps
- Overview (0:00)
- Steps in YAML (0:11)
- Active (0:24)
- Succeeded: 200 (0:27)
- The workflow's call (0:37)
- Try it yourself (0:43)
Transcript
Workflows let you chain service calls and decisions in a short YAML file, and run them on demand. Here is a simple health check for our shop.
Create a workflow called check-shop. The first step makes an HTTP GET call to our shop. The second step returns the status code.
The workflow is active straight away.
Click Execute. The run succeeds in about 60 milliseconds. It took two steps, and the shop answered 200 OK.
You can even see the workflow's request, in the shop's logs.