๐ฌ Send SaaS trial follow-up emails with MongoDB and Gmail
โก 61 views ยท ๐ฌ Lead Nurturing & AI Sales Agents
Description
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 workflow sends a targeted email using Gmail. This ensures consistent engagement and improves trial-to-paid conversion without manual effort.
Step-by-step
-
Fetch and filter trial users
- Schedule Trigger โ Runs the workflow daily at a fixed time.
- Find documents โ Retrieves users with an active trial plan from MongoDB.
- Code in JavaScript โ Calculates trial progress and assigns a trigger type (day_3, day_7, day_13, last_day).
-
Send stage-based emails
- Loop Over Items โ Iterates through each filtered user.
- Switch โ Routes users based on their trigger type.
- Send day 3 email โ Sends onboarding encouragement email.
- Send day 7 mail โ Sends mid-trial engagement email.
- Send day 13 mail โ Sends near-expiry reminder email.
- Send Last day email โ Sends final urgency email before trial ends.
- Merge โ Combines all branches and continues looping for remaining users.
Why use this?
- Automates user engagement throughout the trial lifecycle
- Improves activation and feature adoption with timely nudges
- Increases conversion rates with strategic email timing
- Eliminates manual tracking of trial users
- Scales easily for large SaaS user bases
๐ Nodes Used
MongoDB, Gmail, Schedule Trigger
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File