In this section we will review the Workflow components.
keep run, the CLI run the alert regardless of the triggers.
# run manually
- type: manual
# run every time alert from cloudwatch triggered
- type: alert
- key: source
# run every 10 seconds
- type: interval
Steps are optional and define a sequence of actions that fetch or compute data. They are used to add data to the workflow, which can be used in other steps or actions.
An action defines what to do when a workflow is triggered. Actions usually rely on providers for executing specific tasks, like sending a Slack message.
A condition sets the rules under which an action should be performed. For example, you can set a condition to only trigger an action if certain criteria are met.