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
Start the workflow with the Chat Trigger - Start node.
Retrieve airline check-in URLs using the Fetch Airline URLs node.
Scrape webpage data with the Scrape Airline Webpage node.
Extract JSON data using the Extract info with LLM node with a Chat Model.
Pause for a response with the Wait for Response node.
Update Google Sheets with the Store Extracted Data node.
Create embeddings with the Generate Embeddings node and store in Postgres vector DB with the Save to Vector DB node.
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.
Related Templates
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Verify Linkedin Company Page by Domain with Airtop
Automating LinkedIn Company URL Verification Use Case This automation verifies that a given LinkedIn URL actually belo...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments