Templates / Send SaaS trial follow-up emails with MongoDB and Gmail

Send SaaS trial follow-up emails with MongoDB and Gmail

Ready for 3.0

by Avkash Kakdiya ✓ · 61 views · created 2026-03-26 · Lead Nurturing

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 workflow has 10 nodes and runs on a schedule (every day). Along the way it connects MongoDB and Gmail.

How it runs

Trigger: On a schedule (every day).

  1. Find documents (MongoDB): uses MongoDB
  2. Code: runs custom JavaScript code
  3. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Switch: routes items into 4 branches
  5. Send day 3 email (Gmail): uses Gmail
  6. Send day 7 mail (Gmail): uses Gmail
  7. Send day 13 mail (Gmail): uses Gmail
  8. Send Last day email (Gmail): uses Gmail
  9. Merge: merges the data from its input branches

Services it uses

MongoDBGmail

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

From the author

How it works This workflow runs on a daily schedule to monitor users currently on a trial plan. It fetches user data from MongoDB, calculates their trial stage, and assigns a trigger label such as Day 3, Day 7, Day 13, or Last Day. Based on this stage, the…

Excerpt from Avkash Kakdiya'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.