Automate Browsing Analysis: Extract & Analyze Web History with AI
detail.loadingPreview
Automatically analyze your web browsing history for automation opportunities. Reads from Google Sheets, uses AI for insights, and suggests n8n templates. Save time & boost productivity.
🚀Ready to Deploy This Workflow?
About This Workflow
How it works
This workflow intelligently automates the analysis of your browsing history to identify actionable automation opportunities.
- Manual Trigger: Initiates the workflow upon user command.
- Google Sheets Input: Reads your browsing history data from a specified Google Sheet tab (
history). - Domain Grouping: Uses a JavaScript code node to group visited URLs by their respective domains. It also extracts the domain and adds it to each entry.
- Domain Filtering: A filter node removes common, non-actionable domains (e.g., YouTube, Google, ChatGPT) to focus on unique user behavior.
- Looping: The
Loop Over Itemsnode processes each grouped domain's history individually. - Data Preparation: A code node formats the grouped history data into a string suitable for AI processing.
- AI Analysis: An AI Agent (powered by LangChain and an LLM via OpenRouter) analyzes the provided browsing history for a specific domain. It determines if the activity is automatable, suggests what to automate, provides a reason, recommends tools (like n8n or Apify), and assigns an automation rating.
- n8n Template Search: An HTTP Request node queries the n8n.io workflows page to find relevant templates based on the AI's suggestions.
- Google Sheets Output: The AI's analysis results (domain, automatable status, what to automate, reason, tool, rating, and found n8n template URL) are appended to a
automationstab in the same Google Sheet.
Key Nodes: manualTrigger, googleSheets, code (for grouping), filter, splitInBatches, code (for AI prompt), langchain.agent, langchain.lmChatOpenRouter, googleSheetsTool, httpRequestTool.
Key Features
- Reads browsing history from Google Sheets.
- Groups activity by website domain.
- Filters out common, non-actionable domains.
- Leverages AI (LangChain & LLM) to assess automation potential.
- Provides specific recommendations: what to automate, why, and which tools to use.
- Assigns an automation rating (High, Medium, Low, Not Automatable).
- Searches for relevant n8n workflow templates.
- Saves all analysis results back to a Google Sheet.
How To Use
-
Prerequisites:
- An n8n account.
- Access to Google Sheets.
- An OpenRouter API key.
- An n8n API key (optional, for template search if direct integration is used).
-
Google Sheet Setup:
- Create a Google Sheet. Name it something like "Automation Insights".
- Create two sheets within this spreadsheet:
history: This sheet will contain your raw browsing history. Each row should ideally have at least aurlcolumn. You can export Chrome history using extensions like "Export Chrome History".automations: This sheet will store the results. The workflow will automatically add columns if they don't exist, but it expectsdomain,automatable,what_to_automate,reason,tool,automation_rating, andn8n_template.
- Authorize the workflow to access your Google Sheets.
-
n8n Workflow Setup:
- Credentials: Configure the
Google Sheets accountcredential for accessing your spreadsheet. - OpenRouter Credentials: Configure the
OpenRouter accountcredential with your API key. - Node Configuration:
Get row(s) in sheet: Ensure it's pointing to the correctdocumentIdandsheetName(history).groupe history by domain: No configuration needed, uses JavaScript.remove unwanted domains: No configuration needed, uses regular expressions.AI Agent: Configure your LLM provider and prompt. The provided prompt is a good starting point.OpenRouter Chat Model: This node is linked to the AI Agent and uses the OpenRouter credentials.Append row in sheet in Google Sheets: Ensure it's pointing to the correctdocumentIdandsheetName(automations). Map the AI output fields to the sheet columns.HTTP Request: The URL is set tohttps://n8n.io/workflows/. Theqparameter will be dynamically populated by the AI's suggested search term.
- Credentials: Configure the
-
Execute: Click the 'Execute workflow' button. The workflow will run, analyze your history, and populate the
automationssheet with insights.
Apps Used
Workflow JSON
{
"id": "d3815ab2-e6fd-438b-aa53-5d0322aa3927",
"name": "Automate Browsing Analysis: Extract & Analyze Web History with AI",
"nodes": 0,
"category": "Productivity",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: d3815ab2-e6fd...
About the Author
N8N_Community_Pick
Curator
Hand-picked high quality workflows from the global community.
Statistics
Related Integrations
- Google Sheets + Schedule Trigger(394 workflows)
- Google Sheets + Split Out(277 workflows)
- Gmail + Schedule Trigger(270 workflows)
- Google Sheets + Slack(268 workflows)
- Gmail + Google Sheets(245 workflows)
- Google Drive + Google Sheets(203 workflows)
- Form Trigger + Google Sheets(163 workflows)
- Google Drive + Google Drive Trigger(135 workflows)
- Google Drive + Split Out(134 workflows)
- Gmail + Split Out(132 workflows)
Related Workflows
Discover more workflows you might like
Todoist Weekly Review Automation
Automate your weekly review by fetching completed Todoist tasks and summarizing them in an email.
Auto-Draft Gmail Replies with AI Chatbots
Automatically draft replies to your Gmail emails using AI. This workflow saves you time by generating draft responses to emails requiring a reply, integrating with Gmail & OpenAI.
Auto-Categorize Outlook Emails with AI & Move to Folders
Save hours weekly by automatically categorizing and moving Outlook emails using AI. Integrates with Microsoft Outlook & Ollama for smart email management.
Clockify Project and Time Entry Management
Automates Clockify project creation, tag management, and time entry creation/update.
Auto-Save Telegram Files to Google Drive in Real-Time
Effortlessly save new files received on Telegram directly to your Google Drive. Automate file management and boost productivity.
Automate Outlook Email Categorization with AI Agent & n8n
Automatically sort your Outlook inbox using n8n and an AI agent. Save time by directing emails to the right folders, keeping your inbox actionable.