Templates / Airline web check-in data extraction with Ollama AI, Google Sheets & Postgres Vector DB

Airline web check-in data extraction with Ollama AI, Google Sheets & Postgres Vector DB

Ready for 3.0

by Oneclick AI Squad ✓ · 1,360 views · created 2025-06-30 · Document Extraction, 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 13 nodes and runs when a chat message arrives. Along the way it connects Google Sheets, Ollama Chat Model, Embeddings Ollama and Postgres PGVector Store.

How it runs

Trigger: When a chat message arrives.

  1. Fetch Airline URLs (Google Sheets): uses Google Sheets
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Scrape Airline Webpage (HTTP Request): calls an HTTP API (POST)
  4. Extract Info with LLM (Basic LLM Chain): sends a prompt to an LLM, with model: Chat Model
  5. Wait: pauses before continuing
  6. Store Extracted Info (Google Sheets): update
  7. Save to Vector DB (Postgres PGVector Store): stores documents in the Postgres PGVector Store vector store, with embeddings: Generate Embeddings; document loader: Prepare Text for Vector DB
  8. Wait: waits 15 seconds

Services it uses

Google SheetsOllama Chat ModelEmbeddings OllamaPostgres PGVector Store

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 (11)

From the author

Overview This workflow retrieves airline web check-in URLs from Google Sheets, scrapes their content, employs an LLM to generate structured JSON data, refreshes the sheet, creates embeddings, and saves them in a Postgres vector DB for future semantic searches…

Excerpt from Oneclick AI Squad'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.