by Airtop
README Automating Video File Download from Sample.cat with Airtop.ai Use Case Automating file downloads from web pages is useful for scenarios like bulk media retrieval, dataset access, or recurring content backups. This workflow ensures a hands-free, consistent process for retrieving downloadable content. What This Automation Does This automation performs a reliable download of a video file from a specified webpage using the following steps: Initiates an Airtop browser session. Opens a specified URL containing downloadable media. Interacts with the page to click the download button. Waits for the file to be processed and made available. Retrieves metadata to confirm availability. Downloads the file. Terminates the browser session to clean up resources. How It Works Manual Trigger: Activated by user test. Session: Starts an Airtop browser session. Window: Navigates to https://sample.cat/en/webm. Interaction: Simulates a click on the download button for the video titled “SD 640x360 (Seawater, drone view video, 30 FPS)”. Wait: Pauses for 10 seconds to allow the file to be ready for download. Get File Data: Checks for downloadable files in the session. Download File: Retrieves the file using its ID. Terminate: Ends the browser session to free up resources. Setup Requirements Airtop API Key — required to authenticate API calls. Next Steps Enhance with Retry Logic**: Loop file availability check until status = available for more robust automation. Customize File Targets**: Dynamically pass URLs and button descriptors for multi-source downloads. Connect to Storage**: Pipe downloaded files to cloud storage or databases for archiving. Read more about automating file downloads from the web
by Don Jayamaha Jr
📰 This AI-powered agent performs real-time sentiment analysis on Tesla (TSLA) news to support trading decisions. It aggregates headlines from 5 trusted sources and uses DeepSeek Chat to classify sentiment and generate structured summaries. This tool is a critical sub-agent in the broader Tesla Quant Trading AI Agent system. ⚠️ Not standalone — this agent is designed to be executed by the Tesla Quant Trading AI Agent. ⚙️ Requires: DeepSeek Chat API Key 🔌 Workflow Role This tool processes Tesla-related news and produces output like: { "sentiment": "bullish", "summary": "Tesla stock rallied today after strong delivery numbers and Cybertruck updates. Analysts remain optimistic.", "topHeadlines": [ "Tesla beats Q2 delivery forecast – Yahoo Finance", "Cybertruck ramps up in Texas – Electrek", "Berlin Gigafactory expands battery production – CleanTechnica" ] } Its output feeds directly into the master trading agent’s final trade report. 📰 News Sources Used This agent collects real-time headlines from: Google News (filtered by “Tesla” or “TSLA”) Yahoo Finance (TSLA-specific feed) Electrek (Tesla archive) CleanTechnica (Tesla sustainability news) TeslaNorth (app/product release updates) These five tools are always queried together to ensure market-wide signal coverage. 🤖 What the Agent Does Pulls headlines from all 5 Tesla-specific RSS feeds Uses DeepSeek Chat to: Analyze narrative tone (bullish / bearish / neutral) Identify macro/financial drivers Generate a 2–3 sentence summary Return top 3–5 headlines Outputs structured JSON for downstream use 🛠️ Setup Instructions 1. Install & Name Import this file and name it: Tesla_News_and_Sentiment_Analyst_Tool 2. Add DeepSeek API Credentials Go to: Credentials → Add New → DeepSeek API Save as: DeepSeek account 3. Internet Access Required Ensure RSS feeds can fetch live headlines Works best with a cloud-hosted n8n instance or tunnel-enabled local install 4. Must Be Triggered by Parent Triggered via Execute Workflow by the Tesla Quant Trading AI Agent Requires these inputs: message: optional query context sessionId: passed to maintain short-term memory across executions 🧠 Agent Architecture | Node Name | Function | | ---------------------------------- | ------------------------------------------------ | | DeepSeek Chat Model | Performs AI-based sentiment analysis | | Tesla News and Sentiment Analyst | Combines results, formats output in strict JSON | | Simple Memory | Stores session-level context (short-term memory) | | 5x RSS nodes | Aggregate Tesla news from trusted media outlets | 📌 Sticky Notes Included 🟢 Trigger from Parent Workflow – Executed only by main TSLA agent 🟠 News Feeds Overview – Lists and explains each of the 5 feeds 🧠 DeepSeek Chat Notes – Describes LLM behavior and parsing role 🔵 Short-Term Memory – Buffers sentiment context during user session 📘 Sentiment Analyst Agent – Summarizes key responsibilities 📎 Licensing & Attribution © 2025 Treasurium Capital Limited Company This architecture, workflow structure, and prompt design are licensed for educational and operational use only. Commercial resale or rebranding prohibited without authorization. 🔗 Creator: Don Jayamaha 🔗 Templates: https://n8n.io/creators/don-the-gem-dealer/ 🚀 Power your TSLA trading with AI-driven sentiment—built with DeepSeek Chat and 5 trusted news sources. This tool is required by the Tesla Quant Trading AI Agent.
by Daniel Shashko
How it Works Disclaimer: This template is for self-hosted n8n instances only. This workflow is designed for developers, data analysts, and automation enthusiasts seeking to automate personalized news collection and delivery. It seamlessly combines n8n, OpenAI (e.g., GPT-4.1), and Bright Data’s Model Context Protocol (MCP) to collect, extract, and email the latest global news headlines. On a schedule or via a manual trigger, the workflow prompts an AI agent to gather fresh news. The agent leverages context-aware memory and integrated MCP tools to conduct both search engine queries and direct web page scraping in real time, delivering more than just meta search results—it extracts actual on-page headlines and trusted links. Results are formatted and delivered automatically by email via your SMTP provider, requiring zero manual effort once configured. Who is this for? Developers, data engineers, or automation pros wanting an AI-powered, fully automated newsfeed Teams needing up-to-date news digests from trusted global sources Anyone self-hosting n8n who wishes to combine advanced LLMs with real-time web data Setup Steps Setup time: Approx. 15–30 minutes (n8n install, API configuration, node setup) Requirements: Self-hosted n8n instance OpenAI API key Bright Data MCP account credentials SMTP/email provider details Install the community MCP node (n8n-nodes-mcp) for n8n and set up Bright Data MCP access. Configure these nodes: Schedule Trigger: For automated delivery at your chosen interval. Edit Fields: To inject your AI news collection prompt. AI Agent: Connects to OpenAI and MCP, enabled with memory for context. OpenAI Chat Model: Connects via your OpenAI credentials. MCP Clients: Configure at least two—one for search (e.g. search_engine) and one for scraping (e.g. scrape_as_markdown). Send Email: Set up with recipient and SMTP information. Credentials must be entered into their respective nodes for successful execution. Customization Guidance Prompt Tweaks:** Refine your AI news prompt to target specific genres, regions, or sources, or broaden/narrow the coverage as needed. Tool Configuration:** Carefully define tool descriptions and parameters in MCP client nodes so the agent can pick the best tool for each step (e.g., only scrape real news sites). Delivery Settings:** Adjust email recipient(s) and SMTP details as needed. Workflow Enhancements:** Use sticky notes in n8n for extended documentation, alternate prompts, or troubleshooting tips. Run Frequency:** Set schedule as needed—from hourly to daily updates. Once configured, this workflow will automatically gather, extract, and email curated news headlines and links—no manual curation required!
by Yaron Been
✨ AI Client Onboarding Agent: Auto Welcome Email Generator Transform your client onboarding from manual follow-up into an intelligent automation system. This streamlined n8n workflow monitors Google Forms submissions, generates personalized welcome emails with onboarding checklists using AI, and delivers professional first impressions instantly to every new client. 🔄 How It Works This efficient 6-step automation ensures no new client is ever missed: Step 1: Continuous Form Monitoring The workflow monitors your Google Sheets (connected to Google Forms) every minute, instantly detecting new client submissions and triggering the onboarding process. Step 2: Intelligent Data Processing Client information is automatically extracted and formatted from form responses, including name, email, company details, service requirements, and special onboarding notes. Step 3: Dynamic Checklist Generation A comprehensive 6-step onboarding checklist is created, covering essential phases from account setup through first milestone review, ensuring consistent client experiences. Step 4: AI-Powered Email Creation Google Gemini generates personalized welcome emails featuring: Custom greetings using the client's actual name Service-specific onboarding instructions Professional checklist formatting Company-branded messaging and signatures Contextual guidance based on their specific needs Step 5: Instant Email Delivery Welcome emails are automatically sent to new clients within minutes of form submission, creating immediate engagement and professional first impressions. Step 6: Robust Error Handling Built-in error monitoring ensures workflow reliability, with automatic failure detection and recovery processes to prevent missed onboarding opportunities. ⚙️ Setup Steps Prerequisites Google Workspace account for Forms, Sheets, and Gmail Google Gemini API access for email generation n8n instance (cloud or self-hosted) Basic understanding of Google Forms and Sheets integration Required Google Forms Structure Create a client intake form with these essential fields: 📝 Required Form Fields: Client Name (Short answer text) Email Address (Email field with validation) Company Name (Short answer text) Services Needed (Paragraph text or multiple choice) Any Other Onboarding Info (Optional paragraph text) Form Settings: Enable "Collect email addresses" for verification Set responses to automatically populate Google Sheets Configure confirmation message for client experience Add form validation for required fields Configuration Steps 1. Credential Setup Google Sheets OAuth2**: Monitor form responses and access client data Google Gemini API Key**: Generate intelligent, personalized email content Gmail OAuth2**: Send automated welcome emails with professional formatting Google Forms Integration**: Ensure seamless data flow from forms to sheets 2. Google Sheets Configuration Verify your form responses sheet contains proper column headers: | Timestamp | Client name | email | Company Name | Services Needed | Any other onboarding info | 3. Onboarding Checklist Customization Default 6-step checklist includes: Account Setup**: User accounts, access credentials, initial configurations Welcome Call Scheduled**: Personal introduction and expectations setting Document Collection**: Contracts, requirements, project specifications Service Configuration**: Platform setup, integrations, custom settings Onboarding Session**: Training, walkthrough, initial guidance First Milestone Review**: Progress check, feedback collection, next steps 4. Email Template Personalization AI email generation can be customized for: Service-Specific Content**: Different messaging for different service types Company Branding**: Consistent voice, tone, and visual identity Client Segmentation**: Premium vs standard client experiences Industry Customization**: Specialized language for different business sectors 5. Workflow Activation and Testing Import workflow JSON into your n8n instance Configure all credential connections and verify permissions Test with sample form submissions to ensure accuracy Activate Google Sheets trigger for continuous monitoring 🚀 Use Cases Professional Service Providers Consultants**: Streamline client onboarding for multiple service offerings Agencies**: Maintain consistent welcome experiences across all new accounts Freelancers**: Create professional first impressions without manual effort Coaches**: Ensure every new client receives immediate, personalized guidance SaaS & Technology Companies Software Platforms**: Welcome new users with setup instructions and support App Developers**: Guide users through initial configuration and features Tech Consultants**: Provide immediate next steps for technical implementations Digital Services**: Establish clear expectations and timelines from day one Education & Training Organizations Online Course Creators**: Welcome students with course access and schedules Training Companies**: Provide immediate onboarding for corporate clients Educational Consultants**: Guide parents and students through program enrollment Certification Programs**: Establish clear pathways for certification completion Healthcare & Wellness Wellness Coaches**: Welcome new clients with program overviews and expectations Healthcare Practices**: Streamline patient onboarding with forms and procedures Therapy Practices**: Provide immediate guidance for new patient relationships Fitness Trainers**: Establish workout schedules and goal-setting sessions Financial Services Financial Advisors**: Welcome new clients with account setup and meeting scheduling Insurance Agents**: Guide clients through policy setup and documentation Accounting Firms**: Establish bookkeeping processes and document collection Investment Firms**: Provide immediate next steps for portfolio management 🔧 Advanced Customization Options Multi-Service Workflow Management Create specialized onboarding paths: Service Type Detection: Analyze form responses to determine service category Conditional Checklists: Generate different steps based on service requirements Tiered Onboarding: Premium clients receive enhanced welcome experiences Industry-Specific Templates: Customize messaging for different business sectors Enhanced Client Communication Expand beyond basic welcome emails: Multi-Step Email Sequences**: Follow-up emails for incomplete onboarding steps Calendar Integration**: Automatic welcome call scheduling with calendar links Document Sharing**: Automated access to onboarding portals and resources Progress Tracking**: Client-facing dashboards showing onboarding completion Team Collaboration Features Keep your team informed and engaged: Slack Notifications**: Alert team members about new client onboarding Task Assignment**: Automatically create tasks in project management tools CRM Integration**: Push new client data to Salesforce, HubSpot, or Pipedrive Calendar Scheduling**: Book welcome calls across team member calendars Quality Assurance & Analytics Monitor and improve onboarding effectiveness: Email Delivery Tracking**: Monitor open rates and engagement metrics Onboarding Completion Rates**: Track which clients complete all steps Response Time Analysis**: Measure speed from form submission to email delivery Client Feedback Integration**: Collect and analyze onboarding experience ratings 📊 Generated Email Examples Standard Service Welcome: Hi Sarah Johnson, Welcome to our service! We're excited to work with Digital Marketing Solutions on your upcoming project. Based on your submission, here's your personalized onboarding checklist: ✅ ONBOARDING CHECKLIST Account Setup - We'll create your project dashboard and send login credentials Welcome Call Scheduled - Let's discuss your goals and timeline in detail Document Collection - We'll gather all necessary project requirements and assets Service Configuration - Our team will customize our approach for your specific needs Onboarding Session - We'll walk you through our process and answer any questions First Milestone Review - We'll schedule a check-in to ensure everything is progressing smoothly Your project details: • Services Needed: SEO optimization and content strategy • Special Requirements: Focus on local search rankings What's next? Our team will reach out within 24 hours to schedule your welcome call and begin the account setup process. Best regards, Your Digital Marketing Solutions Team Premium Client Welcome: Hi Michael Chen, Welcome to our premium service tier! We're thrilled to partner with Tech Innovations Inc. on this exciting project. Your VIP onboarding experience includes: 🌟 PREMIUM ONBOARDING CHECKLIST Priority Account Setup - Dedicated account manager assignment within 2 hours Executive Welcome Call - Direct access to our senior team for strategic discussion Expedited Document Collection - Streamlined process with dedicated support Custom Service Configuration - Tailored solutions designed specifically for your needs Comprehensive Onboarding Session - Extended session with our technical experts Weekly Milestone Reviews - Regular check-ins to ensure optimal progress Your premium benefits: • Dedicated account manager: Will be assigned today • Priority support: 4-hour response time guarantee • Custom reporting: Weekly progress dashboards Next steps: Your dedicated account manager will contact you within 2 hours to schedule your executive welcome call. Best regards, Your Tech Innovations Inc. Premium Team 🛠️ Troubleshooting & Best Practices Common Issues & Solutions Google Forms Integration Field Mapping**: Ensure form field names exactly match workflow expectations Response Timing**: Verify Google Sheets updates immediately after form submission Permission Issues**: Confirm n8n has proper access to Google Workspace services Data Validation**: Implement form validation to prevent incomplete submissions Email Delivery Challenges Gmail Limits**: Monitor daily sending limits and implement appropriate delays Spam Prevention**: Use professional email templates and avoid promotional language Email Formatting**: Ensure AI-generated content maintains professional appearance Delivery Confirmation**: Implement tracking for email delivery and open rates AI Content Quality Prompt Refinement**: Continuously improve AI prompts based on output quality Brand Consistency**: Ensure generated emails match your company voice and tone Template Variations**: Create multiple templates for different service types Quality Review**: Implement periodic manual review of AI-generated content Optimization Strategies Response Time Enhancement Trigger Frequency**: Balance monitoring frequency with system resources Processing Efficiency**: Optimize data transformation steps for faster execution Error Recovery**: Implement retry logic for failed email deliveries Queue Management**: Handle high-volume periods with intelligent batching Client Experience Improvement Personalization Depth**: Use all available form data for maximum personalization Follow-up Automation**: Create additional workflows for onboarding step completion Feedback Collection**: Gather client feedback on onboarding experience quality Continuous Improvement**: Regular review and refinement of onboarding processes Business Process Integration CRM Synchronization**: Ensure new client data flows to all relevant systems Team Workflows**: Integrate onboarding triggers with internal task management Resource Allocation**: Automatically assign team members based on service types Progress Tracking**: Implement systems to monitor onboarding completion rates 📈 Success Metrics Efficiency Improvements Response Time**: Reduce new client response time from hours to minutes Consistency**: Achieve 100% consistent welcome experience for all new clients Team Productivity**: Eliminate manual onboarding email creation entirely Error Reduction**: Prevent missed follow-ups and incomplete onboarding processes Client Experience Measurements First Impression Quality**: Measure client satisfaction with initial welcome experience Onboarding Completion**: Track percentage of clients completing all onboarding steps Engagement Rates**: Monitor email open rates and response rates to welcome messages Time to Value**: Measure how quickly new clients achieve first project milestones 📞 Questions & Support Need assistance with your AI Client Onboarding Agent setup or optimization? 📧 Expert Implementation Support Email**: Yaron@nofluff.online Response Time**: Within 24 hours on business days Specialization**: Client onboarding automation, AI email generation, Google Workspace integration 🎥 Comprehensive Learning Resources YouTube Channel**: https://www.youtube.com/@YaronBeen/videos Complete setup and configuration tutorials for Google Forms and Sheets Advanced AI prompt engineering for personalized client communications Integration guides for popular CRM and project management platforms Best practices for professional service provider automation Troubleshooting common Google Workspace and Gmail integration issues 🤝 Professional Community & Networking LinkedIn**: https://www.linkedin.com/in/yaronbeen/ Connect for ongoing client onboarding automation support and consulting Share your client acquisition and onboarding success stories Access exclusive workflow templates for different service industries Join discussions about client experience automation and business growth 💬 Support Request Best Practices Include in your support message: Your service type and typical client onboarding process Current client volume and expected growth projections Specific customization requirements for your industry Integration needs with existing CRM or project management tools Any technical errors or workflow execution issues Ready to create unforgettable first impressions for every new client? Deploy this AI Client Onboarding Agent and transform your client acquisition process into a seamless, professional experience that starts strong relationships from day one!
by Amit Mehta
How it works: This workflow automates the entire LinkedIn content distribution process — from AI-powered post creation to auto-posting on both personal LinkedIn profiles and LinkedIn groups, using GPT-4o and Google Sheets as the content source and control panel. Auto-generates professional LinkedIn posts from spreadsheet topics using GPT-4o. Posts to your LinkedIn profile and multiple groups. Updates status to avoid duplicate posting. Fully customizable and reusable with your spreadsheet. Set up Steps Create and Upload the Spreadsheet Name it: Linkedin Post Sheet1 (for post topics): Columns: ID | Linkedin Post Title | Status Add post titles under Linkedin Post Title Set Status to Pending Create new sheet name as "Groups" (for group distribution): Column: GroupIds Add LinkedIn Group IDs, one per row Connect Google Sheets Nodes Connect your Google account to these nodes: Linkedin Post topic (Reads post topics) Get group id (Reads LinkedIn groups) Update Status (Writes back the status after posting) Configure GPT-4o (OpenAI) Add your OpenAI API key in the Linkedin Post creator node This node will generate high-quality content from your topic titles Connect LinkedIn Account Add your LinkedIn credentials in the Linkedin user detail node Ensure appropriate permissions to post on profile and groups Activate the Workflow : Once live, the workflow will: Monitor the Google Sheet for Pending posts. Generate content via GPT-4o. Post to: Your LinkedIn Profile Each LinkedIn Group listed in the Groups sheet Update the post Status to Posted Customization Tips Want to personalize this template? Change AI tone or style in the OpenAI node prompt Add a scheduler node if you'd like to post at fixed intervals Use a Slack or Telegram approval step before posting Integrate analytics tools to track post performance Suggested Sticky Notes for Workflow | Node or Section | Sticky Note Content | | ---------------------- | --------------------------------------------------------------------------- | | Linkedin Post topic | Reads the topic titles and statuses from Sheet1 | | OpenAI (GPT-4o) | Generates content using topic title — you can modify the tone/prompt here | | Linkedin user detail | Your personal LinkedIn credentials — required to post | | Group loop | Iterates through LinkedIn Group IDs and posts the content | | Update Status | Updates spreadsheet so the topic isn't re-posted |
by Corentin Ribeyre
This template can be used to scan a domain/company with Icypeas. Be sure to have an active account to use this template. How it works This workflow can be divided into three steps : The workflow initiates with a manual trigger (On clicking 'execute'). It connects to your Icypeas account. It performs an HTTP request to scan a domain/company name. Set up steps You will need a working icypeas account to run the workflow and get your API Key, API Secret and User ID. You will need a domain/company name to perform the search.
by Billy Christi
Who is this for? This workflow is ideal for: Customer support teams looking to reduce manual response time SaaS companies that frequently receive product inquiries E-commerce stores with common customer questions about orders, shipping, and returns What problem is this workflow solving? Manually responding to repetitive customer emails is inefficient, prone to inconsistency, and time-consuming. This workflow solves the issue by: Automatically replying to real customer inquiries 24/7 Ensuring every response is consistent, friendly, and based on approved knowledge Preventing responses to non-inquiries like newsletters or confirmations Logging every interaction for traceability, analysis, and compliance What this workflow does This AI-powered Gmail auto-responder intelligently handles inbound emails with the following steps: Monitors your Gmail inbox for new incoming emails in real time Classifies each email as either an “Inquiry” or “Not Inquiry” using GPT-4 Gets context from a Google Sheets FAQ database The context will be used to determine the most accurate and helpful response Generates a professional reply only if it’s a valid inquiry (e.g., pricing, refund, product details) Builds a context-aware, helpful response using verified knowledge only Sends the reply to the original sender automatically Logs everything to a Google Sheet — original email, AI response, timestamp, and email address Example Use Case: An email comes in: "Hi, I want to know your pricing and refund policy." The workflow: Detects it’s an inquiry Finds the pricing and refund FAQs in your Google Sheet Sends back a professional response like: "Hi! Thanks for reaching out. Our pricing starts at \$99/month. Refunds can be requested within 30 days of purchase. Let us know if you have more questions!" Logs the interaction to your “Enquiry\_Log” tab Setup Copy the Google Sheet template here: 👉 Gmail Auto-Responder – Google Sheet Template This contains: A FAQ_Context tab (your knowledge base) An Enquiry_Log tab (interaction logs) Connect your Gmail account to the Gmail Trigger and Gmail Send nodes Add your OpenAI API key in the classification and response generator nodes Link the Google Sheet in both the FAQ lookup and logging nodes Test with a sample email — try asking a pricing and refund question to see the complete process in action How to customize this workflow to your needs Adjust tone or brand voice** in the AI prompt for a more casual or formal reply Modify classification rules** if your use case includes more custom logic Expand the FAQ database** to include new questions and answers Add multilingual support** by customizing the AI prompt to detect and respond in different languages Integrate CRM or ticketing systems** (like HubSpot, Zendesk, or Notion) to log or escalate unanswered queries
by WeblineIndia
Smart Document Parser for Invoices, Logs or Sensor Reports (PDF/Image to Google Sheets) This n8n workflow automatically parses documents such as invoices, sensor logs or structured PDFs/images (including scanned docs or CSVs), extracts key fields like totals, dates and customer/vendor info using OCR and AI, and writes the structured output into Google Sheets. Who’s it for Finance or Ops teams automating invoice processing. SaaS platforms parsing uploaded reports or documents. Anyone needing a no-code backend for PDF/image/CSV document parsing. AI-powered data capture pipelines. How it works Webhook Trigger receives file uploads (/uploadDoc) Switch Node checks the file type: If image → Use Tesseract OCR If PDF → Use PDF parser If CSV → Extract as-is Extracted text is passed to: Google Gemini or Gemini Flash AI model Prompt extracts fields like invoice_id, total, customer_name, etc. JSON string is parsed and cleaned Data is appended to Google Sheets using appendOrUpdate How to set up Create a Google Sheet with columns like: invoice_id, invoice_date, due_date, customer_name, vendor_name, subtotal, tax_total, total, currency Connect: Google Sheets OAuth Google Gemini (PaLM API key) for LLM parsing Deploy the webhook endpoint: /uploadDoc Upload sample files (PDFs, images, CSVs) to test Review and map sheet columns in the Invoice Data node Requirements | Tool | Purpose | | ------------- | --------------------------------- | | n8n | Automation framework | | Google Sheets | To store structured output | | Tesseract OCR | For scanned image text extraction | | Google Gemini | For natural language parsing | How to customize Add extraction for line items using structured prompts. Change prompt to extract sensor readings, log types, or custom keys. Add support for other file types (e.g., XLSX, DOCX). Add Slack/Email notifications on success/failure. Swap Gemini with OpenAI or Hugging Face if preferred. Add‑ons Save uploaded files to Google Drive or S3 Add auth for secure uploads Use charting/dashboard nodes to visualize extracted data Integrate with billing/accounting software Use Case Examples | Scenario | What Happens | | ----------------------- | ------------------------------------------------------- | | Invoice Upload (PDF) | Extracts totals, customer, tax data into a Google Sheet | | Scanned Receipt (Image) | OCR + LLM extracts structured data | | Log File (CSV) | Parses and logs entries into Sheets | Common troubleshooting | Issue | Possible Cause | Solution | | --------------------------------- | ----------------------- | ------------------------------------------- | | Webhook not triggered | URL or method mismatch | Use correct POST URL /uploadDoc | | Text is blank | OCR failed | Check image quality or Tesseract config | | Gemini model not returning JSON | Prompt formatting issue | Ensure prompt ends with valid JSON schema | | Sheet not updated | Invalid Sheet ID or tab | Double-check sheet credentials and tab name | Need Help? Need help fine-tuning the Gemini prompt for better field accuracy? Want to extract full tables, multi-page invoices or convert PDFs to JSON lines? Our automation team at WeblineIndia can help you extend this into a full-blown document automation pipeline.
by Robert Breen
This n8n workflow reads emails from your Outlook inbox, drafts AI-powered replies using OpenAI, and routes them through the gotoHuman node for human approval before replying automatically. ✅ Key Features Reads Outlook emails** from today only (excluding those from your own address). AI-generated replies** crafted using OpenAI based on the subject and body of the email. Community node integration**: Uses the gotoHuman node for human review and approval of replies before sending. Safe sending**: Only approved responses are automatically sent back via Outlook. Expandable**: Can be easily modified to: Send drafts instead of full replies Include additional email filters Trigger at intervals or via webhook 🧠 Nodes Used Microsoft Outlook – Fetch and reply to emails OpenAI – Generates smart reply text gotoHuman – Human-in-the-loop approval system Loop Over Items, IF, Code, and Set nodes for processing logic Manual Trigger – For testing 🔧 Setup Instructions 1. Connect APIs Outlook OAuth2**: Go to Azure Portal Register an app Add Mail.Read, Mail.Send scopes Set redirect URI: https://api.n8n.cloud/oauth2-credential/callback Paste credentials in n8n credential manager OpenAI API**: Create account at OpenAI Create an API Key Add it to n8n credentials gotoHuman API**: Go to https://gotoHuman.ai and sign in Create a review template (e.g., “Email Responses”) Copy the Template ID and API key into n8n credentials 🪜 Workflow Steps Overview 1. Trigger Use the Manual Trigger to test or schedule execution with a cron node. 2. Filter Emails from Today A Code node outputs today's date in the proper yyyy-mm-dd format. const today = new Date(); today.setHours(0, 0, 0, 0); return [{ json: { searchQuery: received:${today.toISOString().split('T')[0]} } }]; 3. Search and Filter Outlook Messages Uses the Outlook node with a search query like: received:2025-08-06 -from:rbreen@ynteractive.com (Update to your email) 4. Generate AI Response Text prompt to OpenAI: subject: {{ $json.subject }} body: {{ $json.body.content }} System prompt: > You are a personal assistant helping respond to emails. I am an AI automation expert specializing in helping small and medium-size businesses automate processes. Create a short response to the email. Sign the email as Robert Breen. 5. Review with gotoHuman Submit AI output for human approval using the gotoHuman node. The output schema should match the Review Template fields (e.g., "email", "OriginalEmail"). 6. IF Node Decision If status is approved, send reply If not, return to loop for revision or skip ✏️ Customization Ideas ✉️ Send only drafts by skipping the "reply" step and storing results. 🕒 Schedule the workflow with a Cron trigger for automation. 🔎 Add label filters or subject keywords for advanced targeting. 🔗 External Links gotoHuman Community Node OpenAI Microsoft Outlook API Setup 💬 Need More Help? If you'd like help customizing this or building similar automations, reach out: Robert Breen AI & Automation Consultant 🌐 https://ynteractive.com 📧 robert.j.breen@gmail.com 🔗 LinkedIn
by Yaron Been
🤖 AI Cart Recovery Agent: Smart Abandoned Checkout Assistant Transform abandoned carts into recovered sales with intelligent automation. This sophisticated n8n workflow monitors checkout abandonment, implements smart waiting periods, and sends AI-generated personalized recovery emails only when needed - maximizing conversions while respecting customer experience. 🔄 How It Works This intelligent 7-step recovery system recovers lost sales automatically: Step 1: Initial Abandonment Detection The workflow fetches current abandoned checkout data from your e-commerce platform (Shopify, WooCommerce, etc.), identifying customers who added items but didn't complete their purchase. Step 2: Strategic Grace Period Instead of immediately sending recovery emails, the system waits 1 hour (customizable), giving customers natural time to complete their purchase without pressure or interruption. Step 3: Smart Re-verification After the waiting period, the workflow rechecks the abandonment status by fetching updated checkout data, ensuring accuracy before taking action. Step 4: Intelligent Decision Logic Advanced conditional logic compares initial and updated abandonment lists, determining if customers are still abandoned or have completed their purchase during the grace period. Step 5: AI-Powered Email Generation For customers still showing abandonment, GPT generates personalized recovery emails featuring: Customer's actual name for personal connection Specific products left in their cart Friendly, non-pushy messaging tone Optional discount incentives Compelling call-to-action to complete purchase Step 6: Automated Email Delivery Personalized recovery emails are sent directly to abandoned customers via Gmail or your preferred email service, maintaining professional branding and deliverability. Step 7: Comprehensive Activity Logging All recovery attempts are logged in Google Sheets for tracking, including customer details, email content, and campaign performance analytics. ⚙️ Setup Steps Prerequisites E-commerce platform with API access (Shopify, WooCommerce, BigCommerce) OpenAI API key for personalized email generation Gmail or SMTP email service for delivery Google Sheets for activity tracking and analytics n8n instance (cloud or self-hosted) E-commerce Platform Configuration Shopify Setup: API Endpoint: https://your-store.myshopify.com/admin/api/2023-10/checkouts.json Authentication: X-Shopify-Access-Token header Required Permissions: Read checkouts, Read customers Parameters: status=abandoned WooCommerce Setup: API Endpoint: https://your-site.com/wp-json/wc/v3/orders Authentication: Consumer Key/Secret or JWT Parameters: status=pending, status=failed Required Plugins: WooCommerce REST API Configuration Steps 1. Credential Setup E-commerce API**: Store admin API access tokens or keys OpenAI API Key**: GPT-4 access for intelligent email generation Gmail OAuth2**: Professional email delivery service Google Sheets OAuth2**: Activity logging and performance tracking 2. Abandonment Detection Configuration Monitoring Frequency**: Set workflow trigger schedule (hourly, daily) Grace Period Duration**: Customize wait time (default: 1 hour) Platform Integration**: Configure API endpoints for your specific platform Data Filtering**: Set criteria for what constitutes abandonment 3. AI Email Customization Default email generation includes: Personalization Level**: Customer name, product specifics, cart value Tone Customization**: Friendly, urgent, helpful, or premium Discount Integration**: Optional percentage or fixed amount offers Brand Voice**: Maintain consistent company messaging and style 4. Recovery Campaign Settings Email Timing**: Optimal sending times based on customer time zones Frequency Limits**: Prevent over-emailing with cooldown periods Segmentation Rules**: Different approaches for high-value vs standard carts Follow-up Sequences**: Multi-email recovery campaigns with escalating incentives 5. Performance Tracking Setup Analytics Dashboard**: Google Sheets with recovery metrics and ROI Success Tracking**: Monitor completion rates and revenue recovered A/B Testing**: Compare different email approaches and timing Customer Journey**: Track from abandonment through recovery completion 🚀 Use Cases E-commerce Retailers Fashion & Apparel**: Recover high-value clothing and accessory purchases Electronics**: Target abandoned tech purchases with technical support offers Home & Garden**: Remind customers about seasonal or home improvement items Beauty & Cosmetics**: Recover abandoned skincare and makeup purchases Subscription & SaaS Businesses Software Trials**: Convert abandoned trial signups into paid subscriptions Membership Sites**: Recover incomplete membership purchases Online Courses**: Re-engage learners who abandoned course purchases Digital Services**: Follow up on abandoned service bookings or consultations B2B E-commerce Office Supplies**: Recover bulk order abandonments with volume discounts Industrial Equipment**: Follow up on high-value equipment quote requests Professional Services**: Re-engage businesses that abandoned service bookings Software Licenses**: Recover enterprise software purchase abandonments Specialty Retailers Luxury Goods**: Provide white-glove service for high-value abandoned purchases Custom Products**: Follow up on personalized or custom order abandonments Seasonal Items**: Time-sensitive recovery for holiday or event-specific products Limited Edition**: Create urgency for exclusive or limited availability items Service-Based Businesses Travel & Hospitality**: Recover abandoned hotel, flight, or package bookings Event Tickets**: Re-engage customers who abandoned concert or event purchases Professional Services**: Follow up on abandoned consultation or service bookings Fitness & Wellness**: Recover abandoned membership or class package purchases 🔧 Advanced Customization Options Multi-Platform Integration Extend beyond single platform monitoring: Shopify Plus: Advanced checkout analytics and customer segmentation WooCommerce: Custom post-purchase and abandonment tracking Magento: Enterprise-level cart recovery with customer journey mapping BigCommerce: API-driven recovery with advanced personalization Custom Platforms: Webhook-based abandonment detection and recovery Intelligent Email Sequencing Create sophisticated recovery campaigns: Progressive Incentives**: Escalating discounts over multiple touchpoints Behavioral Triggers**: Different emails based on cart value, customer history Seasonal Campaigns**: Holiday-specific recovery messaging and offers Win-Back Sequences**: Long-term customer re-engagement beyond immediate recovery Advanced Personalization Enhance AI-generated content with: Purchase History Analysis**: Reference previous purchases and preferences Browsing Behavior**: Include recently viewed items and categories Geographic Personalization**: Local offers, shipping options, or store locations Demographic Targeting**: Age, gender, or interest-based messaging customization Performance Optimization Implement advanced tracking and optimization: Revenue Attribution**: Track exact recovery amounts and ROI calculations Customer Lifetime Value**: Prioritize high-value customer recovery efforts Conversion Funnel Analysis**: Identify optimal timing and messaging strategies Predictive Analytics**: Use ML to predict recovery likelihood and optimize approaches 📊 Recovery Email Examples Fashion Retailer Example: Subject: You left something stylish behind, Sarah! Hi Sarah, I noticed you were checking out those gorgeous items in your cart earlier - the Bohemian Summer Dress and Classic Leather Handbag have been waiting for you! I completely understand if you got busy or needed time to think it over. These pieces are still available and ready to ship to you today. Since you showed such great taste in selecting these items, I'd love to offer you 10% off your order to make the decision easier. Just use code WELCOME10 at checkout. Your cart includes: • Bohemian Summer Dress (Size M) - $89.99 • Classic Leather Handbag (Brown) - $156.99 Complete your purchase now and get free shipping to your door! [Complete My Purchase] Best regards, The StyleHub Team P.S. These items are popular and inventory is limited - don't wait too long! Software/SaaS Example: Subject: Your ProductivityPro trial is waiting, Mike Hi Mike, You were just one step away from unlocking the full power of ProductivityPro for your team at TechStartup Inc. I noticed you explored our Premium Plan features - the advanced reporting and team collaboration tools that could streamline your workflow and boost productivity by up to 40%. Since you invested time exploring our platform, I'd like to offer you an exclusive 25% discount on your first year. This offer is valid for the next 48 hours. Your selected plan: • ProductivityPro Premium (5 users) - $99/month • With 25% discount: $74/month (Save $300/year!) Ready to transform your team's productivity? [Activate My Account] Questions? Reply to this email or schedule a quick 15-minute demo call. Best regards, David Chen Customer Success Manager, ProductivityPro High-Value B2B Example: Subject: Your equipment quote is ready for approval, Jennifer Hi Jennifer, Thank you for your interest in our Industrial Packaging System for ManuCorp's new facility expansion. I understand that equipment investments of this scale require careful consideration and stakeholder alignment. Your configured system includes: • Model X5000 Packaging Line - $45,000 • Installation & Training Package - $8,000 • Extended 3-Year Warranty - $3,500 Total Investment: $56,500 Given the scope of your project, I'd like to extend our Q1 promotion pricing, which provides: 15% discount on equipment ($6,750 savings) Free installation supervision ($2,000 value) Expedited 6-week delivery This brings your total to $48,750 - a savings of $7,750. I'm available for a brief call to address any technical questions or help facilitate internal approvals. [Accept Quote & Proceed] Best regards, Robert Martinez Senior Sales Engineer Industrial Solutions Inc. Direct: (555) 123-4567 🛠️ Troubleshooting & Best Practices Common Issues & Solutions API Rate Limiting Implement exponential backoff for API requests Stagger workflow execution times across different stores Monitor API usage and upgrade plans as needed Cache frequently accessed data to reduce API calls Email Deliverability Challenges Use authenticated SMTP services with proper SPF/DKIM setup Monitor sender reputation and email engagement metrics Implement opt-out mechanisms and respect unsubscribe requests Segment email lists and avoid over-emailing customers False Positive Recoveries Extend grace periods for complex checkout processes Implement more sophisticated abandonment detection logic Add customer behavior analysis before triggering recovery Create exception rules for technical checkout failures Optimization Strategies Recovery Timing Optimization A/B test different grace period durations (30 min, 1 hour, 3 hours) Analyze customer behavior patterns to optimize sending times Consider time zone differences for global customer bases Implement seasonal timing adjustments for holidays and events Content Personalization Enhancement Continuously refine AI prompts based on successful recoveries Implement dynamic discount strategies based on cart value Create customer segment-specific messaging approaches Add urgency elements for time-sensitive or limited inventory items Performance Measurement Track recovery rates, revenue impact, and customer satisfaction Implement cohort analysis for long-term customer value impact Monitor email engagement metrics and optimize accordingly Calculate true ROI including customer acquisition costs and lifetime value 📈 Success Metrics Recovery Performance Indicators Recovery Rate**: Percentage of abandoned carts successfully recovered Revenue Recovery**: Total dollar amount recovered from abandoned purchases Email Engagement**: Open rates, click rates, and conversion rates Time to Recovery**: Average time from abandonment to completed purchase Business Impact Measurements ROI Calculation**: Revenue recovered vs workflow operational costs Customer Retention**: Impact on long-term customer relationships Average Order Value**: Effect on overall purchase values post-recovery Operational Efficiency**: Automation savings vs manual recovery efforts 📞 Questions & Support Need help implementing your AI Cart Recovery Agent? 📧 E-commerce Automation Expert Support Email**: Yaron@nofluff.online Response Time**: Within 24 hours on business days Specialization**: E-commerce automation, cart recovery optimization, AI email personalization 🎥 Comprehensive Implementation Resources YouTube Channel**: https://www.youtube.com/@YaronBeen/videos Complete setup guides for major e-commerce platforms Advanced AI email personalization techniques Recovery campaign optimization strategies Integration tutorials for Shopify, WooCommerce, and custom platforms Performance tracking and analytics implementation 🤝 E-commerce Automation Community LinkedIn**: https://www.linkedin.com/in/yaronbeen/ Connect for ongoing e-commerce automation support and consulting Share your cart recovery success stories and ROI achievements Access exclusive templates for different industry verticals Join discussions about e-commerce automation trends and innovations 💬 Support Request Guidelines Include in your support message: Your e-commerce platform and current cart abandonment rates Average order values and customer segments you serve Current recovery processes and conversion challenges Integration requirements with existing marketing tools Specific technical errors or workflow execution issues
by Dvir Sharon
Automated Content Idea Generation and Expansion with Google Gemini and Google Sheets This n8n workflow automates the process of generating content ideas based on a user-defined topic, then expands each idea into a more detailed content piece (like a blog post) using Google Gemini, and finally saves all the generated data (idea title, description, and full content) into a Google Sheet. It's a powerful tool for streamlining content creation workflows. This workflow includes: Generation of multiple content ideas from a single topic. Expansion of each idea into detailed content using AI. Storage of ideas and generated content in a structured Google Sheet. Sticky Notes within the workflow for inline documentation and setup guidance. Prerequisites n8n Instance: You need a running n8n instance (self-hosted or cloud). Google AI Account: Access to Google AI (Gemini). You will need an API key. Google Account: Access to Google Sheets. You will need to create or use an existing spreadsheet with specific column headers. Installation and Setup Import the Workflow: Copy the entire JSON code provided. In your n8n instance, go to "Workflows". Click "New" -> "Import from JSON". Paste the JSON code and click "Import". Configure Credentials: Google AI (Gemini): Find the "Google Gemini Chat Model for Content Idea Generator" node and the "Google Gemini Chat Model for Content Generation" node. Click on the "Credentials" field in both nodes (it will likely show a placeholder name like "Google Gemini(PaLM) Api account"). Click "Create New". Select "Google AI API". Enter your Google AI API Key. Save the credential. (You can reuse the same credential for both nodes). Google Sheets: Find the "Google Sheets" node. Click on the "Credentials" field (it will likely show a placeholder name like "Google Sheets account"). Click "Create New". Select "Google Sheets OAuth2 API". Follow the steps to connect your Google Account and grant n8n access to Google Sheets. Save the credential. Configure Google Sheets Node: Open the "Google Sheets" node settings. Spreadsheet ID: Replace the placeholder value with the actual ID of your Google Sheet. You can find the Spreadsheet ID in the URL of your Google Sheet (it's the long string of characters between /d/ and /edit). Sheet Name: Select or enter the name or GID of the sheet within your spreadsheet where you want to save the data (e.g., Sheet1 or gid=0). Columns: Ensure your Google Sheet has columns named title, description, and content. The node is configured to map the generated data to these specific column headers. Save the node settings. Review Sticky Notes: Look at the Sticky Notes placed around the workflow canvas. They provide helpful context and reminders for setup, required Google Sheet columns, and the AI models used. How to Use Activate the Workflow: Toggle the workflow switch to "Active". Trigger the Workflow: Since this workflow uses a "When clicking ‘Execute workflow’" node as the trigger, you can run it directly from the n8n editor. Click the "Execute Workflow" button. The workflow will start automatically. Set the Topic: Open the "Set the input fields" node. Modify the topic value to the subject you want to generate content ideas about. Save the node settings. Monitor Execution: Watch the workflow execute. The nodes will light up as they process. The "Loop Over Items" node will show multiple executions as it processes each generated idea. Check Results: The generated content ideas (title, description) and the expanded content will be written as new rows in the Google Sheet you configured. Each row will correspond to one generated idea and its content. This workflow provides a robust starting point for AI-assisted content creation. You can customize the AI prompts in the "Content Idea Generator" and "LLM Content Generator" nodes to refine the output style and format, or integrate additional steps like sending notifications or further processing the generated content.
by Automate With Marc
🔧 How It Works Telegram Trigger – Listens for incoming messages from users via your Telegram bot. Watch Full Step-by-step Guide Video here: https://www.youtube.com/watch?v=GzWO7_1lyI8 AI Agent – Processes the message to determine the user's intent (booking or canceling) and extracts necessary details like date, time, and participant names. Google Calendar Node – Depending on the intent: Booking: Creates a new event in Google Calendar with the extracted details. Canceling: Searches for the specified event and deletes it from the calendar. Telegram Node – Sends a confirmation message back to the user, informing them of the successful booking or cancellation. 🧠 Why This is Useful Managing appointments can be time-consuming. This workflow automates the process, allowing users to schedule or cancel meetings effortlessly through a simple chat interface. It's ideal for: Solopreneurs managing their own schedules. Small businesses coordinating meetings with clients. Anyone looking to streamline their appointment management process. 🪜 Setup Instructions Set Up Telegram Bot: Create a new bot using BotFather on Telegram. Obtain the API token and set up the Telegram Trigger node in n8n with this token. OpenAI Platform API required for OpenAI Chat Model Connect to Google Calendar For the full video tutorial, watch here: https://youtu.be/GzWO7_1lyI8