Automate web check-in policy extraction using this advanced n8n workflow. Scrape airline sites, extract structured JSON via a local Ollama LLM, and store data in Google Sheets and a Postgres vector database (PGVector).
Download this n8n workflow template and start using it instantly.
Maintaining up-to-date, structured information on diverse airline policies—such as web check-in deadlines, baggage allowances, and refund rules—is a significant data challenge. This advanced n8n workflow solves this by fully automating the data pipeline.
The n8n workflow leverages web scraping techniques (via Jina AI Reader) to handle complex airline webpages, and then uses a powerful local LLM (hosted via the Ollama n8n node) to transform the messy, unstructured text into clean, consistent JSON objects. This structured data is immediately valuable for reporting (Google Sheets) and is also converted into embeddings and indexed into a PGVector database, enabling sophisticated semantic search capabilities for building a private AI knowledge base. This sophisticated n8n template demonstrates seamless integration between classic data tools and modern AI infrastructure.
This powerful n8n workflow operates sequentially, handling each airline URL item retrieved from the source spreadsheet:
https://r.jina.ai/) to get a clean, readable version of the webpage, crucial for accurate LLM parsing. This n8n node also handles necessary header authentication and cookie passing.row_number. It saves the clean, structured JSON output provided by the LLM.To set up this advanced n8n workflow, follow these steps:
Google Sheets- test account used in the Fetch Airline URLs and Store Extracted Info n8n nodes. Ensure the service account has read/write access to your source spreadsheet.Ollama - test credentials for the Chat Model and Generate Embeddings n8n nodes. This requires your Ollama server to be accessible from your n8n installation.Postgres-test credentials for the Save to Vector DB n8n node, ensuring the database is running and the PGVector extension is installed.Header Auth account used in the Scrape Airline Webpage n8n node, necessary if complex cookies or headers are required for the scraping URL (Jina AI).Fetch Airline URLs n8n node to point to your specific Google Sheet Document ID and Sheet Name containing the list of airline URLs. Chat Trigger - Start (n8n trigger): Initiates the n8n workflow execution.
Fetch Airline URLs (Google Sheets n8n node): Reads the input data (list of airlines and their check-in URLs) from a specified Google Sheet, using Service Account authentication.
Loop Over Items (Split In Batches n8n node): Ensures that each row (airline item) from the Google Sheet is processed sequentially, which is critical for controlled web scraping and LLM processing.
Scrape Airline Webpage (HTTP Request n8n node): Performs the actual data retrieval. It dynamically constructs the Jina AI URL using the item's 'WEB CHECK IN URL' field to scrape the clean text content.
Extract Info with LLM (Chain LLM n8n node): The core intelligence of this n8n workflow. It applies a detailed, structured prompt to the raw scraped text, forcing the LLM to output a standardized JSON object.
Chat Model / Generate Embeddings (Ollama n8n node): These nodes connect the n8n workflow to a self-hosted Ollama instance, providing both the large language model processing for extraction and the embedding model for vector generation.
Store Extracted Info (Google Sheets n8n node): Updates the original spreadsheet row using the row_number, inserting the generated structured JSON data. This is a crucial n8n node for data traceability.
Save to Vector DB (PGVector n8n node): Takes the processed documents and embeddings and inserts them into a PostgreSQL vector database, ready for advanced RAG queries. This demonstrates powerful data persistence in this n8n workflow.
Build a powerful AI Airbnb search agent using this n8n workflow. Supports text and voice queries via Telegram, leveraging GPT-4 for search and response generation. Use this n8n template today!

Use this advanced n8n workflow to automate ClickUp project creation. Input features via a web form, and GPT-5 generates Agile user stories, detailed tasks, and sub-tasks instantly.

Automate social media aggregation! This powerful n8n workflow scrapes X (Twitter) posts, uses a Google Gemini AI n8n node to summarize and deduplicate content, and posts rich messages to Telegram.

Use this dynamic n8n workflow to automate recurring task creation in Airtable. It calculates dynamic kickoff and due dates using an n8n node for advanced scheduling logic.

Automatically back up your entire Airtable base tables as CSV files to AWS S3 weekly using this robust n8n workflow. Includes a monthly cleanup schedule to manage storage efficiently. Deploy powerful n8n templates for data resilience.

The AI Squad Initiative is a pioneering effort to build, automate and scale AI-powered workflows using n8n.io. Our mission is to help individuals and businesses integrate AI agents seamlessly into their daily operations from automating tasks and enhancing productivity to creating innovative, intelligent solutions. We design modular, reusable AI workflow templates that empower creators, developers and teams to supercharge their automation with minimal effort and maximum impact.







































