Templates / Audit SPF DNS lookup limits with Google DNS, Slack, and Gmail

Audit SPF DNS lookup limits with Google DNS, Slack, and Gmail

Ready for 3.0

by Niranjan G ✓ · 4 views · created 2026-08-22 · SecOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Configuration (Edit Fields (Set)): sets 3 fields: domains, slackChannel, alertEmailTo
  2. Split Domains (Code): runs custom JavaScript code
  3. Resolve DNS Round (HTTP Request): calls an HTTP API
  4. Expand Includes Level (Code): runs custom JavaScript code
  5. Resolve DNS Round (HTTP Request): calls an HTTP API
  6. Expand Includes Level (Code): runs custom JavaScript code
  7. Resolve DNS Round (HTTP Request): calls an HTTP API
  8. Count SPF Lookups (Code): runs custom JavaScript code
  9. Build Alert Digest (Code): runs custom JavaScript code
  10. Send Slack Digest (Slack): uses Slack

…plus 1 more step. See the full node list below.

Services it uses

SlackGmail

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (7)

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.…

Excerpt from Niranjan G's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.