Skip to main content

Structure gym FAQ data for AI chatbot matching with Google Sheets

Workflow preview

Workflow preview
100%
Structure gym FAQ data for AI chatbot matching with Google Sheets preview
Open on n8n.io

1. Workflow Overview

Quick overview Fetches FAQ entries from Google Sheets for a specified gym branch, processes them with keyword extraction and language detection, and returns a structured object optimized for AI cha...

Best for

  • Internal Wiki automation workflows
  • AI RAG automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oscar.

Original n8n.io source

1.1 Workflow description

Title
Structure gym FAQ data for AI chatbot matching with Google Sheets
Workflow name
Structure gym FAQ data for AI chatbot matching with Google Sheets

Quick overview

Fetches FAQ entries from Google Sheets for a specified gym branch, processes them with keyword extraction and language detection, and returns a structured object optimized for AI chatbot question matching. Supports English, Arabic, and French.

How it works

  1. Receives branch and optional category parameters from the AI Agent
  2. Reads the Spreadsheet ID from a central config sheet
  3. Routes to the correct branch FAQ sheet
  4. Processes each FAQ entry — extracts keywords, detects language (EN/AR/FR), generates similar question variations
  5. Returns a fully structured response grouped by category with all metadata

Setup

  1. Add a Google Sheets OAuth2 credential in n8n and connect it to all Google Sheets nodes in the workflow
  2. Add your Google Spreadsheet ID to the Gymbot_Config sheet under the sheet_id column
  3. Create two FAQ sheets named FAQ_Rabieh and FAQ_Bikfaya — or rename them to match your branch names
  4. Add your FAQ content with these required columns: Question, Answer, Tags, ImageURL

Requirements

  • Google Sheets account with OAuth2 credential
  • A Gymbot_Config sheet with a sheet_id column
  • Called by an AI Agent as a tool sub-workflow
  • Part of the GymBot Pro WhatsApp AI Booking System

Customization

  • Add more branches by duplicating the IF routing logic
  • Extend keyword extraction with domain-specific stop words
  • Add more language detection patterns for your target market

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Workflow Execution Start

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 6 - Process Parameters

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Check Branch Location

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 8 - Fetch Rabieh FAQ from Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Fetch Bikfaya FAQ from Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - Format FAQ Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Fetch Config from Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

3. Summary Table

Workflow Structure gym FAQ data for AI chatbot matching with Google Sheets
Complexity intermediate
Nodes 11
Categories Internal Wiki, AI RAG
Author Oscar
Published 29 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16017/16017.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Structure gym FAQ data for AI chatbot matching with Google Sheets do?

Quick overview Fetches FAQ entries from Google Sheets for a specified gym branch, processes them with keyword extraction and language detection, and returns a structured object optimized for AI cha...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI RAG use case.