Skip to main content

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

Workflow preview

Workflow preview
100%
Airline web check-in data extraction with Ollama AI, Google Sheets & Postgres Vector DB preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow 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...

Best for

  • Document Extraction automation workflows
  • AI RAG automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatollama, n8n-nodes-base.wait, @n8n/n8n-nodes-langchain.embeddingsollama

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Oneclick AI Squad.

Original n8n.io source

1.1 Workflow description

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

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 or question-answering.

Quick Notes

  • Verify that Google Sheets has accurate URLs for scraping.
  • Ensure the Postgres vector DB is set up correctly for embedding storage.

Process Flow

  1. Start the workflow with the Chat Trigger - Start node.
  2. Retrieve airline check-in URLs using the Fetch Airline URLs node.
  3. Scrape webpage data with the Scrape Airline Webpage node.
  4. Extract JSON data using the Extract info with LLM node with a Chat Model.
  5. Pause for a response with the Wait for Response node.
  6. Update Google Sheets with the Store Extracted Data node.
  7. Create embeddings with the Generate Embeddings node and store in Postgres vector DB with the Save to Vector DB node.
  8. Break down long text with the Split Long Text node and delay the next batch with the Wait Before Next Batch node.

Getting Started

  • Import the workflow into n8n and set up Google Sheets and Postgres vector DB credentials.
  • Run a test with a sample URL to confirm scraping and embedding storage.

Tailored Adjustments

Tweak the Extract info with LLM node to adjust JSON output or modify the Fetch Airline URLs node to pull from different sheet fields.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 2 - Fetch Airline URLs

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Chat Trigger - Start

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 4 - Scrape Airline Webpage

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Extract Info with LLM

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

Block 6 - Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 7 - Wait for Response

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 8 - Store Extracted Info

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 9 - Generate Embeddings

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOllama - embeddingsOllama
Config choices
Version 1

Block 10 - Prepare Text for Vector DB

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1

Block 11 - Split Long Text

Type / Role
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter - textSplitterTokenSplitter
Config choices
Version 1

Block 12 - Save to Vector DB

Type / Role
@n8n/n8n-nodes-langchain.vectorStorePGVector - vectorStorePGVector
Config choices
Version 1

Block 13 - Wait Before Next Batch

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 14 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Airline web check-in data extraction with Ollama AI, Google Sheets & Postgres Vector DB
Complexity intermediate
Nodes 14
Categories Document Extraction, AI RAG
Author Oneclick AI Squad
Published 30 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5474/5474.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

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

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI RAG use case.