Triage alerts from Syncro and submit to OpsGenie
Ready for 3.0What this workflow does
This workflow has 7 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes. It also calls api.opsgenie.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Switch: routes items into 1 branches
- Set (Edit Fields (Set)): sets or maps fields
- If: checks a condition and branches into true / false
- Create Alert (HTTP Request): calls api.opsgenie.com
- Close Alert (HTTP Request): calls an HTTP API
HTTP calls to: api.opsgenie.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - No Operation, do nothing
n8n-nodes-base.noOp - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch
From the author
This workflow will take an alert from Syncro, determine if it's an agentofflinetrigger type, then determine if it's a new alert or a close to an existing alert, and then submit it to OpsGenie. New alerts will create a new alert in OpsGenie and resolved alerts…