Templates / Answer procurement policy questions with Google Drive, Gemini, and webhooks

Answer procurement policy questions with Google Drive, Gemini, and webhooks

Ready for 3.0

by WeblineIndia ✓ · 15 views · created 2026-09-15 · Internal Wiki, AI RAG

Ready 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.

What this workflow does

This AI workflow has 35 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Gemini and Google Sheets. It also calls hooks.slack.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Set Workflow Configuration (Edit Fields (Set)): sets 7 fields: POLICY_PDF_URL, CONFIDENCE_THRESHOLD, HELPDESK_TICKET_URL…
  2. Format Error Incident (Code): runs custom JavaScript code
  3. Normalize & Validate Request (Code): runs custom JavaScript code
  4. Alert on Workflow Failure (HTTP Request): calls hooks.slack.com (POST)
  5. Is Request Valid? (If): checks a condition and branches into true / false
  6. Fetch Policy PDF (HTTP Request): calls an HTTP API
  7. Return Validation Error (Respond to Webhook): sends the response back to the webhook caller
  8. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  9. Is Policy Content Available? (If): checks a condition and branches into true / false
  10. Analyse Policy Document (Code): runs custom JavaScript code

…plus 22 more steps. See the full node list below.

Services it uses

Google GeminiGoogle Sheets

HTTP calls to: hooks.slack.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (12)

From the author

Quick overview This workflow exposes a webhook-based helpbot that answers employee questions using a policy PDF from Google Drive, generates a structured response with Google Gemini, and escalates low-confidence answers by creating a support ticket via an…

Excerpt from WeblineIndia's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.