Answer Questions About Documentation with BigQuery, RAG, and OpenAI - n8n Workflow | Neura Market

    Answer Questions About Documentation with BigQuery, RAG, and OpenAI

    # BigQuery RAG with OpenAI Embeddings This workflow demonstrates how to use **Retrieval-Augmented Generation (RAG)** with **BigQuery** and **OpenAI**. By default, you cannot directly use OpenAI Cloud Models within BigQuery. ### Try it This template comes with access to a **public BigQuery table** that stores part of the n8n documentation (about nodes and triggers), allowing you to try the workflow right away: [`n8n-docs-rag.n8n_docs.n8n_docs_embeddings`](https://console.cloud.google.com/bigquery?ws=!1m5!1m4!4m3!1sn8n-docs-rag!2sn8n_docs!3sn8n_docs_embeddings) **Important:** BigQuery uses the *requester pays* model. The table is small (~40 MB), and BigQuery provides **1 TB of free processing per month**. Running 3-4 queries for testing should remain within the free tier, unless your project has already consumed its quota. More info here: [BigQuery Pricing](https://cloud.google.com/bigquery/pricing?hl=en) ## Why this workflow? Many organizations already use BigQuery to store enterprise data, and OpenAI for LLM use cases. When it comes to RAG, the common approach is to rely on dedicated vector databases such as **Qdrant**, **Pinecone**, **Weaviate**, or PostgreSQL with **pgvector**. Those are good choices, but in cases where an organization already uses and is familiar with BigQuery, it can be more efficient to leverage its built-in vector capabilities for RAG. Then comes the question of the LLM. If OpenAI is the chosen provider, teams are often frustrated that it is not directly compatible with BigQuery. This workflow solves that limitation. ## Prerequisites To use this workflow, you will need: * A good understanding of BigQuery and its vector capabilities * A BigQuery table containing documents and an embeddings column * The embeddings column must be of type **FLOAT** and mode **REPEATED** (to store arrays) * A data pipeline that **generates embeddings with the OpenAI API** and stores them in BigQuery This template comes with a public table that stores part of the **n8n documentation** (about nodes and triggers), so you can try it out: `n8n-docs-rag.n8n_docs.n8n_docs_embeddings` ## How it works The system consists of two workflows: * **Main workflow** – Hosts the AI Agent, which connects to a subworkflow for RAG * **Subworkflow** – Queries the BigQuery vector table. The retrieved documents are then used by the AI Agent to generate an answer for the user.

    Platform
    n8n
    Category
    AI
    Price
    Free
    Creator
    Dataki
    • set
    • stickyNote
    • httpRequest
    • agent
    • chatTrigger
    • lmChatOpenAi
    • toolWorkflow
    • executeWorkflowTrigger
    • memoryBufferWindow
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related AI workflows

    • Launch Your First AI-Powered Chatbot with Actionable ToolsFree
    • Automate AI Video Creation and YouTube Upload with Google Sheets
    Free
  1. Build a WhatsApp Assistant with Memory, Google Suite, Multi-AI, Research, and ImagingFree
  2. Automate Blog Post Creation and Publishing with GPT, Leonardo AI, and WordPressFree
  3. Email Agent$500.99
  4. Create a Conversational Telegram Bot with GPT-4 for Text and Voice MessagesFree
  5. More from Dataki

    • AI-Powered Information Monitoring with OpenAI, Google Sheets, Jina AI, and Slack
    • Compare Different LLM Responses Side-by-Side with Google Sheets
    • Generate AI-Ready XML Sitemaps from Screaming Frog Website Crawls
    All AI workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.