Monitor Hostinger email DNS records weekly and send alert emails via SMTP
UnknownWhat this workflow does
This workflow has 9 nodes and runs on a schedule (every week at 08:00). Along the way it connects Hostinger Api (community).
How it runs
Trigger: On a schedule (every week at 08:00).
- Set Notification Email (Edit Fields (Set)): sets 1 field: notify_email
- Fetch Hostinger Domains (Hostinger Api): work with domain
- Split Domain Records (Split Out): splits a list into separate items
- Fetch DNS Zone Data (Hostinger Api): get dns zone
- Check MX SPF DMARC DKIM Health (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Build HTML Alert Email (Code): runs custom JavaScript code
- Send Domain Alert Email (Send Email): sends an email over SMTP
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-hostinger-api is verified or supports 3.0 (used in Fetch Hostinger Domains, Fetch DNS Zone Data).
- 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 - Edit Fields (Set)
n8n-nodes-base.set - Hostinger Api
n8n-nodes-hostinger-api.hostingerApi - Split Out
n8n-nodes-base.splitOut - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow runs every Monday at 8am to check email-related DNS records (MX, SPF, DMARC, and DKIM) for all domains in your Hostinger account and sends an HTML alert email when it detects missing records, tracking prior results to highlight…