Quick overview
This template provisions a Fish Audio voice agent and connects it to an n8n webhook backed by a Qdrant knowledge base built from Google Drive documents, using OpenAI embeddings plus Google Gemini/OpenAI chat models to answer callers with retrieved, verified information.
How it works
- Manually starts the provisioning run to set agent name, voice ID, webhook URL, and a shared secret, then creates and publishes a Fish Audio agent with a webhook tool pointing to n8n.
- Clears the target Qdrant collection and lists files in a specified Google Drive folder.
- Downloads each Google Drive file (converting Google Docs to plain text), splits it into chunks, generates OpenAI embeddings, and inserts the vectors into Qdrant.
- Receives HTTPS POST requests from Fish Audio to the n8n webhook, using header authentication for the shared secret.
- Uses conversation memory and a Google Gemini chat model to interpret the caller’s question and decide when to use the knowledge tool.
- Searches Qdrant with OpenAI query embeddings via the read-only knowledge tool and returns the generated answer as JSON back to Fish Audio.
Setup
- Add Fish Audio (5$ FREE) API credentials and replace the agent name, voice ID, public n8n webhook URL, and shared secret values used to create the Fish Audio webhook tool.
- Set up Qdrant (host URL and API key), create or choose a collection name, and ensure the vector size matches your embedding model (1536 for OpenAI text-embedding-3-small as configured).
- Add Google Drive OAuth credentials and update the target folder ID that contains the knowledge base documents.
- Add OpenAI API credentials for embeddings (ingestion and retrieval) and set the Qdrant collection ID used for retrieval.
- Add Google Gemini (PaLM) credentials for the agent’s chat model (or swap the connected model to OpenAI if preferred).
- Copy the production webhook URL from n8n and configure it in Fish Audio so the agent can call the webhook tool during conversations.
Additional info
MY NEW YOUTUBE CHANNEL
👉 Subscribe to my new YouTube channel. Here I'll share videos and Shorts with practical tutorials and FREE templates for n8n.

Need help customizing?
Contact me for consulting and support or add me on Linkedin