πŸ‘₯ Automate multi-step onboarding with Google Sheets, Forms and Gmail notifications

⚑ 775 views Β· πŸ‘₯ HR & Recruitment

Description

This n8n workflow enables teams to automate and standardize multi-step onboarding or messaging workflows using Google Sheets, Forms, Gmail, and dynamic logic powered by Code and Switch nodes. It ensures the right email is sent at the right step, tracks progress in Google Sheets, and handles errors or escalations.


πŸ§‘β€πŸ’Ό Who is this for?


🧩 What problem is this workflow solving?

Coordinating multi-step onboarding or communication flows using spreadsheets and email can quickly become error-prone. This workflow:


βš™οΈ What this workflow does

  1. Trigger via Form or Manual Execution

    • Users can fill a web form or run the workflow manually.
  2. Read Google Sheets

    • Retrieves step definitions and user progress from two sheets:

      • One for message templates

      • One for user step/status tracking

  3. Generate Message Table

    • Uses custom JavaScript to parse and structure message templates based on step and message type (sent, completed, error).
  4. Determine User Step

    • A Switch node checks the user’s current step and status.

    • Logic branches into the correct flow for message sending and verification.

  5. Send Message

    • Message variables are replaced using a Code node.

    • Final message is sent via Gmail or another workflow (using Execute Workflow).

  6. Update Sheets

    • Marks the step as completed or passed.

    • Creates the next step in the sheet with updated status.

  7. Handle Errors

    • If the step fails, an error message is sent to the responsible admin.

πŸ› οΈ Setup

  1. Connect Google Sheets and Gmail:

    • Ensure credentials are configured in n8n.
  2. Prepare Sheets:

    • One sheet for messages with steps/types/subjects/content. You can copy the one from here

    • One sheet for tracking users and their current step/status. You can copy the one from here

  3. Customize Webform:

    • Use the provided form to capture First Name, Last Name, and Email.
  4. Connect to Your Email Templates:

    • Ensure your message structure follows the expected JSON format by step and type.

✏️ How to customize this workflow to your needs


This workflow is ideal for automating repetitive, step-based processes involving human communication. It’s modular, extensible, and powered by spreadsheet-driven logic.

πŸ”— Nodes Used

Google Sheets, Execute Sub-workflow, Gmail, Execute Workflow Trigger, Schedule Trigger, n8n Form Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup