Skip to main content

Build a Placetel RAG voice assistant with Google Drive, Supabase and Groq

Workflow preview

Workflow preview
100%
Build a Placetel RAG voice assistant with Google Drive, Supabase and Groq preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow indexes text files from Google Drive into a Supabase vector store using OpenAI embeddings, then answers Placetel webhook questions with a Groq hosted Llama model using ...

Best for

  • Automation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.documentdefaultdataloader

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Build a Placetel RAG voice assistant with Google Drive, Supabase and Groq
Workflow name
Build a Placetel RAG voice assistant with Google Drive, Supabase and Groq

Quick Overview

This workflow indexes text files from Google Drive into a Supabase vector store using OpenAI embeddings, then answers Placetel webhook questions with a Groq-hosted Llama model using retrieval-augmented generation.

How it works

  1. Runs a daily schedule at 02:00 or starts manually to reindex documents.
  2. Lists files in a specified Google Drive folder and iterates through each file.
  3. Downloads each file, loads its text content, generates embeddings with OpenAI, and stores the resulting chunks in a Supabase vector table.
  4. Receives a POST request from Placetel with a question in body.chatInput.
  5. Embeds the question with OpenAI, retrieves the top 3 matching chunks from the Supabase vector store, and composes an answer with Groq (Llama 3.1 8B).
  6. Returns the generated answer to the webhook caller for use in voice output.

Setup

  1. Add Google Drive OAuth2 credentials and replace DEINE_ORDNER_ID in the Drive query with the folder ID you want to index.
  2. Set up Supabase (project, database, and documents table) and add Supabase credentials, ensuring the match_documents query/function is available.
  3. Add an OpenAI API key for both embedding steps and keep the same embedding model/settings for indexing and querying.
  4. Add a Groq API key and confirm the selected chat model (e.g., llama-3.1-8b-instant) is available in your Groq account.
  5. Copy the Placetel webhook URL (/rag-knowledge-webhook) and configure the calling system to send POST { "chatInput": "..." }.

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 - Sticky Note4

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

Block 6 - Täglich 02:00 Uhr – Auto-Reindex

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 7 - Manueller Start – Reindex

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

Block 8 - Google Drive – Dateien auflisten

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 9 - Datei-IDs extrahieren

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

Block 10 - Loop – Jede Datei

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - Google Drive – Datei herunterladen

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 12 - Text Loader

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 13 - OpenAI Embeddings – Indexierung

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 14 - Supabase – Chunks speichern

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreSupabase - vectorStoreSupabase
Config choices
Version 1.3

Block 15 - Placetel – Webhook Eingang

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 16 - OpenAI Embeddings – Abfrage

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 17 - Placetel – Antwort zurückgeben

Type / Role
n8n-nodes-base.respondToWebhook - respondToWebhook
Config choices
Version 1.5

Block 18 - Question and Answer Chain

Type / Role
@n8n/n8n-nodes-langchain.chainRetrievalQa - chainRetrievalQa
Config choices
Version 1.7

Block 19 - Vector Store Retriever

Type / Role
@n8n/n8n-nodes-langchain.retrieverVectorStore - retrieverVectorStore
Config choices
Version 1

Block 20 - Supabase Vector Store

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreSupabase - vectorStoreSupabase
Config choices
Version 1.3

Block 21 - Groq Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGroq - lmChatGroq
Config choices
Version 1

3. Summary Table

Workflow Build a Placetel RAG voice assistant with Google Drive, Supabase and Groq
Complexity advanced
Nodes 21
Categories Automation
Author Placetel
Published 16 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16411/16411.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 Build a Placetel RAG voice assistant with Google Drive, Supabase and Groq do?

Quick Overview This workflow indexes text files from Google Drive into a Supabase vector store using OpenAI embeddings, then answers Placetel webhook questions with a Groq hosted Llama model using ...

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 Automation use case.