Use this dynamic n8n workflow to automate multi-step onboarding sequences. It integrates n8n Forms, Google Sheets for tracking and templates, and Gmail for personalized, conditional communication.
Download this n8n workflow template and start using it instantly.
SaaS Operations Teams: Who need reliable, traceable onboarding sequences.
HR and Training Departments: Automating compliance and training step delivery.
Advanced n8n Users: Looking for highly structured, data-driven automation examples.
Developers/Administrators: Seeking efficient ways to manage customer lifecycles using an n8n workflow.
Managing multi-step processes like customer or employee onboarding can become complex quickly, often relying on manual tracking and generic emails. This advanced n8n workflow solves this by implementing a powerful, data-driven state machine. It leverages Google Sheets to store both user status and standardized message templates, allowing administrators to modify content and steps without changing the core n8n node logic.
The system is initiated when a user registers via an n8n Form. Subsequently, a scheduled n8n trigger periodically checks the status of every user. Based on their current 'step' and 'status' (e.g., sent, completed, passed), the n8n workflow dynamically determines the next action, such as sending the next phase email via Gmail or verifying if the previous action was completed. This ensures highly personalized, conditional progression through your automated sequences, making this n8n template invaluable for robust automation.
This automation operates using two main components: a Registration Trigger and a Scheduled Main Loop.
Registration n8n node, an n8n Form Trigger, captures new user data (Name, Email).Save registration Data n8n node, initiating the user at step: 1 and status: sent.When clicking ‘Execute workflow’) or periodically by the disabled Schedule Trigger n8n trigger.Read Messages n8n node.Generate message table Code n8n node processes these templates into a structured object for easy lookups.Read MSG status Rows n8n node fetches all users' current statuses from the status sheet.Set variables n8n node prepares personalized data (like derived company email addresses).Switch type of step n8n node routes the flow based on the user's current status:Switch n8n node, which routes to a specific Do some action placeholder based on the current step number (1-5). After the action (or placeholder), the Send msg to user n8n node executes a sub-workflow to send the stage-specific email. The user status is then updated to 'completed' in Google Sheets via the Update row to completed n8n node.Switch1 n8n node, leading to the Check if action done placeholder. If the verification check passes (simulated by Debug mode set result setting check: true), the If completed4 n8n node directs the flow to send a completion email via Send msg to user1, updates the user status to 'passed' (Update row to passed), and uses the Create next step n8n node to add a new row for the next step (step + 1) with status 'sent', thereby scheduling the next stage of the n8n workflow.To install and deploy this complex n8n workflow, follow these steps:
Standardized messages status).Standardized Messages).Read Messages, Read MSG status Rows, Save registration Data, Update row to completed, Update row to passed, and Create next step n8n node instances.Gmail2 n8n node (located in the sub-workflow) has valid Gmail OAuth2 credentials for sending emails.Execute Workflow n8n node (Send msg to user, Send msg to admin, etc.) which requires the Sub-Workflow ID (EORpbQwSc80AYgSs). Ensure the sub-workflow is saved and its ID is correctly referenced in the main nodes, or use the 'Export/Import Workflows' feature to ensure linkages are maintained.Schedule Trigger to active) and the message sub-workflow. Registration (Form Trigger n8n trigger): The entry point. It hosts an n8n web form to capture initial user data, automatically setting the hidden fields step to '1' and status to 'sent'.
Save registration Data (Google Sheets n8n node): Appends the newly registered user's details to the tracking Google Sheet.
Schedule Trigger (n8n trigger): Configured (though disabled) to run the main check loop periodically (e.g., every minute) to process pending onboarding steps.
Read Messages (Google Sheets n8n node): Reads the master table containing all email subjects, content bodies, step numbers, and message types (sent, completed, error).
Generate message table (Code n8n node): Essential custom n8n node that aggregates and structures the message template data based on step and Type for easy dynamic lookups later in the n8n workflow.
Switch type of step (Switch n8n node): The first conditional check. It determines if the user is pending action ('sent') or pending verification ('completed').
Switch / Switch1 (Switch n8n node): These separate n8n node instances route the flow based on the current step number (1 through 5), enabling step-specific logic (action or verification).
Send msg to user (Execute Workflow n8n node): Calls a separate, reusable sub-workflow to handle message generation and sending, passing the dynamic message content and variables.
Code (n8n node - Sub-Workflow): Performs simple template processing within the sub-workflow, replacing variable placeholders like {{ variable }} with actual data passed from the main n8n workflow.
Gmail2 (Gmail n8n node): Sends the final, personalized email. This is the ultimate communication action of the entire n8n workflow.
Automate daily Google Analytics reports for multiple websites. This powerful n8n workflow uses AI (GPT) to generate summarized HTML tables and deliver them instantly via email and Slack.

Use this automated n8n workflow to connect Google Sheets, filter unprocessed contacts, use an AI research agent (Gemini via OpenRouter) to find 18+ social media profiles, and seamlessly update the sheet. Ideal for sales, marketing, and data enrichment.

Automate appointment management 24/7 via WhatsApp using this advanced n8n workflow. This n8n workflow integrates GPT-4 for voice/image analysis and Cal.com for seamless booking, cancellation, and rescheduling.

Automate Japanese ⇄ English translation in Slack using a powerful n8n workflow integrated with Google Gemini 2.5 Flash. Supports slash commands, mentions, and reactions.

Automate NGO aid request intake using a sophisticated n8n workflow. Transcribe voice messages, categorize requests with GPT-4o-mini, and log all data to Google Sheets for seamless logistics.

We create bespoke AI solutions, automations and agents that help your business as it scales.







































