Answer RFx sourcing event questions with Gemini and Google Sheets
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
Nodes used (9)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Chat
@n8n/n8n-nodes-langchain.chat - Gmail
n8n-nodes-base.gmail
What it does
Quick Overview This workflow answers RFx sourcing questions from a chat widget by combining Google Sheets event/FAQ data with Google Gemini, then scores each response for confidence and logs usage or escalations back to Google Sheets. How it works 1. Receives a message from an n8n chat trigger and captures the question, timestamp, and session ID. 2. Classifies the requester (supplier vs internal), detects the RFx stage and question category, and extracts any referenced RFx event ID from the text. 3. Pulls RFx event details from Google Sheets and builds a context summary, prioritizing active events and the referenced event when provided. 4. Pulls FAQ rules from Google Sheets, selects the most relevant entries, and builds a role-specific prompt that includes event data, FAQ guidance, and response instructions. 5. Sends the prompt to Google Gemini to generate a concise, audience-adapted answer. 6. Scores the answer for uncertainty and sensitive topics, then appends the interaction to a Google Sheets usage log or creates a pending escalation record in a Google Sheets escalation log. Setup 1. Add Google Sheets OAuth2 credentials in n8n and ensure the workflow’s Google Sheets nodes point to your spreadsheet document ID. 2. Create and populate a Google Sheets workbook with the required tabs: RFxEvents, FAQRules, FAQUsageLog, and EscalationLog, using columns that match the fields the workflow appends. 3. Add a Google Gemini (Google PaLM / Gemini) API credential in n8n and assign it to the Gemini Chat Model node. 4. Enable and configure the n8n Chat trigger (webhook) and connect its chat/web widget to the generated endpoint so messages reach the workflow.