Auto icon & cover for new Notion pages
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-12-01.
What this workflow does
This AI workflow has 11 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenRouter Chat Model.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Random Number (Code): runs custom JavaScript code
- HTTP Request: calls an HTTP API
- emoji (Code): runs custom JavaScript code
- Get Notion Title (Code): runs custom JavaScript code
- Basic LLM Chain: sends a prompt to an LLM, with model: OpenRouter Chat Model
- Choose Default Emoji (Code): runs custom JavaScript code
- picurl (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Update Notion Page (HTTP Request): calls an HTTP API (PATCH)
Services it uses
Other Notion + OpenRouter templates (14)
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.
Check at runtime on n8n 3.0
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Webhook
n8n-nodes-base.webhook - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
From the author
How it works • Automatically detects when new pages are created in your Notion workspace • Uses AI to generate contextually relevant icons based on page titles for perfect visual representation • Fetches random high-quality cover images from Unsplash to add…