Google Forms Masterclass • Episode 05 of 14

Google Forms Conditional Branching Tutorial: (ep 05) How to Set Up Skip Logic

Unlock Google Forms' ultimate enterprise power tool! Dr. Vishwajeet demonstrates how to architect a 5-track HR Query Support System (Leave, Payroll, Policy, Tax, and Onboarding), map "Go to section based on answer" routing, generate zero-hallucination flowcharts with NotebookLM, and avoid the dreaded Chakravyuh Loop using the 7 Pro Precautions.

📺 Speaker: Dr. Vishwajeet Vinayak Gaike ⏱ Duration: 15:17 min 🏷️ Focus: Skip Logic & 7 Pro Precautions

The 4-Step Logic Branching Architecture

The structured workflow taught by Dr. Vishwajeet to route users through specialized form paths without survey fatigue or circular loops.

STEP 01

Flowchart First with NotebookLM

Before touching Google Forms, feed your policy document or prompt into NotebookLM to generate a zero-hallucination visual flowchart. Building branching logic without a visual map is like driving blindfolded.

STEP 02

Section Partitioning & Naming

Gemini does not create section breaks automatically. Add section headers (e.g., Leave, Payroll, Policy, Tax, Onboarding) with short 2-word titles so they render clearly on mobile screens.

STEP 03

Dropdown Option-Level Routing

On your primary selector question, click the 3 dots and enable "Go to section based on answer". Map each dropdown option directly to its target section header.

STEP 04

Loop Closure at Section End

At the bottom of every individual branch, change "After section X" from "Continue to next section" to "Go to Section [Final Check Out]". This prevents cross-track question spillover.

Enterprise Risk Mitigation

The 7 Pro Precautions: Escaping the "Chakravyuh Loop"

Where 90% of form creators fail. Dr. Vishwajeet's battle-tested rules for building fault-tolerant skip logic in Google Workspace.

Precaution 01

Section-End Navigation Audit

Never leave "After section X -> Continue to next section" active on branch ends. Explicitly redirect all branches to your unified Final Check Out section to avoid accidental question bleed.

Precaution 02

Flowchart First with NotebookLM

Always upload your HR policy or SOP to NotebookLM and prompt: "Create an AI mind map for this form". Download the diagram (PNG) to visualize where every branch must close.

Precaution 03

Mobile-First Title Optimization

Over 70% of respondents fill out Google Forms on smartphones. Keep section titles to 2–3 words (e.g., "Leave Application" vs. lengthy sentences) to avoid awkward header truncation.

Precaution 04

Customized Confirmation Message

Go to Settings > Presentation > Confirmation Message. Replace the generic thank you with clear SLA timelines: "Your ticket has been logged. Expected resolution: 24 to 48 hours."

Precaution 05

Pre-Filled Links for Direct Routing

When sending emails regarding a specific issue (e.g., Leave Submissions), generate a Pre-filled Link with the Leave option pre-selected so employees land immediately on their dedicated section.

Precaution 06

Incognito Dry Run & Dead-End Audit

Always test your published link in a new Incognito Window. Walk through every branch option to ensure no question leads to a dead-end submission without reviewing required fields.

Precaution 07

File Upload Authentication Gating

Adding a File Upload field (like the payslip upload in Payroll Discrepancy) intentionally forces Google account authentication—ensuring internal organizational compliance.

Episode 05 • Conceptual Knowledge Check

"Can you enable conditional skip logic ('Go to section based on answer') on a Checkbox question type in Google Forms?"

A) Yes, by holding the Shift key while configuring the question settings.
B) Correct Answer [13:55]: Absolutely NOT! Because checkboxes permit respondents to pick multiple answers at once, Google Forms cannot determine which section to route to. Branching only works on Dropdowns and Multiple Choice questions.
C) Yes, but it requires linking your Google Form to a Google Apps Script trigger.
D) Only if the Google Form is embedded inside a WordPress website iframe.
Production Deployment Blueprint

The HR Support System Prompt & Apps Script Vault

Deploy the full architecture: First, use the Gemini prompt to generate all questions and field constraints in seconds. Second, use the Google Apps Script snippet to programmatically build the sections and skip logic paths.

PART 1: GEMINI_HR_SUPPORT_PROMPT_EP5.TXT
Act as an Expert HR Operations Specialist and UX Designer. Design a comprehensive, dynamic 'HR Query Support System' form using conditional logic.

