Meraki packet loss and latency alerts to Microsoft Teams
Ready for 3.0What this workflow does
This workflow has 16 nodes and runs on a schedule (cron */5 8-16 * * 1-5) (plus 1 other trigger). Along the way it connects Redis and Microsoft Teams. It also calls api.meraki.com over HTTP.
How it runs
Trigger: On a schedule (cron */5 8-16 * * 1-5) (plus 1 other trigger).
- Get Meraki Organizations (HTTP Request): calls api.meraki.com
- Get Org Name & ID (Edit Fields (Set)): sets or maps fields
- Get Uplink Loss and Latency (HTTP Request): calls an HTTP API
- Get Network IDs (HTTP Request): calls an HTTP API
- Combine latency to its respective Network (Merge): merges the data from its input branches
- Sets Network Variables (Edit Fields (Set)): sets or maps fields
- Makes Latency and Loss Filterable (Edit Fields (Set)): sets or maps fields
- Average Latency & Loss over 5m (Code): runs custom JavaScript code
- Filters Problematic sites (Code): runs custom JavaScript code
- Check if Alert Exists (Redis): get
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.meraki.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 (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Redis
n8n-nodes-base.redis - Microsoft Teams
n8n-nodes-base.microsoftTeams
From the author
This Template gives the ability to monitor all uplinks for your Meraki Dashboard and then alert your team in a method you prefer. This example is a Teams notification to our Dispatch Channel Setup will probably take around 30 minutes to 1h provided with the…