Templates / Audit SPF, DKIM and DMARC DNS for sheet domains with Google DNS, GPT-4o-mini and Telegram

Audit SPF, DKIM and DMARC DNS for sheet domains with Google DNS, GPT-4o-mini and Telegram

Ready for 3.0

by Ashish Agarwal · 0 views · created 2026-10-23 · SecOps, AI Summarization

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 AI workflow has 16 nodes and runs on a schedule (every week at 08:00) (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI Chat Model and Telegram. It also calls dns.google over HTTP.

How it runs

Trigger: On a schedule (every week at 08:00) (plus 1 other trigger).

  1. Read domains (Google Sheets): uses Google Sheets
  2. Build DNS queries (Code): runs custom JavaScript code
  3. DNS lookup (Google DoH) (HTTP Request): calls dns.google
  4. Score each domain (Code): runs custom JavaScript code
  5. Any problems? (If): checks a condition and branches into true / false
  6. AI fix plan (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Fix plan format
  7. No action needed (Edit Fields (Set)): sets 1 field: fix_plan
  8. Attach plan to domain (Code): runs custom JavaScript code
  9. Sheet columns (Edit Fields (Set)): sets 6 fields: domain, score, grade…
  10. Score dropped? (If): checks a condition and branches into true / false

…plus 2 more steps. See the full node list below.

Services it uses

Google SheetsOpenAI Chat ModelTelegram

HTTP calls to: dns.google

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 (11)

From the author

Quick Overview This workflow checks SPF, DKIM, DMARC, and MX DNS records for a list of domains using Google Public DNS over HTTPS, compares the results to the previous run, and sends a Telegram message only when problems appear, get fixed, or records change.…

Excerpt from Ashish Agarwal'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.