Creating Event triggers rules and actions
Triggers rules and actions feature, allows you to respond to events as they occur within Infrahub by defining filter conditions and triggering actions.
success
By creating multiple rules and actions, you can build automated workflows.
How it works
- Define actions that will be executed when triggered
- Create trigger rules that match specific events
- Set filter conditions to narrow down which events should trigger actions
- Activate the trigger to start the automation
Example workflows
Workflow 1: adding devices to group
- Device is created → with platform
Arista EOS
- → Node trigger rule detects the creation
- → Group action adds device to
arista_devices
group
Workflow 2: Automating circuit endpoint creation
- Circuit is added to
provisioning_circuits
group - → Group trigger rule detects the addition
- → Generator action runs
create_circuit_endpoints
generator