[SECTION 1: BASE DETAILS]
- Full Name (Short Text)
- Employee ID (Short Text)
- What do you need help with today? (Dropdown: Leave Application, Payroll Discrepancy, Policy Clarification, Tax Documents, Onboarding Assistance)
  Logic: Route user to corresponding section based on answer.

[SECTION 2: LEAVE APPLICATION]
- Leave Type (Dropdown: Sick, Casual, Privilege)
- Start & End Dates (Date Picker)
- Reporting Manager Email (Email format)

[SECTION 3: PAYROLL DISCREPANCY]
- Pay Period (Month/Year Picker)
- Nature of Discrepancy (Short Text)
- Supporting Document (File Upload - Requires Google Login)

[SECTION 4: POLICY CLARIFICATION]
- Policy Category (Dropdown: WFH, Travel, Leave, POSH)
- Your Question (Long Text)

[SECTION 5: TAX DOCUMENTS]
- Financial Year (Dropdown: 2024-25, 2025-26)
- Document Type (Dropdown: Form 16, Tax Computation)

[SECTION 6: ONBOARDING ASSISTANCE]
- Date of Joining (Date Picker)
- Immediate Blocker (Dropdown: IT Assets, Credentials, Buddy Assignment)

[SECTION 7: FINAL CHECK OUT] (All branches must route here)
- Form Experience Rating (Rating Scale: 1 to 5 Stars)
- Confirmation SLA: "Expected resolution: 24 to 48 working hours."
PART 2: GOOGLE_APPS_SCRIPT_BRANCHING.GS
// Google Apps Script: Programmatic Multi-Track Skip Logic Builder
function buildHRSupportPortal() {
  var form = FormApp.create('HR Query Support System');
  form.setDescription('Automated ticket routing with conditional branching');

  // Base Section
  form.addTextItem().setTitle('Full Name').setRequired(true);
  form.addTextItem().setTitle('Employee ID').setRequired(true);

  // Define Page Breaks (Branches)
  var leaveSec = form.addPageBreakItem().setTitle('Leave Application');
  var payrollSec = form.addPageBreakItem().setTitle('Payroll Discrepancy');
  var policySec = form.addPageBreakItem().setTitle('Policy Clarification');
  var taxSec = form.addPageBreakItem().setTitle('Tax Documents');
  var onboardSec = form.addPageBreakItem().setTitle('Onboarding Assistance');
  var checkoutSec = form.addPageBreakItem().setTitle('Final Check Out');

  // Primary Selector Dropdown
  var mainCategory = form.addListItem().setTitle('What do you need help with today?').setRequired(true);
  mainCategory.setChoices([
    mainCategory.createChoice('Leave Application', leaveSec),
    mainCategory.createChoice('Payroll Discrepancy', payrollSec),
    mainCategory.createChoice('Policy Clarification', policySec),
    mainCategory.createChoice('Tax Documents', taxSec),
    mainCategory.createChoice('Onboarding Assistance', onboardSec)
  ]);

  // Loop Closure: Route all branches to Final Check Out
  leaveSec.setGoToPage(checkoutSec);
  payrollSec.setGoToPage(checkoutSec);
  policySec.setGoToPage(checkoutSec);
  taxSec.setGoToPage(checkoutSec);
  onboardSec.setGoToPage(checkoutSec);

  // Closing Section Elements
  form.addScaleItem().setTitle('Form Experience Rating').setBounds(1, 5);
}

Frequently Asked Questions

Technical clarifications on skip logic limits, loop traps, and NotebookLM flowchart workflows.

Why doesn't Gemini create sections automatically in Google Forms?

As demonstrated at [02:44], the current version of the Gemini Google Forms integration generates question cards and answer structures, but it does not add page-break containers. You must click "Add Section" manually before configuring your dropdown skip logic.

How does NotebookLM prevent logic errors and circular loops?

NotebookLM creates an accurate visual mind map based directly on your source SOP or prompt text. By visualizing every branch before building it, you know exactly which section each answer flows to and where to position your loop closures.

What happens if an employee selects "Leave Application" but the branch doesn't close?

This is the Chakravyuh Loop. When a branch finishes without an explicit redirect to "Final Check Out", Google Forms falls back to "Continue to next section". The employee will unexpectedly see questions from Payroll Discrepancy and Policy Clarification before submitting.

What is coming up in Episode 06?

Episode 06 covers Real-Time Data Pipelines & Google Sheets Destinations—connecting multiple forms to a single workbook, managing unlinking without data loss, and automating spreadsheet feeds.