{"product_id":"instagram-faq-dm-bot-with-gemini-rag-qdrant-google-drive","title":"Instagram FAQ DM Bot with Gemini RAG + Qdrant (Google Drive)","description":"\u003ch3\u003eInstant Instagram FAQ Replies with Gemini RAG—Automatically Powered by Your Google Drive PDFs\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow turns your Instagram Direct Messages into a context-aware FAQ assistant. It answers incoming Instagram messages using a Google Gemini RAG agent backed by Qdrant, while automatically indexing new PDF files from Google Drive and refreshing the Instagram access token on a schedule.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eListens for Instagram DMs\u003c\/strong\u003e using an Instagram trigger, filtering out echoes and empty messages.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates grounded FAQ responses\u003c\/strong\u003e with a \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e chat model, using chat memory and a \u003cstrong\u003eQdrant retriever\u003c\/strong\u003e to pull relevant context for the reply.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the response back\u003c\/strong\u003e to the original sender as an Instagram DM.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKeeps Instagram authentication fresh\u003c\/strong\u003e by running a \u003cstrong\u003edaily schedule\u003c\/strong\u003e to refresh the Instagram access token.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAutomatically builds your knowledge base\u003c\/strong\u003e by watching a specific \u003cstrong\u003eGoogle Drive folder\u003c\/strong\u003e for newly created files.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIndexes only supported documents\u003c\/strong\u003e (configured to allow \u003cstrong\u003ePDF MIME types\u003c\/strong\u003e): downloads the PDF, processes it in batches, generates embeddings with Google Gemini, and inserts vectors into a \u003cstrong\u003eQdrant collection\u003c\/strong\u003e for retrieval.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAnswering common customer questions on Instagram using policies, pricing FAQs, or product documentation stored as PDFs in Google Drive.\u003c\/li\u003e\n  \u003cli\u003eReducing support workload by providing consistent, context-grounded answers in DMs.\u003c\/li\u003e\n  \u003cli\u003eKeeping your FAQ knowledge up to date automatically as you add new PDF files to your Drive folder.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eInstagram Graph API\u003c\/strong\u003e (webhook trigger + scheduled access token refresh; configurable verify token)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e for both chat responses and embeddings (PaLM)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eQdrant\u003c\/strong\u003e vector store (retriever for RAG; ensure the target collection exists and matches embedding dimensions)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Drive\u003c\/strong\u003e file ingestion (folder watch; download + PDF MIME filtering)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\u003c\/strong\u003e mentioned in the workflow: \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003esticky note\u003c\/em\u003e, \u003cem\u003eGoogle Drive\u003c\/em\u003e, \u003cem\u003eSplit in Batches\u003c\/em\u003e, \u003cem\u003en8n-nodes-langchainagent\u003c\/em\u003e, \u003cem\u003eSchedule Trigger\u003c\/em\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45837462405299,"sku":"N8N-18256","price":73.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/XpW1U_px4Ox2uHHTBPiQp_R0SAP3w4.png?v=1786794659","url":"https:\/\/buyflowscripts.com\/products\/instagram-faq-dm-bot-with-gemini-rag-qdrant-google-drive","provider":"N8N Commerce","version":"1.0","type":"link"}