Quick overview
This workflow runs every Monday to check a list of domains using Apify Domain Intelligence, then writes registrar, domain and SSL expiry, email security (SPF/DMARC), and website status into Google Sheets with an Issues column that flags problems.
How it works
- Runs every Monday at 08:00 on a schedule.
- Sends the configured domain list to Apify Domain Intelligence and retrieves DNS, SSL, email, and website status details.
- Keeps only results that are valid domain reports and ignores non-domain/error rows.
- Builds a per-domain Issues summary (expiry warnings, SSL trust/expiry, SPF/DMARC gaps, and website errors) and formats the remaining fields for reporting.
- Appends new rows or updates existing rows in Google Sheets by matching on the Domain column.
Setup
- Create an Apify account, generate an API token, and add an HTTP Header Auth credential that sets
Authorization: Bearer <YOUR_TOKEN> for the Apify request.
- Update the domain list and
warnDays threshold in the workflow to control what gets checked and when expiry warnings appear.
- Connect Google Sheets, paste your spreadsheet URL and pick the tab. The first row needs these headers: Domain, Issues, Registrar, Domain expires, Days to expiry, SSL expires, SSL days left, Email provider, SPF, DMARC policy, HTTP status, Final URL, Last checked. After picking the tab, n8n resets the mapping: set Mapping Column Mode back to Map Automatically and Column to match on to “Domain”.
Requirements
- An Apify account (the free plan's monthly credit covers small lists; the Domain Intelligence Actor costs about $5 per 1,000 domain checks) and a Google account with Google Sheets.
Customization
- Change warnDays, run daily instead of weekly, or add a Filter on Issues != "OK" followed by Slack, Gmail or Microsoft Teams to get alerted only when something needs attention.
Additional info
Registration data comes from RDAP, the official successor to WHOIS; some country domains (for example .io and .es) don't publish it, so their registrar and expiry stay empty. DMARC is only flagged for domains that receive email. One run must finish within 5 minutes, which covers a few hundred domains. Tested on n8n 2.46.6. Disclosure: I built the Apify Actor this template uses.