Extract Amazon invoice links nightly with Airtop, OpenAI, and Google Sheets
Ready for 3.0Ready 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 14 nodes and runs on a schedule (every day at 02:00). Along the way it connects OpenAI Chat Model, Airtop and Google Sheets.
How it runs
Trigger: On a schedule (every day at 02:00).
- Start browser session (Airtop): uses Airtop
- Open Amazon order history (Airtop): work with window
- Wait: waits 15 seconds
- Scrape the order page (Airtop): scrape (extraction)
- Find order IDs and invoice links (AI Agent): runs an AI agent, with model: Chat model - Extraction; output parser: Auto-fixing Output Parser
- Found an invoice link? (If): checks a condition and branches into true / false
- Clean up the invoice links (Code): runs custom JavaScript code
- Add links to the sheet (Google Sheets): append
- Close browser session (Airtop): terminate
Services it uses
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 (10)
- AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Auto-fixing Output Parser
@n8n/n8n-nodes-langchain.outputParserAutofixing - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Airtop
n8n-nodes-base.airtop - Google Sheets
n8n-nodes-base.googleSheets - Wait
n8n-nodes-base.wait - Schedule Trigger
n8n-nodes-base.scheduleTrigger - If
n8n-nodes-base.if - Code
n8n-nodes-base.code
From the author
Quick overview This workflow runs nightly to open Amazon order history in an Airtop cloud browser, scrape the page, use OpenAI to extract order IDs and invoice links, and append cleaned invoice URLs to a Google Sheets spreadsheet. How it works 1. Runs every…