Make sure this isn't the reason you're not getting subscribers
2 min read

Make sure this isn't the reason you're not getting subscribers

I found out this week that the confirmation link in the signup email didn't work for the Automation Cookbook! I've been making improvements and updating the settings on various services piece by piece, and I accidentally flipped some bad settings in my email service provider...
Make sure this isn't the reason you're not getting subscribers

Running a business has many moving parts. The more you can automate, the more it frees you up to address high level strategic challenges of your business. This is a newsletter about automating aspects of your business.

Story and Problem

Yikes! I found out this week that the confirmation link in the signup email didn't work for the Automation Cookbook! I've been making improvements and updating the settings on various services piece by piece, and I accidentally flipped some bad settings in my email service provider that caused the links to break.

I only happened to noticed because I was trying to set subscription goals. Otherwise, I would have never noticed, and wondered why no one was signing up this week. ๐Ÿ˜‘

While there are plenty of services for website uptime monitoring, there isn't really anything for email subscription monitoring. To stop this from happening again, I set up an email subscription monitoring automation.

If the workflow executed successfully, it won't do anything. If anything goes wrong in the subscription process, it'll alert me in Slack. ๐Ÿ“จ

Automation

This time, I was playing with n8n.io, so I implemented the email subscription monitor service with it.

The outline of the entire automation is:

  1. A cron node triggered every hour
  2. A WebRequest node to send a POST request to subscribe to the newsletter
  3. If the subscription is a success...
  4. A Gmail node to check the email account for latest messages
  5. A HTML Extract node to parse the email body for the email link
  6. A WebRequest node to send a GET request to check the confirmation link
  7. Success or failure, run an AWS lambda function to delete the member record
  8. If Subscribe or Visit fails, alert on Slack!
The entire email subscription signup automation

(The start node can't be deleted, so that's why it floats)

The Ghost newsletter/blogging platform doesn't have an API to add or remove members so that's why there's an AWS lambda node at the very end that removes members. All the lambda function does is log into the database and deletes the member record.

Normally databases aren't exposed directly to the web--even with a password, for security reasons, so that's why I did it this way. If the n8n container is in the same intranet as the database in a Kubernetes cluster, then maybe you'd connect directly.

This is more complicated than the usual automation because it has a bunch of steps. But it's entirely doable. Don't let dumb mistakes like this stop you from getting subscribers!

Photo by Alexandra Gorn on Unsplash

Enjoying these posts? Subscribe for more

Subscribe now
Already have an account? Sign in
You've successfully subscribed to Automation Cookbook.
Success! Your account is fully activated, you now have access to all content.
Success! Your billing info is updated.