Analyze browsing history and generate automation suggestions with OpenRouter AI and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, OpenRouter Chat Model and HTTP Request. It also calls n8n.io over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Get row(s) in sheet (Google Sheets): uses Google Sheets
- groupe history by domain (Code): runs custom JavaScript code
- remove unwanted domains (Filter): keeps only the items that match a condition
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Code: runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenRouter Chat Model; 2 tools (HTTP Request, Append row in sheet in Google Sheets); memory: Simple Memory
Services it uses
Other Google Sheets + OpenRouter templates (210)
HTTP calls to: n8n.io
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Http Request Tool
n8n-nodes-base.httpRequestTool
From the author
🧠 Browsing History Automation Analyzer – Automation Toolkit (Google Sheets + AI) This n8n workflow analyzes your browsing history to identify opportunities for automation. It reads history from a Google Sheet, groups visits by domain, filters out irrelevant…