Audit SPF DNS lookup limits with Google DNS, Slack, and Gmail
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs on a schedule (every day at 07:00) (plus 1 other trigger). Along the way it connects Slack and Gmail.
How it runs
Trigger: On a schedule (every day at 07:00) (plus 1 other trigger).
- Configuration (Edit Fields (Set)): sets 3 fields: domains, slackChannel, alertEmailTo
- Split Domains (Code): runs custom JavaScript code
- Resolve DNS Round (HTTP Request): calls an HTTP API
- Expand Includes Level (Code): runs custom JavaScript code
- Resolve DNS Round (HTTP Request): calls an HTTP API
- Expand Includes Level (Code): runs custom JavaScript code
- Resolve DNS Round (HTTP Request): calls an HTTP API
- Count SPF Lookups (Code): runs custom JavaScript code
- Build Alert Digest (Code): runs custom JavaScript code
- Send Slack Digest (Slack): uses Slack
…plus 1 more step. See the full node list below.
Services it uses
Other Gmail + Slack templates (957)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs daily (or manually) to audit SPF DNS lookup usage for your domains via Google DNS-over-HTTPS, then sends an alert digest to Slack and Gmail when records are missing, unsafe, or near/over the 10-lookup limit. How it works 1.…