serverserv serverserv

Domain expiry reminder: free n8n workflow template

By Siam Ahmed, software engineer · 3 min read · Updated

Never lose a domain to a missed renewal. Once a day this workflow looks up each of your domains in RDAP, the public registration data service, and emails you when one expires within 30 days. No API key or paid service needed.

Download the template

Free download
6 nodes · tested on n8n 2.46 · MIT licence · no credentials included
Download JSON

How it works

  1. Every day at 9 starts the check.
  2. Domains to watch is your list of domains and the warning period, edited in a Code node.
  3. Look up RDAP asks rdap.org for each domain's registration data, which redirects to the right registry.
  4. Days left finds the expiration date and works out the days remaining.
  5. Expiring soon? passes on domains inside the warning period, and Email alert tells you which one and when it expires.

Nodes used: Schedule Trigger, Code, HTTP Request, If, Send Email.

What you need

  • Any SMTP account to send email from (your email provider, Brevo, Mailgun and so on)

Set it up

  1. Import the workflow and edit the list in Domains to watch. Enter domains without https:// or www.
  2. Change warnDays if you want more or less notice than 30 days.
  3. Open Email alert, add an SMTP credential and set the from and to addresses.
  4. Activate the workflow.

New to importing? In n8n, open a new workflow, then paste the copied JSON onto the canvas or use the menu (the three dots) and choose Import from file. Credentials are never included.

Ways to customise it

  • Send the alert to Telegram or Slack instead of email.
  • Read the domain list from a Google Sheet so your team can edit it.
  • Add a second, shorter warning at 7 days.

Where to run it

Scheduled workflows need n8n running all the time. You can try it on your own computer, but for real use it belongs on a server. serverserv n8n Hosting gives you n8n pre-installed on your own KVM server with HTTPS, from $13.39 a month, or $8.39 a month on a 3-year term, with no execution limits.

Questions

Does it work for every domain extension?

It works for .com, .net, .org and most other extensions that publish RDAP data. A few country-code domains do not share an expiry date; the workflow emails you that the date is unknown so you can check them by hand.

Do I need an API key?

No. RDAP is a free public service. Keep the check to once a day so you stay well within fair use.

Is this n8n template free to use?

Yes. It is free under the MIT licence, for personal and business use. You need your own n8n instance and an SMTP account for the alerts.

Sources

Plans from $2.99/moSee plans