{"workflow":{"id":14356,"name":"Send SaaS trial follow-up emails with MongoDB and Gmail","views":3,"recentViews":0,"totalViews":3,"createdAt":"2026-03-26T11:23:52.479Z","description":"## How it works  \nThis 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.\n\n## Step-by-step  \n\n- **Fetch and filter trial users**  \n  - **Schedule Trigger** – Runs the workflow daily at a fixed time.  \n  - **Find documents** – Retrieves users with an active trial plan from MongoDB.  \n  - **Code in JavaScript** – Calculates trial progress and assigns a trigger type (day_3, day_7, day_13, last_day).  \n\n- **Send stage-based emails**  \n  - **Loop Over Items** – Iterates through each filtered user.  \n  - **Switch** – Routes users based on their trigger type.  \n  - **Send day 3 email** – Sends onboarding encouragement email.  \n  - **Send day 7 mail** – Sends mid-trial engagement email.  \n  - **Send day 13 mail** – Sends near-expiry reminder email.  \n  - **Send Last day email** – Sends final urgency email before trial ends.  \n  - **Merge** – Combines all branches and continues looping for remaining users.  \n\n## Why use this?  \n\n- Automates user engagement throughout the trial lifecycle  \n- Improves activation and feature adoption with timely nudges  \n- Increases conversion rates with strategic email timing  \n- Eliminates manual tracking of trial users  \n- Scales easily for large SaaS user bases  ","workflow":{"meta":{"instanceId":"c91c5b6efe2709e07c37996245857ac5d863d575d07e0072127351337c204c40","templateCredsSetupCompleted":true},"nodes":[{"id":"bf726ab7-2509-48ff-b182-2e252140c2ff","name":"Schedule Trigger","type":"n8n-nodes-base.scheduleTrigger","position":[5504,4256],"parameters":{"rule":{"interval":[{}]}},"typeVersion":1.3},{"id":"0cabb810-baac-4860-8efa-a70020181309","name":"Find documents","type":"n8n-nodes-base.mongoDb","position":[5680,4256],"parameters":{"query":"={\n  \"plan\": \"trial\"\n}","options":{},"collection":"users"},"typeVersion":1.2},{"id":"c71658b0-93b7-403c-a5ae-7fb764110d9b","name":"Code in JavaScript","type":"n8n-nodes-base.code","position":[5872,4256],"parameters":{"jsCode":"const today = new Date();\ntoday.setHours(0, 0, 0, 0); // normalize to midnight\n\nreturn items.map(item => {\n  const start = new Date(item.json.plan_start_date);\n  const end = new Date(item.json.plan_end_date);\n\n  start.setHours(0, 0, 0, 0);\n  end.setHours(0, 0, 0, 0);\n\n  const diffFromStart = Math.floor((today - start) / (1000 * 60 * 60 * 24));\n  const diffToEnd = Math.floor((end - today) / (1000 * 60 * 60 * 24));\n\n  let trigger_type = null;\n\n  if (diffFromStart === 3) trigger_type = \"day_3\";\n  else if (diffFromStart === 7) trigger_type = \"day_7\";\n  else if (diffFromStart === 13) trigger_type = \"day_13\";\n  else if (diffToEnd === 1) trigger_type = \"last_day\";\n\n  if (trigger_type) {\n    return {\n      json: {\n        ...item.json,\n        trigger_type,\n      }\n    };\n  }\n}).filter(Boolean);"},"typeVersion":2},{"id":"8b901153-fdb4-47ee-a1e2-fee784b43ee7","name":"Loop Over Items","type":"n8n-nodes-base.splitInBatches","position":[6144,4256],"parameters":{"options":{}},"typeVersion":3},{"id":"92fe7d8f-ed54-4b41-b53c-3f8fcf5c01be","name":"Switch","type":"n8n-nodes-base.switch","position":[6368,4224],"parameters":{"rules":{"values":[{"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"b5946cb5-be13-4d8b-97b4-16956a784b44","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.trigger_type }}","rightValue":"day_3"}]}},{"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"347fc24c-95ee-42aa-9e3c-ad02e33428c9","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.trigger_type }}","rightValue":"day_7"}]}},{"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"5520a26b-6a28-4141-bbf4-7e37cec1079c","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.trigger_type }}","rightValue":"day_13"}]}},{"conditions":{"options":{"version":3,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"3cc30190-7990-4077-9637-89e6f03a84d0","operator":{"type":"string","operation":"equals"},"leftValue":"={{ $json.trigger_type }}","rightValue":"last_day"}]}}]},"options":{}},"typeVersion":3.4},{"id":"1eaed7c1-fde9-48cb-827e-59b7650cefa7","name":"Merge","type":"n8n-nodes-base.merge","position":[6816,4224],"parameters":{"numberInputs":4},"typeVersion":3.2},{"id":"f891dc78-12dc-4788-b930-613bcdd2f177","name":"Send day 3 email","type":"n8n-nodes-base.gmail","position":[6592,3968],"webhookId":"f17b4e69-65c8-45d8-b558-54e754400264","parameters":{"sendTo":"={{ $json.email }}","message":"=<!DOCTYPE html>\n<html>\n<body style=\"font-family: Arial, sans-serif; line-height: 1.6; color: #333;\">\n  <p>Hi {{$json.name}},</p>\n\n  <p>Welcome to <strong>RecruitEase</strong>!</p>\n\n  <p>It's been a couple of days since you started your trial. Have you explored how easy hiring can be?</p>\n\n  <ul>\n    <li>Post job openings in minutes</li>\n    <li>Automatically analyze resumes with AI</li>\n    <li>Shortlist candidates using smart fit scoring</li>\n  </ul>\n\n  <p>Most recruiters see results within their first few job postings.</p>\n\n<p>\n    <a href=\"{{app_link}}\" style=\"background:#4CAF50;color:#fff;padding:10px 15px;text-decoration:none;border-radius:5px;\">\n      Start Hiring Now\n    </a>\n  </p>\n\n  <p>If you need help, just reply to this email — we’re here for you.</p>\n\n  <p>Best regards,<br>Team RecruitEase</p>\n</body>\n</html>","options":{},"subject":"Start hiring smarter with RecruitEase"},"typeVersion":2.2},{"id":"7614911e-e4c1-4aac-9570-699aa04ffe3f","name":"Send day 7 mail","type":"n8n-nodes-base.gmail","position":[6592,4160],"webhookId":"17cf05fe-9433-4c88-8185-54f12a473782","parameters":{"sendTo":"{{ $json.email }}","message":"=<!DOCTYPE html> <html> <body style=\"font-family: Arial, sans-serif; line-height: 1.6; color: #333;\">   <p>Hi {{$json.name}},</p>    <p>You’re halfway through your <strong>RecruitEase</strong> trial — let’s make it count.</p>    <ul>     <li>Evaluate candidates with AI-powered resume analysis</li>     <li>Get smart candidate suggestions instantly</li>     <li>Schedule interviews and track hiring status effortlessly</li>   </ul>    <p>RecruitEase helps you save time and make better hiring decisions.</p>    <p>     <a href=\"{{app_link}}\" style=\"background:#2196F3;color:#fff;padding:10px 15px;text-decoration:none;border-radius:5px;\">       Explore Features     </a>   </p>    <p>Need help? Just reply — we’re here for you.</p>    <p>Best regards,<br>Team RecruitEase</p> </body> </html>","options":{},"subject":"You're halfway there — unlock smarter hiring"},"typeVersion":2.2},{"id":"9e0b3c3c-668e-4282-baf6-532e255354e8","name":"Send day 13 mail","type":"n8n-nodes-base.gmail","position":[6592,4352],"webhookId":"7648e7dc-bb41-4d01-b10d-8ad31d5efe3a","parameters":{"sendTo":"={{ $json.email }}","message":"=<!DOCTYPE html> <html> <body style=\"font-family: Arial, sans-serif; line-height: 1.6; color: #333;\">   <p>Hi {{$json.name}},</p>    <p>Your <strong>RecruitEase</strong> trial is about to end.</p>    <p>Before it expires, make sure you:</p>    <ul>     <li>Try resume analysis & fit scoring</li>     <li>Explore candidate recommendations</li>     <li>Experience automated hiring workflows</li>   </ul>    <p>     <a href=\"{{app_link}}\" style=\"background:#FF9800;color:#fff;padding:10px 15px;text-decoration:none;border-radius:5px;\">       Continue Now     </a>   </p>    <p>You’re just one step away from transforming your hiring process.</p>    <p>Best regards,<br>Team RecruitEase</p> </body> </html>","options":{},"subject":"Your RecruitEase trial is almost over"},"typeVersion":2.2},{"id":"0914ef25-8817-416e-b694-5f99e93b464e","name":"Send Last day email","type":"n8n-nodes-base.gmail","position":[6592,4544],"webhookId":"40df6753-c1a4-48ef-b2c8-bf431dd99a78","parameters":{"sendTo":"={{ $json.email }}","message":"=<!DOCTYPE html> <html> <body style=\"font-family: Arial, sans-serif; line-height: 1.6; color: #333;\">   <p>Hi {{$json.name}},</p>    <p>This is your <strong>final day</strong> of the RecruitEase trial.</p>    <p>After today, your access will expire and your hiring workflow may be interrupted.</p>    <p>If you’ve found value in simplifying recruitment with automation, now is the perfect time to upgrade.</p>    <p>     <a href=\"{{upgrade_link}}\" style=\"background:#f44336;color:#fff;padding:10px 15px;text-decoration:none;border-radius:5px;\">       Upgrade Now     </a>   </p>    <p>Continue hiring smarter, faster, and more efficiently with RecruitEase.</p>    <p>Best regards,<br>Team RecruitEase</p> </body> </html>","options":{},"subject":"Last day — don’t lose your hiring progress"},"typeVersion":2.2},{"id":"f474438b-6111-41d2-bf83-48869bc9ff55","name":"Sticky Note6","type":"n8n-nodes-base.stickyNote","position":[4736,3712],"parameters":{"width":656,"height":1008,"content":"# Automated SaaS Trial Expiry Nudge Sequence\n\nThis workflow automates follow-up emails for users during their SaaS trial period. It ensures timely engagement by sending personalized nudges at key intervals—Day 3, Day 7, Day 13, and the final day before trial expiry. This helps improve user activation, retention, and conversion without manual tracking.\n\nThe workflow runs daily, checks user subscription data, and determines which stage each user is in. Based on this, it triggers the appropriate email communication. Each email is designed to guide users toward product adoption and encourage conversion before the trial ends.\n\n### How it works\n- Workflow runs daily at midnight  \n- User data is fetched from database/spreadsheet  \n- Trial dates are analyzed to determine stage  \n- Users are tagged (Day 3, 7, 13, Last Day)  \n- Loop processes each eligible user  \n- Relevant email is sent based on stage  \n\n### Setup\n- Configure Schedule Trigger (daily midnight).  \n- Connect your database or spreadsheet.  \n- Ensure plan start/end dates are available. \n- Connect Gmail account credentials (or any email provider).  \n- Emails are based on a demo SaaS — update content to match your product."},"typeVersion":1},{"id":"7100a310-ea36-4793-b9dd-12ef2e358460","name":"Sticky Note7","type":"n8n-nodes-base.stickyNote","position":[6064,3712],"parameters":{"color":7,"width":928,"height":1008,"content":"## Step 2 : Send Stage-Based Nudge Emails\n\nLoops through filtered users and sends the appropriate email based on trial stage. "},"typeVersion":1},{"id":"026919c7-514f-4f18-80f5-1a25108e7ae4","name":"Sticky Note8","type":"n8n-nodes-base.stickyNote","position":[5424,3712],"parameters":{"color":7,"width":608,"height":1008,"content":"## Step 1 : Fetch & Filter Trial Users\n\nRuns daily at midnight, retrieves user and plan data, and filters users based on their trial stage (Day 3, 7, 13, or last day before expiry)."},"typeVersion":1}],"pinData":{},"connections":{"Merge":{"main":[[{"node":"Loop Over Items","type":"main","index":0}]]},"Switch":{"main":[[{"node":"Send day 3 email","type":"main","index":0}],[{"node":"Send day 7 mail","type":"main","index":0}],[{"node":"Send day 13 mail","type":"main","index":0}],[{"node":"Send Last day email","type":"main","index":0}]]},"Find documents":{"main":[[{"node":"Code in JavaScript","type":"main","index":0}]]},"Loop Over Items":{"main":[[],[{"node":"Switch","type":"main","index":0}]]},"Send day 7 mail":{"main":[[{"node":"Merge","type":"main","index":1}]]},"Schedule Trigger":{"main":[[{"node":"Find documents","type":"main","index":0}]]},"Send day 13 mail":{"main":[[{"node":"Merge","type":"main","index":2}]]},"Send day 3 email":{"main":[[{"node":"Merge","type":"main","index":0}]]},"Code in JavaScript":{"main":[[{"node":"Loop Over Items","type":"main","index":0}]]},"Send Last day email":{"main":[[{"node":"Merge","type":"main","index":3}]]}}},"lastUpdatedBy":1,"workflowInfo":{"nodeCount":13,"nodeTypes":{"n8n-nodes-base.code":{"count":1},"n8n-nodes-base.gmail":{"count":4},"n8n-nodes-base.merge":{"count":1},"n8n-nodes-base.switch":{"count":1},"n8n-nodes-base.mongoDb":{"count":1},"n8n-nodes-base.stickyNote":{"count":3},"n8n-nodes-base.splitInBatches":{"count":1},"n8n-nodes-base.scheduleTrigger":{"count":1}}},"status":"published","readyToDemo":null,"user":{"name":"Avkash Kakdiya","username":"itechnotion","bio":"🚀 Founder of iTechNotion — we build custom AI-powered automation workflows for startups, agencies, and founders.\n💡 Specializing in agentic AI systems, content automation, sales funnels, and digital workers.\n🔧 14+ years in tech | Building scalable no-code/low-code solutions using n8n, OpenAI, and other API-first tools.\n📬 Let’s automate what slows you down.","verified":true,"links":["https://calendly.com/itechnotion_sales/schedule-your-expert-consultation-for-automation"],"avatar":"https://gravatar.com/avatar/cd18cea4647ff1df4cb154c7d172ca67dcf656f09a3f1ffece5646296d1822d5?r=pg&d=retro&size=200"},"nodes":[{"id":24,"icon":"file:merge.svg","name":"n8n-nodes-base.merge","codex":{"data":{"alias":["Join","Concatenate","Wait"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-to-sync-data-between-two-systems/","icon":"🏬","label":"How to synchronize data between two systems (one-way vs. two-way sync"},{"url":"https://n8n.io/blog/supercharging-your-conference-registration-process-with-n8n/","icon":"🎫","label":"Supercharging your conference registration process with n8n"},{"url":"https://n8n.io/blog/migrating-community-metrics-to-orbit-using-n8n/","icon":"📈","label":"Migrating Community Metrics to Orbit using n8n"},{"url":"https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/","icon":"👦","label":"Build your own virtual assistant with n8n: A step by step guide"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.merge/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Merge"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMTc3XzUxOCkiPgo8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQ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MjEuNDkwMyAxNjAgMCAxMzguNTEgMCAxMTJWNDhaTTEwNCA0OEMxMDguNDE4IDQ4IDExMiA1MS41ODE3IDExMiA1NlYxMDRDMTEyIDEwOC40MTggMTA4LjQxOCAxMTIgMTA0IDExMkg1NkM1MS41ODE3IDExMiA0OCAxMDguNDE4IDQ4IDEwNFY1NkM0OCA1MS41ODE3IDUxLjU4MTcgNDggNTYgNDhIMTA0Wk00NTYgMjI0QzQ2MC40MTggMjI0IDQ2NCAyMjcuNTgyIDQ2NCAyMzJWMjgwQzQ2NCAyODQuNDE4IDQ2MC40MTggMjg4IDQ1NiAyODhINDA4QzQwMy41ODIgMjg4IDQwMCAyODQuNDE4IDQwMCAyODBWMjMyQzQwMCAyMjcuNTgyIDQwMy41ODIgMjI0IDQwOCAyMjRINDU2Wk0xMTIgNDA4QzExMiA0MDMuNTgyIDEwOC40MTggNDAwIDEwNCA0MDBINTZDNTEuNTgxNyA0MDAgNDggNDAzLjU4MiA0OCA0MDhWNDU2QzQ4IDQ2MC40MTggNTEuNTgxNyA0NjQgNTYgNDY0SDEwNEMxMDguNDE4IDQ2NCAxMTIgNDYwLjQxOCAxMTIgNDU2VjQwOFoiIGZpbGw9IiM1NEI4QzkiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTc3XzUxOCI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},"displayName":"Merge","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":39,"icon":"fa:sync","name":"n8n-nodes-base.splitInBatches","codex":{"data":{"alias":["Loop","Concatenate","Batch","Split","Split In Batches"],"resources":{"generic":[{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.splitinbatches/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"organization\"]","defaults":{"name":"Loop Over Items","color":"#007755"},"iconData":{"icon":"sync","type":"icon"},"displayName":"Loop Over Items (Split in Batches)","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":59,"icon":"file:mongodb.svg","name":"n8n-nodes-base.mongoDb","codex":{"data":{"resources":{"generic":[{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/running-n8n-on-ships-an-interview-with-maranics/","icon":"🛳","label":"Running n8n on ships: An interview with Maranics"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.mongodb/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/mongodb/"}]},"categories":["Development","Data & Storage"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"input\"]","defaults":{"name":"MongoDB"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2NCIgaGVpZ2h0PSI2NCIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBmaWxsPSIjNTk5NjM2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YtLjQ1M2MtLjA4Ny4wNy0uMTA1LjY2Mi0uMTA1Ljc1YTE3IDE3IDAgMCAxLS4zMTQgMi4zNTNjLS4wNTIuMzE0LS4wODcuNjI3LS4yOC45MDYgMCAuMDM1IDAgLjA3LjAxNy4xMjIuMzE0LjkyNC40IDEuODY1LjQ1MyAyLjgyNHYuMzVjMCAuNDE4LS4wMTcuMzMuMzMuNDcuMTQuMDUyLjI5Ni4wNy40MzYuMTc0LjEwNSAwIC4xMjItLjA4Ny4xMjItLjE1N2wtLjA1Mi0uNTc1di0xLjYwNGMtLjAxNy0uMjguMDM1LS41NTguMDctLjgyeiIvPjwvc3ZnPg=="},"displayName":"MongoDB","typeVersion":1,"nodeCategories":[{"id":3,"name":"Data & Storage"},{"id":5,"name":"Development"}]},{"id":112,"icon":"fa:map-signs","name":"n8n-nodes-base.switch","codex":{"data":{"alias":["Router","If","Path","Filter","Condition","Logic","Branch","Case"],"resources":{"generic":[{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/build-your-own-virtual-assistant-with-n8n-a-step-by-step-guide/","icon":"👦","label":"Build your own virtual assistant with n8n: A step by step guide"},{"url":"https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.switch/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"Switch","color":"#506000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"Switch","typeVersion":3,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":356,"icon":"file:gmail.svg","name":"n8n-nodes-base.gmail","codex":{"data":{"alias":["email","human","form","wait","hitl","approval"],"resources":{"generic":[{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/supercharging-your-conference-registration-process-with-n8n/","icon":"🎫","label":"Supercharging your conference registration process with n8n"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/your-business-doesnt-need-you-to-operate/","icon":" 🖥️","label":"Hey founders! Your business doesn't need you to operate"},{"url":"https://n8n.io/blog/using-automation-to-boost-productivity-in-the-workplace/","icon":"💪","label":"Using Automation to Boost Productivity in the Workplace"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.gmail/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/credentials/google/oauth-single-service/"}]},"categories":["Communication","HITL"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"HITL":["Human in the Loop"]}}},"group":"[\"transform\"]","defaults":{"name":"Gmail"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNTYiIGhlaWdodD0iMTkzIiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCI+PHBhdGggZmlsbD0iIzQyODVGNCIgZD0iTTU4LjE4MiAxOTIuMDVWOTMuMTRMMjcuNTA3IDY1LjA3NyAwIDQ5LjUwNHYxMjUuMDkxYzAgOS42NTggNy44MjUgMTcuNDU1IDE3LjQ1NSAxNy40NTV6Ii8+PHBhdGggZmlsbD0iIzM0QTg1MyIgZD0iTTE5Ny44MTggMTkyLjA1aDQwLjcyN2M5LjY1OSAwIDE3LjQ1NS03LjgyNiAxNy40NTUtMTcuNDU1VjQ5LjUwNWwtMzEuMTU2IDE3LjgzNy0yNy4wMjYgMjUuNzk4eiIvPjxwYXRoIGZpbGw9IiNFQTQzMzUiIGQ9Im01OC4xODIgOTMuMTQtNC4xNzQtMzguNjQ3IDQuMTc0LTM2Ljk4OUwxMjggNjkuODY4bDY5LjgxOC01Mi4zNjQgNC42NyAzNC45OTItNC42NyA0MC42NDRMMTI4IDE0NS41MDR6Ii8+PHBhdGggZmlsbD0iI0ZCQkMwNCIgZD0iTTE5Ny44MTggMTcuNTA0VjkzLjE0TDI1NiA0OS41MDRWMjYuMjMxYzAtMjEuNTg1LTI0LjY0LTMzLjg5LTQxLjg5LTIwLjk0NXoiLz48cGF0aCBmaWxsPSIjQzUyMjFGIiBkPSJtMCA0OS41MDQgMjYuNzU5IDIwLjA3TDU4LjE4MiA5My4xNFYxNy41MDRMNDEuODkgNS4yODZDMjQuNjEtNy42NiAwIDQuNjQ2IDAgMjYuMjN6Ii8+PC9zdmc+"},"displayName":"Gmail","typeVersion":2,"nodeCategories":[{"id":6,"name":"Communication"},{"id":28,"name":"HITL"}]},{"id":565,"icon":"fa:sticky-note","name":"n8n-nodes-base.stickyNote","codex":{"data":{"alias":["Comments","Notes","Sticky"],"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"Sticky Note","color":"#FFD233"},"iconData":{"icon":"sticky-note","type":"icon"},"displayName":"Sticky Note","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":834,"icon":"file:code.svg","name":"n8n-nodes-base.code","codex":{"data":{"alias":["cpde","Javascript","JS","Python","Script","Custom Code","Function"],"details":"The Code node allows you to execute JavaScript in your workflow.","resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.code/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Data Transformation"]}}},"group":"[\"transform\"]","defaults":{"name":"Code"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8xMTcxXzQ0MSkiPgo8cGF0aCBkPSJNMTcwLjI4MyA0OEgxOTYuNUMyMDMuMTI3IDQ4IDIwOC41IDQyLjYyNzQgMjA4LjUgMzZWMTJDMjA4LjUgNS4zNzI1OCAyMDMuMTI3IDAgMTk2LjUgMEgxNzAuMjgzQzEyNi4xIDAgOTAuMjgzIDM1LjgxNzIgOTAuMjgzIDgwVjE3NkM5MC4yODMgMjA2LjkyOCA2NS4yMTA5IDIzMiAzNC4yODMgMjMySDIzQzE2LjM3MjYgMjMyIDExIDIzNy4zNzIgMTEgMjQ0VjI2OEMxMSAyNzQuNjI3IDE2LjM3MjQgMjgwIDIyLjk5OTYgMjgwTDM0LjI4MyAyODBDNjUuMjEwOSAyODAgOTAuMjgzIDMwNS4wNzIgOTAuMjgzIDMzNlY0NDBDOTAuMjgzIDQ3OS43NjQgMTIyLjUxOCA1MTIgMTYyLjI4MyA1MTJIMTk2LjVDMjAzLjEyNyA1MTIgMjA4LjUgNTA2LjYyNyAyMDguNSA1MDBWNDc2QzIwOC41IDQ2OS4zNzMgMjAzLjEyNyA0NjQgMTk2LjUgNDY0SDE2Mi4yODNDMTQ5LjAyOCA0NjQgMTM4LjI4MyA0NTMuMjU1IDEzOC4yODMgNDQwVjMzNkMxMz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LjgxNzIgMzg3LjE2MSAwIDM0Mi45NzkgMEgzMTdDMzEwLjM3MyAwIDMwNSA1LjM3MjU4IDMwNSAxMlYzNloiIGZpbGw9IiNGRjk5MjIiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMTcxXzQ0MSI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},"displayName":"Code","typeVersion":2,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":839,"icon":"fa:clock","name":"n8n-nodes-base.scheduleTrigger","codex":{"data":{"alias":["Time","Scheduler","Polling","Cron","Interval"],"resources":{"generic":[],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"trigger\",\"schedule\"]","defaults":{"name":"Schedule Trigger","color":"#31C49F"},"iconData":{"icon":"clock","type":"icon"},"displayName":"Schedule Trigger","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]}],"categories":[{"id":38,"name":"Lead Nurturing"}],"image":[]}}