2 templates found
Category:
Author:
Sort:

Intelligent email organization with AI-powered content classification for Gmail

This workflow leverages AI to intelligently analyze incoming Gmail messages and automatically apply relevant labels based on the email content. The default configuration includes the following labels: Newsletter: Subscription updates or promotional content. Inquiry: Emails requesting information or responses. Invoice: Billing and payment-related emails. Proposal: Business offers or collaboration opportunities. Action Required: Emails demanding immediate tasks or actions. Follow-up Reminder: Emails prompting follow-up actions. Task: Emails containing actionable tasks. Personal: Non-work-related emails. Urgent: Time-sensitive or critical communications. Bank: Banking alerts and financial statements. Job Update: Recruitment or job-related communications. Spam/Junk: Unwanted or irrelevant bulk emails. Social/Networking: Notifications from social platforms. Receipt: Purchase confirmations and receipts. Event Invite: Invitations or calendar-related messages. Subscription Renewal: Reminders for subscription expirations. System Notification: Technical alerts from services or systems. You can customize labels and definitions based on your specific use case. How it works: The workflow periodically retrieves new Gmail messages. Only emails without existing labels, regardless of read status, are sent to the AI for analysis. Email content (subject and body) is analyzed by an AI model to determine the appropriate label. Labels identified by the AI are applied to each email accordingly. Note: This workflow performs 100% better than the default Gmail trigger method, which is why the workflow was switched from Gmail trigger to a scheduled workflow. By selectively processing only unlabeled emails, it ensures comprehensive labeling while significantly reducing AI processing costs. Setup Steps: Configure credentials for Gmail and your chosen AI service (e.g., OpenAI). Ensure labels exist in your Gmail account matching the workflow definitions. Adjust the AI prompt to match your labeling needs. Optionally customize the polling interval (default: every 2 minutes). This workflow streamlines your email management, keeping your inbox organized effortlessly while optimizing resource usage.

Niranjan GBy Niranjan G
41196

🤖📝 Auto-document workflows with GPT-4o-mini sticky notes

🤖📝 Auto-Document Workflows with GPT-4o-mini Sticky Notes Skip the tedious part of writing documentation and turn your n8n workflows into clear, shareable blueprints — fully automated. This workflow takes any workflow JSON, parses its nodes, generates structured sticky notes (both per-node and a general overview), and arranges them neatly on your canvas. No more messy layouts or missing documentation — everything is handled in one click. It’s perfect if you want to publish to the n8n marketplace, onboard teammates quickly, or just keep your own automations easy to understand months later. --- 💡 What this workflow does ✅ Loads your existing workflow from a JSON file 🔍 Parses and unwraps real nodes (ignoring old stickies) 🤖 Uses AI to create concise sticky notes for each node 📝 Adds a general overview sticky with goals, flow, parameters, and gotchas 📐 Arranges all nodes + stickies (node above, sticky below, right-to-left) 💾 Saves a new documented workflow JSON, ready to reuse or share --- ⚙️ Step-by-step setup Prepare your workflow file Export your n8n workflow JSON or point to an existing file path. Configure the “Load Workflow” node Update the file selector to your JSON path, e.g. /workflows/myflow.json. Add your OpenAI credentials In the OpenAI API nodes (Node Sticky Notes + Overall Sticky Note), insert your API key. Run the workflow Trigger manually with the Execute Workflow node. The script will parse your nodes, generate stickies, and align them on the canvas. Save the result The “Save Documented Workflow” node writes a new file, e.g. /workflows/myflow-with-sticky.json. --- 🛠 Customization Sticky layout: Adjust spacing, colors, and alignment in the Layout Blocks RTL node (tweak GAPX, GAPY, or STICKY_COLOR). Word count & style: Edit prompts inside the OpenAI nodes to make notes shorter, longer, or more technical. Overview focus: Customize the Your Workflow Description node to pass context (e.g., project goals, intended audience). File outputs: Save to a new path/version for version control of your documentation. --- ⚠️ Limitations / Gotchas Maximum of ~50 nodes are summarized in the overview for brevity. Old sticky notes are removed and replaced — you can’t preserve them unless you fork the workflow. Complex nodes (large Code / AI prompts) may require manual edits for clarity. Ensure n8n has read/write access to your workflow JSON paths. --- 🎯 Expected result After execution, you’ll get a fully documented workflow JSON where each node is paired with a clean sticky note, plus an overview note neatly placed on the canvas. You can open this new file in n8n, share it, or submit it directly to the marketplace. --- 📬 Contact & Feedback Need help customizing this? Have ideas for improvement? 📩 Luis.acosta@news2podcast.com 🐦 DM me on Twitter @guanchehacker If you’re working on advanced workflow documentation + AI, let’s talk — this template can be a foundation for more powerful tools.

Luis AcostaBy Luis Acosta
960
All templates loaded