by Oneclick AI Squad
This is a production-ready, end-to-end workflow that automatically compares hotel prices across multiple booking platforms and delivers beautiful email reports to users. Unlike basic building blocks, this workflow is a complete solution ready to deploy. ✨ What Makes This Production-Ready ✅ Complete End-to-End Automation Input**: Natural language queries via webhook Processing**: Multi-platform scraping & comparison Output**: Professional email reports + analytics Feedback**: Real-time webhook responses ✅ Advanced Features 🧠 Natural Language Processing for flexible queries 🔄 Parallel scraping from multiple platforms 📊 Analytics tracking with Google Sheets integration 💌 Beautiful HTML email reports 🛡️ Error handling and graceful degradation 📱 Webhook responses for real-time feedback ✅ Business Value For Travel Agencies**: Instant price comparison service for clients For Hotels**: Competitive pricing intelligence For Travelers**: Save time and money with automated research 🚀 Setup Instructions Step 1: Import Workflow Copy the workflow JSON from the artifact In n8n, go to Workflows → Import from File/URL Paste the JSON and click Import Step 2: Configure Credentials A. SMTP Email (Required) Settings → Credentials → Add Credential → SMTP Host: smtp.gmail.com (for Gmail) Port: 587 User: your-email@gmail.com Password: your-app-password (not regular password!) Gmail Setup: Enable 2FA on your Google Account Generate App Password: https://myaccount.google.com/apppasswords Use the generated password in n8n B. Google Sheets (Optional - for analytics) Settings → Credentials → Add Credential → Google Sheets OAuth2 Follow the OAuth flow to connect your Google account Sheet Setup: Create a new Google Sheet Name the first sheet "Analytics" Add headers: timestamp, query, hotel, city, checkIn, checkOut, bestPrice, platform, totalResults, userEmail Copy the Sheet ID from URL and paste in the "Save to Google Sheets" node Step 3: Set Up Scraping Service You need to create a scraping API that the workflow calls. Here are your options: Option A: Use Your Existing Python Script Create a simple Flask API wrapper: api_wrapper.py from flask import Flask, request, jsonify import subprocess import json app = Flask(name) @app.route('/scrape/<platform>', methods=['POST']) def scrape(platform): data = request.json query = f"{data['checkIn']} to {data['checkOut']}, {data['hotel']}, {data['city']}" try: result = subprocess.run( ['python3', 'price_scrap_2.py', query, platform], capture_output=True, text=True, timeout=30 ) Parse your script output output = result.stdout Assuming your script returns price data return jsonify({ 'price': extracted_price, 'currency': 'USD', 'roomType': 'Standard Room', 'url': booking_url, 'availability': True }) except Exception as e: return jsonify({'error': str(e)}), 500 if name == 'main': app.run(host='0.0.0.0', port=5000) Deploy: pip install flask python api_wrapper.py Update n8n HTTP Request nodes: URL: http://your-server-ip:5000/scrape/booking URL: http://your-server-ip:5000/scrape/agoda URL: http://your-server-ip:5000/scrape/expedia Option B: Use Third-Party Scraping Services Recommended Services: ScraperAPI** (scraperapi.com) - $49/month for 100k requests Bright Data** (brightdata.com) - Pay as you go Apify** (apify.com) - Has pre-built hotel scrapers Example with ScraperAPI: // In HTTP Request node URL: http://api.scraperapi.com Query Parameters: api_key: YOUR_API_KEY url: https://booking.com/search?hotel={{$json.hotelName}}... Option C: Use n8n SSH Node (Like Your Original) Keep your SSH approach but improve it: Replace HTTP Request nodes with SSH nodes Point to your server with the Python script Ensure error handling and timeouts // SSH Node Configuration Host: your-server-ip Command: python3 /path/to/price_scrap_2.py "{{$json.hotelName}}" "{{$json.city}}" "{{$json.checkInISO}}" "{{$json.checkOutISO}}" "booking" Step 4: Activate Webhook Click on "Webhook - Receive Request" node Click "Listen for Test Event" Copy the webhook URL (e.g., https://your-n8n.com/webhook/hotel-price-check) Test with this curl command: curl -X POST https://your-n8n.com/webhook/hotel-price-check \ -H "Content-Type: application/json" \ -d '{ "message": "I want to check Marriott Hotel in Singapore from 15th March to 18th March", "email": "user@example.com", "name": "John Doe" }' Step 5: Activate Workflow Toggle the workflow to Active The webhook is now live and ready to receive requests 📝 Usage Examples Example 1: Basic Query { "message": "Hilton Hotel in Dubai from 20th December to 23rd December", "email": "traveler@email.com", "name": "Sarah" } Example 2: Flexible Format { "message": "I need prices for Taj Hotel, Mumbai. Check-in: 5th January, Check-out: 8th January", "email": "customer@email.com" } Example 3: Short Format { "message": "Hyatt Singapore March 10 to March 13", "email": "user@email.com" } 🎨 Customization Options 1. Add More Booking Platforms Steps: Duplicate an existing "Scrape" node Update the platform parameter Connect it to "Aggregate & Compare" Update the aggregation logic to include the new platform 2. Change Email Template Edit the "Format Email Report" node's JavaScript: Modify HTML structure Change colors (currently purple gradient) Add your company logo Include terms and conditions 3. Add SMS Notifications Using Twilio: Add new node: Twilio → Send SMS Connect after "Aggregate & Compare" Format: "Best deal: ${hotel} at ${platform} for ${price}" 4. Add Slack Integration Add Slack node after "Aggregate & Compare" Send to #travel-deals channel Include quick booking links 5. Implement Caching Add Redis or n8n's built-in cache: // Before scraping, check cache const cacheKey = ${hotelName}-${city}-${checkIn}-${checkOut}; const cached = await $cache.get(cacheKey); if (cached && Date.now() - cached.timestamp < 3600000) { return cached.data; // Use 1-hour cache } 📊 Analytics & Monitoring Google Sheets Dashboard The workflow automatically logs to Google Sheets. Create a dashboard with: Metrics to track: Total searches per day/week Most searched hotels Most searched cities Average price ranges Platform with best prices (frequency) User engagement (repeat users) Example Sheet Formulas: // Total searches today =COUNTIF(A:A, TODAY()) // Most popular hotel =INDEX(C:C, MODE(MATCH(C:C, C:C, 0))) // Average best price =AVERAGE(G:G) Set Up Alerts Add a node after "Aggregate & Compare": // Alert if prices are unusually high if (bestDeal.price > avgPrice * 1.5) { // Send alert to admin return [{ json: { alert: true, message: High prices detected for ${hotelName} } }]; } 🛡️ Error Handling The workflow includes comprehensive error handling: 1. Missing Information If user doesn't provide hotel/city/dates → Responds with helpful prompt 2. Scraping Failures If all platforms fail → Sends "No results" email with suggestions 3. Partial Results If some platforms work → Shows available results + notes errors 4. Email Delivery Issues Uses continueOnFail: true to prevent workflow crashes 🔒 Security Best Practices 1. Rate Limiting Add rate limiting to prevent abuse: // In Parse & Validate node const userEmail = $json.email; const recentSearches = await $cache.get(searches:${userEmail}); if (recentSearches && recentSearches.length > 10) { return [{ json: { status: 'rate_limited', response: 'Too many requests. Please try again in 1 hour.' } }]; } 2. Input Validation Already implemented - validates hotel names, cities, dates 3. Email Verification Add email verification before first use: // Send verification code const code = Math.random().toString(36).substring(7); await $sendEmail({ to: userEmail, subject: 'Verify your email', body: Your code: ${code} }); 4. API Key Protection Never expose scraping API keys in responses or logs 🚀 Deployment Options Option 1: n8n Cloud (Easiest) Sign up at n8n.cloud Import workflow Configure credentials Activate Pros: No maintenance, automatic updates Cons: Monthly cost Option 2: Self-Hosted (Most Control) Using Docker docker run -it --rm \ --name n8n \ -p 5678:5678 \ -v ~/.n8n:/home/node/.n8n \ n8nio/n8n Using npm npm install -g n8n n8n start Pros: Free, full control Cons: You manage updates Option 3: Cloud Platforms Railway.app (recommended for beginners) DigitalOcean App Platform AWS ECS Google Cloud Run 📈 Scaling Recommendations For < 100 searches/day Current setup is perfect Use n8n Cloud Starter or small VPS For 100-1000 searches/day Add Redis caching (1-hour cache) Use queue system for scraping Upgrade to n8n Cloud Pro For 1000+ searches/day Implement job queue (Bull/Redis) Use dedicated scraping service Load balance multiple n8n instances Consider microservices architecture 🐛 Troubleshooting Issue: Webhook not responding Solution: Check workflow is Active Verify webhook URL is correct Check n8n logs: Settings → Log Streaming Issue: No prices returned Solution: Test scraping endpoints individually Check if hotel name matches exactly Verify dates are in future Try different date ranges Issue: Emails not sending Solution: Verify SMTP credentials Check "less secure apps" setting (Gmail) Use App Password instead of regular password Check spam folder Issue: Slow response times Solution: Enable parallel scraping (already configured) Add timeout limits (30 seconds recommended) Implement caching Use faster scraping service
by Jitesh Dugar
Customer Testimonial Collector Workflow Transform scattered testimonials into organized marketing assets - achieving 500 percent increase in testimonial collection, instant multi-channel optimization, and turning happy customers into brand advocates with automated rewards and recognition. What This Workflow Does Revolutionizes testimonial management with AI-powered analysis and multi-channel optimization: Centralized Collection via Jotform with structured fields for consistency AI Tone Detection using GPT-4 to analyze sentiment, authenticity, and emotional impact with 0-100 scoring Smart Quote Extraction that automatically identifies best soundbites for different marketing channels Organized Library using Google Sheets database with searchable tags, ratings, and usage permissions Automated Thank-You emails with exclusive coupon codes (20 percent for 5-star reviews) Social Media Optimization where AI creates Twitter, LinkedIn, and website versions automatically Marketing Team Alerts with real-time notifications including priority levels and usage recommendations Smart Rewards using dynamic discount codes based on rating quality Use Case Matching where AI identifies which marketing channels and audiences fit each testimonial Marketing-Ready Assets including headlines, callout words, and visual suggestions Key Features AI Testimonial Analyst: GPT-4 evaluates testimonials across 20 plus dimensions including tone, authenticity, emotional impact, and competitive advantages revealed Multi-Channel Optimization: Automatically generates Twitter-ready (280 characters), LinkedIn professional (150 words), and website polished (50-75 words) versions Tone and Sentiment Detection: Classifies testimonials as Enthusiastic, Professional, Grateful, Impressed, Transformative, or Skeptical-to-Believer with 0-100 sentiment scores Best Quote Extraction: AI identifies the single most impactful sentence plus 2-3 alternate quotes for different contexts Authenticity Scoring: Filters generic testimonials by rating authenticity as very-authentic, authentic, or generic Key Benefits Identification: Automatically extracts specific benefits mentioned such as time savings, cost reduction, and quality improvement Pain Points Mapping: Identifies what problems the customer solved by using your product or service Specific Results Tracking: Captures measurable outcomes like revenue increase, efficiency gains, and customer satisfaction improvements Marketing Priority Levels: AI assigns high, medium, or low priority to help marketing teams focus on most impactful testimonials Target Audience Matching: Identifies which customer segments would most relate to each testimonial Buyer Journey Staging: Tags testimonials by awareness, consideration, or decision stage for funnel optimization Competitive Differentiation: Identifies what each testimonial reveals about your competitive advantages Visual Design Suggestions: AI recommends graphic styles and callout words for testimonial graphics Permission Tracking: Automatically logs customer consent for public use across different channels Smart Coupon Generation: Creates unique codes with expiration dates and rating-based discount tiers Referral Incentives: Thank-you emails include referral program details to drive word-of-mouth Perfect For SaaS Companies needing social proof for landing pages and product pages E-commerce Stores showcasing customer satisfaction and product quality B2B Service Providers including consulting, agencies, and professional services building credibility Course Creators and online educators leveraging student success stories Healthcare Practices with patient testimonials (HIPAA-compliant with proper permissions) Real Estate Agents collecting client feedback for marketing materials Restaurants and Hospitality businesses gathering guest reviews and experiences Fitness and Wellness brands showcasing transformation stories What You Will Need Required Integrations Jotform - Testimonial submission form (free tier works) OpenAI API - GPT-4 for AI testimonial analysis (approximately 20-40 cents per testimonial) Gmail - Automated thank-you emails and marketing team notifications Google Sheets - Testimonial library and searchable database Optional Integrations Social Media APIs to auto-post testimonials to Twitter, LinkedIn, Facebook CRM Integration to link testimonials to customer profiles in HubSpot or Salesforce WordPress or Website integration to auto-publish approved testimonials to website testimonial pages Quick Start Import Template - Copy JSON and import into n8n Add OpenAI Credentials - Set up OpenAI API key (GPT-4 recommended for best analysis) Create Jotform Testimonial Form with fields for Customer Name, Email, Company, Job Title, Product Used, Testimonial Text, Rating, Permission to Share, Photo Upload, and Use Case Configure Gmail - Add Gmail OAuth2 credentials (same for both Gmail nodes) Setup Google Sheets - Create spreadsheet with Testimonial Library sheet and replace sheet ID in workflow Customize Coupon Logic if needed by editing the Generate Coupon Code node Brand Email Templates by updating company name, logo URLs, and colors Set Marketing Team Email address in notification node Test Workflow by submitting test testimonial through Jotform Launch Campaign by sharing form link in post-purchase emails Customization Options Multi-Language Support by translating forms and AI prompts for international customers Video Testimonials by adding video upload field and storing URLs in sheets Anonymous Options to allow customers to submit testimonials without public attribution Approval Workflow by adding manager approval step before testimonials go live A/B Testing to tag testimonials for split testing different versions on landing pages Industry-Specific Fields customized for your vertical such as results achieved, ROI, time saved Automated Publishing to connect to WordPress or CMS to auto-publish approved testimonials Social Media Auto-Posting to schedule tweets and LinkedIn posts with testimonial content Reward Tiers to create VIP rewards for customers who refer others after submitting testimonials NPS Integration to combine with Net Promoter Score surveys Review Platform Sync to auto-request reviews on Google, Yelp, Trustpilot, G2, Capterra Case Study Pipeline to flag high-impact testimonials for full case study development Customer Success Alerts to notify CSMs when their customers submit testimonials Testimonial Rotation to auto-rotate testimonials on website based on visitor industry Sentiment Trending to track sentiment scores over time Expected Results 500 percent increase in testimonial submissions due to easy form and rewards 90 percent reduction in manual testimonial management through automated categorization 10 hours per month saved as marketing team instantly finds perfect testimonials 40 percent improvement in conversion rates from authentic testimonials on landing pages 85 percent customer satisfaction with reward process driving loyalty 60 percent of testimonials rated high priority by AI filtering 100 percent organized testimonial library ensuring no great testimonial is lost 3x increase in referrals from thank-you emails with incentives 75 percent reduction in testimonial editing time as AI creates ready-to-use content 50 percent more social media engagement from optimized testimonial posts Use Cases SaaS Company Example A marketing manager with 150 customers needs social proof for new landing page launching next week. Scattered testimonials exist in emails, support tickets, and social media messages with no time to organize them. Solution: Sends form link to 50 happiest customers and receives 35 testimonials within 48 hours. AI analyzes all submissions and extracts best quotes. Manager filters by high priority and landing page use case to find 8 perfect testimonials with website versions already optimized. Result: Landing page launches on time with authentic testimonials. Conversion rate increases 42 percent. Customer uses discount code to upgrade plan. Refers 2 colleagues who become customers. Total impact exceeds 1400 dollars in incremental revenue. E-commerce Fashion Brand Example Post-purchase emails have generic review links. Most customers ignore them. Social proof on product pages is weak with only 2-3 old reviews while competitors have hundreds of testimonials. Solution: Adds form link to order confirmation emails 7 days post-delivery with incentive messaging. 500 customers submit testimonials in first month (10 percent response rate). AI identifies best testimonials for each product category. Result: Product pages updated with enthusiastic testimonials. Add-to-cart rate increases 65 percent. Customer uses discount code for repeat purchase. Posts social media content that brand reposts to followers. One testimonial workflow generates over 3500 dollars in attributed revenue. B2B Consulting Firm Example Proposals need client testimonials but they are trapped in old email threads. Asking clients feels awkward and time-consuming with no systematic collection process. Solution: Sends form link at project completion milestones via personal email from account manager. 22 of 30 clients submit testimonials (73 percent response rate). AI extracts ROI stories and specific results. Result: Testimonial added to proposal template addressing exact objection about being better than current firm. Close rate on proposals increases 30 percent. Client refers colleague who becomes high-value client. Full case study developed generates inbound leads. One testimonial workflow generates over 80000 dollars in new business. Online Course Creator Example Students post success stories in Facebook group and via email with no organized collection system. Website has only 3 old testimonials from 2 years ago. Low enrollment due to lack of social proof. Solution: Adds form link to course completion emails and shares in Facebook group with incentive. 180 students submit testimonials in first month (9 percent of students). AI identifies transformation stories and specific skills gained. Result: Testimonial added to course landing page as featured transformation story. Enrollment rate increases 55 percent as specific details address will-this-work objection. Student enrolls in advanced course using discount code. Testimonial shared in ads generates high ROAS. Workflow drives over 15000 dollars in additional course revenue. Healthcare Practice Example Patients verbally express gratitude but practice has only 15 online reviews. Need more social proof for website to attract new patients. Asking patients in-person feels pushy. Solution: Sends form link in post-appointment follow-up emails with clear HIPAA disclosure. Permission checkboxes for sharing testimonial publicly and using name and photo. 75 patients submit testimonials in first month. AI identifies compassionate care themes and specific improvements. Result: Testimonial added to service page. Inquiry rate increases 40 percent as testimonial addresses surgery fear objection. Patient agrees to video testimonial which becomes centerpiece of landing page. Multiple new patients mention seeing testimonial during consultations. One testimonial workflow generates multiple new patients and significant revenue. Practice review rating improves substantially. Pro Tips Timing is Everything: Send form 7-10 days after purchase or project completion when customers are still excited Incentivize Generously: 15-20 percent discount codes dramatically increase submission rates Make It Easy: Pre-fill customer information when possible and keep form under 10 fields Photo Requests Work: 60 percent of customers will upload headshots if you explain it increases credibility Video Follow-Ups: After receiving strong text testimonial, reach out personally to request video version Permission Clarity: Be explicit about where and how testimonials will be used Response Templates: Create templates for personal follow-ups to high-priority testimonials Quarterly Campaigns: Run testimonial collection campaigns quarterly with bonus rewards Showcase Submissions: Feature new testimonials in monthly newsletter A/B Test Formats: Test different testimonial layouts on website Industry Segmentation: Filter testimonials by industry for targeted landing pages NPS Integration: Send testimonial forms only to Promoters for higher quality submissions Social Proof Everywhere: Use testimonial snippets in email signatures and proposal templates Update Regularly: Refresh website testimonials quarterly to maintain relevance Track Attribution: Tag testimonials with UTM parameters when shared on social media Learning Resources This workflow demonstrates advanced automation including AI Agents for Content Optimization, Dynamic Reward Logic, Marketing Asset Generation, Sentiment Analysis, Data Organization, Multi-Channel Optimization, Customer Journey Mapping, Competitive Intelligence, Workflow Efficiency, and Permission Management. Business Impact Metrics Track these key metrics to measure success: Testimonial Collection Rate: Monitor percentage of customers who submit testimonials (target 10-15 percent) Submission Quality Score: Monitor average AI authenticity and sentiment scores (target 80 plus out of 100) Marketing Team Efficiency: Measure time saved finding and formatting testimonials (expect 10 plus hours per month saved) Conversion Rate Impact: A/B test pages with and without optimized testimonials (expect 30-50 percent lift) Reward Redemption Rate: Track percentage of customers who use thank-you coupon codes (typical 40-60 percent) Referral Generation: Count referrals attributed to testimonial thank-you emails (expect 3-5 percent referral rate) Social Media Engagement: Monitor engagement on testimonial posts versus other content (expect 2-3x higher) High-Priority Testimonial Ratio: Track percentage of testimonials rated high priority by AI (target 50-70 percent) Time to Marketing Use: Measure days from submission to live testimonial on website (aim for under 1 day) Customer Satisfaction: Survey customers about testimonial submission experience (target 90 percent plus positive) Template Compatibility Compatible with n8n version 1.0 and above Works with n8n Cloud and Self-Hosted No coding required for basic setup Fully customizable for industry-specific needs Ready to turn customers into brand advocates? Import this template and transform scattered testimonials into organized marketing assets with AI-powered analysis and automation!
by WeblineIndia
AI-Powered Deal Content Recommendation and Personalization (Zoho CRM + OpenAI + Gmail + n8n) This workflow automates personalized content recommendations for Zoho CRM deals by analyzing deal details, fetching relevant case studies and whitepapers and generating an AI-crafted email tailored to each prospect. It triggers when Zoho CRM sends a Deal ID to the n8n Webhook, processes contextual data, generates recommendations and emails the results automatically. 🚀 Quick Start: “5-Step Instant Setup” Import this workflow into n8n. Connect Zoho CRM workflow rule to the Webhook URL and pass the Deal ID. Add Zoho CRM, OpenAI and Gmail credentials in n8n. Update the API URLs for case studies and whitepapers. Activate the workflow and test by updating a deal stage in Zoho CRM. What It Does This workflow enables intelligent content automation by bridging Zoho CRM deal activity with AI-driven contextual recommendations. When a deal advances to a specific stage, Zoho CRM sends its Deal ID to the n8n Webhook. The workflow retrieves the complete deal details — including stage, amount, description, contact and account information — and uses them to determine the prospect’s needs. It then fetches two content datasets (case studies and whitepapers) from configured API endpoints. The combined dataset is structured and passed to an OpenAI model that analyzes the deal’s industry, pain points and stage to select the most relevant content. The AI generates an email draft featuring these recommendations, which is parsed and automatically delivered via Gmail. This eliminates manual research, speeds up sales follow-ups and ensures prospects receive focused and valuable resources at the right time. Who’s It For Sales teams working in Zoho CRM. Pre-sales and solution consultants. Marketing teams maintaining content libraries. CRM admins building smart sales workflows. Companies selling B2B products or services with long sales cycles. Requirements to Use This Workflow An active n8n instance (cloud or self-hosted) Zoho CRM OAuth2** credentials OpenAI API key** (for GPT-4o-mini or equivalent model) Gmail OAuth2** credentials Two API sources providing: Case studies Whitepapers A Zoho CRM workflow rule capable of sending Deal ID to the Webhook How It Works & How To Set Up 1. Configure the Webhook Trigger Copy the Webhook URL from n8n. In Zoho CRM → Workflow Rules → Create Rule → choose “Deal Stage Updated.” Set Webhook to send the Deal ID to n8n. 2. Fetch Deal Details The workflow uses the Deal ID received from the Webhook to fetch deal data from Zoho CRM. Ensure your Zoho CRM credentials are connected in n8n. 3. Prepare Content API Configuration Open the “Set Content API Config” node. Replace placeholder URLs with your actual API endpoints for case studies and whitepapers. 4. Retrieve Content Assets The workflow queries your APIs and collects both datasets. This ensures updated, relevant assets are always used. 5. Structure All Data Deal information, case studies and whitepapers are merged into one contextual payload. This payload is optimized for the AI model. 6. Generate AI Recommendations The OpenAI node analyzes the complete dataset. It returns recommended case studies, recommended whitepapers and a personalized email draft. 7. Parse AI Output AI responses are parsed from code-block format into clean JSON for downstream usage. 8. Send the Email Gmail node sends the personalized email using the AI-generated content. Edit the recipient address as needed for production. How To Customize Nodes Deal Data Extraction Add or remove fields inside the “Extract Deal Context” node based on your CRM schema. Content API Sources Update URLs or switch to internal CMS, Airtable or Google Sheets. AI Prompt Customization Modify tone, selection logic or output formatting in the OpenAI node prompt. Email Delivery Replace Gmail with Outlook, Zoho Mail, SMTP or Slack notifications. Filtering Logic Add rule-based filtering before sending data to AI—for example, industry, region or deal size. Add-Ons & Enhancements Add Slack notifications for sales reps. Store AI recommendations in Zoho CRM Notes. Log outputs to Google Sheets for analytics. Add follow-up reminders using n8n Wait nodes. Add multi-language support. Expand with product brochures or pricing sheets. Use Case Examples Industry-Specific Nurturing Automatically send the best content based on a deal’s industry. ROI-Focused Prospects Provide ROI-driven case studies when deal description includes keywords like “cost”, “budget” or “ROI.” Accelerated Qualification Deliver targeted materials during the qualification stage to increase deal momentum. Sales Playbook Automation Map deal stages to recommended content without manual intervention. Dynamic Content Libraries Allow marketing teams to update content sources without touching the workflow. Troubleshooting Guide | Issue | Possible Cause | Solution | | ----------------------------------- | ---------------------------- | ----------------------------------------------- | | Workflow not triggering | Zoho CRM not calling Webhook | Re-check Webhook URL in Zoho CRM | | Deal data missing | Wrong field sent by Webhook | Ensure Zoho sends the correct Deal ID | | AI returns no JSON | Incorrect prompt format | Ensure prompt instructs AI to respond with JSON | | Email not sent | Gmail credential expired | Reconnect Gmail OAuth | | Case study or whitepaper list empty | API URL incorrect or offline | Verify API endpoints in configuration node | | Merge node missing inputs | One API failed | Check HTTP request nodes | Need Help? If you need assistance customizing this workflow, enhancing recommendation logic, integrating additional systems or building similar automation solutions, WeblineIndia is here to help. Our expert n8n workflow automation developers can extend this workflow with scoring models, personalization engines, CRM integrations and advanced AI features.
by Jitesh Dugar
Transform proposal creation from hours to minutes - automatically generate beautifully designed PDF proposals from CRM data or form submissions, deliver them instantly via email, store in Google Drive, and notify your sales team - all without lifting a finger. What This Workflow Does Revolutionizes proposal management with automated generation, validation, and multi-channel delivery: Webhook-Triggered Automation** - Accepts proposal data from CRM deal updates, form submissions, or API calls Smart Data Validation** - Verifies required fields, validates email formats, calculates totals, and generates unique proposal numbers Company Branding Enrichment** - Automatically adds your logo, contact information, payment terms, and brand styling Professional HTML Generation** - Creates beautifully designed proposals with modern typography, responsive layouts, and branded colors HTML to PDF Conversion** - Transforms HTML into print-ready PDFs with custom margins and preserved styling Google Drive Storage** - Automatically saves PDFs to organized folders with proper naming conventions Automated Email Delivery** - Sends branded emails to clients with PDF attachments and professional messaging Slack Team Notifications** - Real-time alerts to sales team with proposal details and Drive links Itemized Pricing Tables** - Dynamic line items with automatic calculations for subtotals, discounts, and taxes Terms & Conditions Management** - Customizable payment terms, delivery timelines, and legal terms Multi-Currency Support** - Handles USD, EUR, INR, and other currencies with proper symbols and formatting Proposal Number Generation** - Automatic sequential numbering with year-month-random format (PROP-202411-457) Key Features Data Validation Engine**: Validates all required fields including client information, project details, and line items before generation - preventing errors and ensuring professional output Dynamic Pricing Calculator**: Automatically calculates line item totals, subtotals, discounts, tax amounts, and final totals with proper currency formatting Responsive HTML Templates**: Professional proposal design that looks perfect on screen and in print with modern Inter font family, gradient backgrounds, and structured information cards Intelligent File Naming**: Generates descriptive filenames like "Proposal_PROP-202411-123_Acme_Corp.pdf" for easy organization and searchability Customizable Branding**: Easy company information updates including logo URLs, contact details, colors, and styling to match your brand identity Professional Email Templates**: Pre-written client-facing emails with key proposal highlights, call-to-action, and professional tone Real-Time Notifications**: Instant Slack alerts to sales team with proposal number, client details, total amount, and direct link to PDF Terms Flexibility**: Customizable payment terms (50% upfront, net-30, milestone-based), delivery timelines, and additional terms per proposal Client Information Cards**: Organized presentation of client details, company information, and contact data in visually appealing cards Validity Period Tracking**: Automatic 30-day validity period calculation with clear expiration dates on proposals Optional Field Handling**: Gracefully handles missing optional fields like client phone, address, or company logo Print-Optimized PDFs**: A4 format with proper margins (20mm top/bottom, 15mm sides) and background colors preserved for professional printing Perfect For B2B Service Companies** - Consulting firms, agencies, and professional services needing quick proposal turnaround SaaS Companies** - Software providers sending pricing proposals for custom implementations and enterprise deals Marketing Agencies** - Digital marketing, creative agencies, and media companies proposing campaigns and retainers Web Development Studios** - Design and development firms quoting website projects, apps, and custom software IT Service Providers** - Managed service providers, cloud consultants, and technology solution vendors Training & Coaching Businesses** - Corporate training providers, coaches, and consultants proposing programs Construction & Contractors** - Project-based businesses requiring detailed scope and pricing breakdowns Event Management Companies** - Event planners proposing packages with itemized services and costs Real Estate Developers** - Property developers presenting investment opportunities and partnership proposals Manufacturing Suppliers** - B2B manufacturers quoting custom orders with specifications and pricing What You Will Need Required Integrations HTML to PDF Service** - PDF conversion API (API key required) - supports services like HTML/CSS to PDF API, PDFShift, or similar providers Gmail or SMTP** - Email delivery service for sending proposals to clients (OAuth2 or SMTP credentials) Google Drive** - Cloud storage for PDF archival and sharing (OAuth2 credentials required) Optional Integrations Slack Webhook** - Team notifications (free incoming webhook) CRM Integration** - HubSpot, Pipedrive, Zoho CRM, or Salesforce for deal data enrichment Payment Gateway** - Stripe or PayPal links in proposals for instant payment acceptance E-signature Integration** - DocuSign or HelloSign for proposal acceptance workflow Calendar Integration** - Google Calendar or Calendly links for scheduling follow-up meetings Quick Start Import Template - Copy JSON workflow and import into your n8n instance Configure PDF Service - Add HTML to PDF API credentials in the "HTML to PDF" node Setup Gmail - Connect Gmail OAuth2 credentials in "Send a message" node and update sender email address Connect Google Drive - Add Google Drive OAuth2 credentials and set your preferred folder ID for proposal storage Customize Company Info - Edit "Enrich with Company Data" node to add your company name, address, email, phone, website, and logo URL Update Email Template - Modify email message in Gmail node with your company branding and messaging Configure Slack - (Optional) Add your Slack incoming webhook URL in "Notify Team" node Test Webhook - Use the test URL to submit sample proposal data and verify all nodes execute successfully Customize Styling - Adjust colors, fonts, and layout in "Generate Professional HTML" node CSS section Launch Workflow - Activate workflow and integrate webhook URL with your CRM or form submission tool Customization Options Custom Branding** - Replace default colors (#3b82f6 blue) with your brand colors throughout HTML template Logo Integration** - Add company logo URL or remove logo section to use company name text Payment Terms Library** - Create dropdown of standard payment term options (net-30, net-60, 50/50 split, milestone-based) Multi-Template Support** - Create different HTML templates for different service types or industries Conditional Sections** - Add/remove sections based on deal type (consulting vs product vs hybrid) Approval Workflow** - Insert manager approval step before sending to client Multi-Language Support** - Translate templates for international clients (Spanish, French, German, Hindi) Tax Calculation** - Add automatic tax calculation based on client location or tax rules Discount Rules** - Implement volume discounts, early payment discounts, or promotional pricing Project Timeline** - Add Gantt chart or milestone timeline visualization Case Studies** - Include relevant case study links or testimonials in proposals Video Integration** - Embed personalized video message or product demo links Competitor Comparison** - Add feature comparison tables against competitors ROI Calculator** - Include interactive ROI or savings calculator Follow-Up Automation** - Schedule follow-up emails if proposal not opened or responded to within X days Expected Results 90% time savings** - Reduce proposal creation from 2-3 hours to 5 minutes 100% consistency** - Eliminate formatting errors and brand inconsistencies across proposals 50% faster turnaround** - Send proposals within minutes of deal stage change or client request Zero manual filing** - Automatic organization in Google Drive with searchable filenames Instant team alignment** - Sales team immediately notified via Slack with all proposal details Professional presentation** - Beautifully designed proposals that elevate brand perception Reduced errors** - Data validation prevents missing information and calculation mistakes Better client experience** - Clients receive proposals instantly with clear terms and professional formatting Increased win rates** - Studies show professionally designed proposals increase close rates by 28% Scalable process** - Handle 10x proposal volume without adding staff or slowing down Use Cases Digital Marketing Agency Example Agency receives 15-20 proposal requests weekly. Account managers spend 3+ hours per proposal copying templates, updating pricing, and fixing formatting issues. Bottleneck causes delays and lost deals to faster competitors. Solution: Integrates workflow with Pipedrive CRM. When deal moves to "Proposal Requested" stage, webhook triggers. Account manager fills quick form with project scope and pricing. Workflow generates branded proposal in 3 minutes. Result: Proposal sent same day instead of 2-3 days later. Client impressed by speed and professionalism. Close rate increases from 32% to 47%. Agency wins additional $250,000 in annual revenue. Account managers save 40 hours monthly, reallocating time to client strategy. SaaS Company Example Sales team manually creates proposals in Google Docs for enterprise deals. Process takes 4-6 hours per proposal including pricing tables, terms negotiation, and approval routing. Proposals look different depending on who creates them. Solution: Implements workflow connected to HubSpot. When deal reaches "Proposal" stage, workflow auto-generates proposal using deal data. Pricing pulled from HubSpot line items. Manager approval added before sending. Result: Proposal generation time drops to 15 minutes. Brand consistency across all proposals. Sales velocity increases 65%. Deal size grows 23% due to professional presentation building enterprise confidence. Team closes 4 additional enterprise deals worth $180,000 ARR. Web Development Studio Example Studio loses deals because proposal turnaround takes 5-7 days. Prospects receive competing proposals faster and sign before studio's proposal arrives. Revenue growth stalled despite strong pipeline. Solution: Connects workflow to Airtable project intake form. When prospect completes project scope form, workflow instantly generates customized proposal with accurate pricing based on feature selections and complexity. Result: Proposals delivered in under 1 hour versus 5-7 days. Win rate increases from 18% to 41%. Studio captures 8 additional projects monthly worth $35,000. Client satisfaction scores improve as prospects appreciate speed and professionalism. IT Consulting Firm Example Consultants manually assemble proposals from disparate sources including technical specifications, staffing plans, and pricing spreadsheets. Format inconsistencies hurt credibility. Proposal errors cause scope creep and margin erosion. Solution: Builds workflow that pulls technical requirements from project planning tool, staffing from resource management system, and pricing from rate card database. All data flows into validated proposal template. Result: Proposal accuracy increases to 98% reducing change orders and scope disputes. Professional presentation wins 2 competitive bids against larger firms. Margin protection saves $75,000 annually. Proposal creation time reduced from 8 hours to 20 minutes per opportunity. Training Company Example Small team of 4 sends 30+ training proposals monthly. Founder spends 15+ hours weekly on proposal creation instead of business development. Revenue plateaus despite strong demand. Solution: Implements workflow triggered by Typeform submission after discovery calls. Prospects self-select training modules, duration, and delivery format. Workflow generates proposal with accurate pricing and timeline. Result: Founder reclaims 15 hours weekly for strategic activities. Team handles 3x proposal volume without hiring. Revenue increases 140% year-over-year. Client feedback highlights speed and professionalism. Referral rate increases as satisfied clients rave about seamless buying experience. Pro Tips Pre-fill Data from CRM** - Connect to HubSpot, Pipedrive, or Salesforce to auto-populate client information and pricing Create Proposal Templates by Service Type** - Maintain different HTML templates for consulting vs product vs retainer proposals Use Dynamic Pricing** - Connect to pricing database or spreadsheet to ensure rates stay current Add Expiration Logic** - Automatically follow up when proposals near expiration (25-day mark) Track Engagement** - Integrate with email tracking (Mailtrack, Yesware) to see when clients open proposals Version Control** - Add version numbers to proposals when re-sending with updates Personalization Variables** - Include prospect's name, company, and pain points throughout proposal Social Proof** - Add relevant case studies, testimonials, or client logos to proposals Clear Next Steps** - Include calendar link or specific call-to-action in email Follow-Up Sequences** - Build automated follow-up workflow (day 3, day 7, day 14 if no response) Proposal Analytics** - Track which proposals convert at highest rates and identify patterns Mobile Optimization** - Test proposal PDF readability on mobile devices Legal Review** - Have legal team review terms template annually A/B Test Formats** - Test different proposal layouts, pricing presentation styles, and email subject lines Quick Edits** - Build simple update form for minor proposal tweaks without regenerating entire document Business Impact Metrics Track these key metrics to measure workflow success: Proposal Creation Time** - Measure average minutes from request to sent (target: under 10 minutes) Proposal Volume** - Count monthly proposals generated through automation (expect 3-5x increase in capacity) Error Rate** - Track proposals with data errors or formatting issues (target: under 2%) Time to Delivery** - Monitor hours from opportunity creation to proposal in client inbox (target: same business day) Team Hours Saved** - Calculate monthly hours reclaimed from proposal automation (typical: 30-60 hours for 5-person sales team) Win Rate Impact** - Compare close rates before and after workflow implementation (expect 15-30% improvement) Average Deal Size** - Track if professional proposals increase deal values (typical: 10-20% increase) Brand Consistency Score** - Audit proposal quality and brand adherence (target: 95%+ consistency) Client Feedback** - Survey clients on proposal professionalism and clarity (target: 4.5/5 stars) Sales Velocity** - Measure days from opportunity to closed-won (expect 20-40% reduction in sales cycle) Template Compatibility Compatible with n8n version 1.0 and above Works with n8n Cloud and Self-Hosted instances Requires HTML to PDF API service subscription No coding required for basic setup Fully customizable for industry-specific requirements Mobile-friendly proposal output Multi-currency support built-in Ready to transform your proposal process? Import this template and start sending professional, beautifully designed proposals in minutes instead of hours - boosting your win rates and freeing your team to focus on selling!
by Intuz
This n8n template from Intuz provides a complete and automated solution for scaling your DevOps practices across multiple repositories. Are you tired of the repetitive dance between git push, creating a pull request in GitHub, updating the corresponding task in JIRA, and then manually notifying your team in Slack, or Notion? This template puts your entire post-commit workflow on autopilot, creating a seamless and intelligent bridge between your code and your project management. By embedding specific keywords and a JIRA issue ID into your git commit commands, this workflow automatically creates a Pull Request in the correct GitHub repository and updates the corresponding JIRA ticket. This creates a complete, centralized system that keeps all your projects synchronized, providing a massive efficiency boost for teams managing a diverse portfolio of codebases. Who This Template Is For? This template is a must-have for any organization looking to streamline its software development lifecycle (SDLC). It’s perfect for: Development Teams: Eliminate tedious, manual tasks and enforce a consistent workflow, allowing developers to stay focused on coding. DevOps Engineers: A ready-to-deploy solution that integrates key developer tools without weeks of custom scripting. Engineering Managers & Team Leads: Gain real-time visibility into development progress and ensure processes are followed without constant check-ins. Project Managers: Get accurate, automatic updates in JIRA the moment development work is completed, improving project tracking and forecasting. Step-by-Step Setup Instructions Follow these steps carefully to configure the workflow for your environment. 1. Connect Your Tools (Credentials) GitHub: Create credentials with repo scope to allow PR creation. JIRA: Create an API token and connect your JIRA Cloud or Server instance. Slack: Connect your Slack workspace using OAuth2. Notion: Connect your Notion integration token. 2. Configure the GitHub Webhook (For Each Repository) This workflow is triggered by a GitHub webhook. You must add it to every repository you want to automate. First, Save and Activate the n8n workflow to ensure the webhook URL is live. In the n8n workflow, copy the Production URL from the Webhook node. Go to your GitHub repository and navigate to Settings > Webhooks > Add webhook. In the Payload URL field, paste the n8n webhook URL. Change the Content type to application/json. Under "Which events would you like to trigger this webhook?", select "Just the push event." Click "Add webhook." Repeat this for all relevant repositories. 3. Configure the JIRA Nodes (Crucial Step) Your JIRA project has unique IDs for its statuses. You must update the workflow to match yours. Find the two JIRA nodes named "Update task status after PR" and "Update the task status without PR." In each node, go to the Status ID field. Click the dropdown and select the status that corresponds to "Done" or "Development Done" in your specific JIRA project workflow. The list is fetched directly from your connected JIRA instance. 4. Configure Notification Nodes Tell the workflow where to send updates. For Slack: Open the two nodes named "Send message in slack..." and select your desired channel from the Channel ID dropdown. For Notion: Open the two nodes named "Append a block in notion..." and paste the URL of the target Notion page or database into the Block ID field. 5. Final Activation Once all configurations are complete, ensure the workflow is Saved and the toggle switch is set to Active. You are now ready to automate! Customization Guidance This template is a powerful foundation. Here’s how you can adapt it to your team's specific needs. 1. Changing the PR Title or Body: Go to the "Request to create PR" (HTTP Request) node. In the JSON Body field, you can edit the title and body expressions. For example, you could add the committer's name ({{$('Webhook').item.json.body.pusher.name }}) or a link back to the JIRA task. 2. Adapting to a Fixed Branching Strategy: If your team always creates pull requests against a single branch (e.g., develop), you can simplify the workflow. In the "Request to create PR" node, change the base value in the JSON body from {{...}} to your static branch name: "base": "develop". You can then remove the base branch logic from the "Commit Message Breakdown" (Code) node. 3. Modifying Notification Messages: The text sent to Slack and Notion is fully customizable. Open any of the Slack or Notion nodes and edit the text fields. You can include any data from previous nodes, such as the PR URL ({{ $('Request to create PR').item.json.body.html_url }}) or the repository name. 4. Adjusting the Commit Regex for Different Conventions: This is an advanced customization. If your team uses a different commit format (e.g., (DEV-123) instead of DEV-123), you can edit the regular expression in the "Commit Message Breakdown" (Code) node. Be sure to test your changes carefully. 5. Adding/Removing Notification Channels: Don't use Notion? Simply delete the two Notion nodes. Want to send an email instead? Add a Gmail or SMTP node in parallel with a Slack node and configure it with the same data. Connect with us Website: https://www.intuz.com/services Email: getstarted@intuz.com LinkedIn: https://www.linkedin.com/company/intuz Get Started: https://n8n.partnerlinks.io/intuz For Custom Worflow Automation Click here- Get Started
by Jitesh Dugar
Automated Certificate Generator with Email Validation & Delivery Automatically generate, validate, and deliver professional course completion certificates with zero manual work — from webhook request to PDF delivery in seconds. Overview This workflow transforms certificate generation from a manual design task into a fully automated system. It receives certificate requests via webhook, validates recipient emails using advanced verification, generates beautifully designed HTML certificates, converts them to high-quality PNG images, delivers via professional email templates, and maintains complete audit trails in Google Sheets. Powered by email validation APIs and HTML-to-image conversion, it ensures every certificate meets professional standards while preventing delivery to invalid or fraudulent email addresses. What This Workflow Does Receives certificate requests** via webhook from your LMS, CRM, or custom application Validates recipient emails** using VerifiEmail API with comprehensive checks: RFC compliance verification MX record validation Disposable email detection Spoof and fraud prevention Generates professional certificates** with custom HTML/CSS templates featuring: Purple gradient backgrounds with modern typography Google Fonts integration (Playfair Display + Montserrat) Gold achievement badges Auto-generated unique certificate IDs Formatted completion dates Instructor signatures Converts HTML to PNG** using HTMLcsstoImg API for permanent, shareable images Delivers via email** with branded HTML templates including download links and LinkedIn sharing CTAs Logs everything** to Google Sheets for reporting, analytics, and certificate verification Handles errors** with automatic validation checks and optional Slack notifications Key Features Zero Manual Work**: Fully automated from request to delivery Advanced Email Validation**: Blocks invalid, temporary, and fraudulent email addresses Professional Design**: Print-ready certificates with customizable branding Unique Certificate IDs**: Auto-generated format: CERT-{timestamp}-{random} Instant Delivery**: Certificates sent within seconds of completion Complete Audit Trail**: All certificates logged with 10+ data points Error Prevention**: Validation stops invalid requests before processing Highly Customizable**: Easy to modify colors, fonts, layouts, and email templates Scalable**: Handles hundreds of certificates per day API-Ready**: RESTful webhook endpoint for easy integration Use Cases Educational Institutions Automatically issue certificates for online courses and programs Generate graduation certificates for completed degrees Create participation certificates for workshops and seminars Corporate Training Award compliance training certificates to employees Recognize professional development completions Issue skill certification for internal programs Online Course Platforms Integrate with LMS systems (Teachable, Thinkific, Kajabi) Automate certificate delivery upon course completion Build certificate libraries for student portfolios Event Management Issue attendance certificates for conferences and webinars Generate speaker appreciation certificates Create volunteer recognition certificates Certification Programs Award professional certifications and credentials Generate CPE/CE certificates for continuing education Issue examination completion certificates Prerequisites Required Services & Accounts n8n** (self-hosted or cloud) - Workflow automation platform VerifiEmail Account** - Email validation API HTMLcsstoImg Account** - HTML to PNG conversion Gmail Account** - Email delivery via OAuth2 Google Workspace** - For Sheets logging and tracking Required Credentials VerifiEmail API Key HTMLcsstoImg User ID + API Key Gmail OAuth2 credentials Google Sheets OAuth2 credentials Setup Instructions 1. Import the Workflow Download the certificate-generator.json file In n8n, navigate to Workflows → Import from File Select the JSON file and click Import 2. Configure Credentials VerifiEmail API Sign up at https://verifi.email Navigate to Dashboard → API Keys Copy your API key In n8n: Settings → Credentials → Add Credential Search for "VerifiEmail" Name: VerifiEmail API Paste API key and save Assign to "Verifi Email" node in workflow HTMLcsstoImg API Sign up at https://htmlcsstoimg.com Go to Dashboard → API Copy User ID and API Key In n8n: Credentials → Add Credential → "HTMLcsstoImg" Name: HTMLcsstoImg API Enter User ID and API Key Assign to "HTML/CSS to Image" node Gmail OAuth2 In n8n: Credentials → Add Credential → "Gmail OAuth2" Click Connect my account Follow Google OAuth flow Grant permissions: Send email Name: Gmail OAuth2 Assign to "Send Certificate Email" node Google Sheets OAuth2 Create new Google Sheet: "Certificates Log" Add column headers in Row 1: Certificate ID Recipient Name Course Email Completion Date Generated At Certificate URL Status Instructor Duration In n8n: Credentials → Gmail OAuth2 (same as above works for Sheets) Assign to "Log to Google Sheets" node Select your "Certificates Log" spreadsheet Select "Sheet1" 3. Activate Workflow Click the toggle switch in top-right to activate Copy the Webhook URL from "Certificate Request Webhook" node Format: https://your-n8n-instance.com/webhook/certificate-generator 4. Configure Your Application For LMS Integration: // When course is completed fetch('https://your-n8n-instance.com/webhook/certificate-generator', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ name: student.fullName, course: course.title, date: new Date().toISOString().split('T')[0], email: student.email, instructor: course.instructor, duration: course.duration }) }); For Zapier/Make.com: Trigger: Course completed Action: Webhooks → POST URL: Your webhook URL Body: Map fields to JSON format 5. Test the Workflow Send test request: curl -X POST https://your-n8n-instance.com/webhook/certificate-generator \ -H "Content-Type: application/json" \ -d '{ "name": "Test User", "course": "Test Course", "date": "2025-10-04", "email": "test@gmail.com" }' Verify: Email validation passes Certificate generated successfully Image created at HTMLcsstoImage Email delivered to inbox Entry logged in Google Sheets How It Works Webhook Trigger → Receives POST request with certificate data Email Validation → VerifiEmail checks RFC, MX records, disposable status Field Validation → Ensures name, course, date present and email valid Data Combination → Merges webhook data with validation results HTML Generation → Creates styled certificate with dynamic content Image Conversion → HTMLcsstoImg renders 1200x850px PNG Email Delivery → Gmail sends professional template with download link Database Logging → Google Sheets records all certificate details Error Handling → Catches failures and stops invalid requests Processing Time: 5-10 seconds per certificate API Reference Endpoint POST /webhook/certificate-generator Content-Type: application/json Required Fields { "name": "string", // Full name of recipient "course": "string", // Course or program name "date": "YYYY-MM-DD", // Completion date "email": "string" // Recipient email address } Optional Fields { "instructor": "string", // Instructor name (default: "Program Director") "duration": "string", // Course duration (e.g., "40 hours") "certificateId": "string" // Custom ID (auto-generated if not provided) } Success Response { "success": true, "message": "Certificate generated and sent successfully", "certificateId": "CERT-1728000000-ABC123", "certificateUrl": "https://hcti.io/v1/image/xyz123" } Error Response { "success": false, "error": "Missing required fields: name, course, date, or valid email" } Customization Certificate Design Edit the "Generate HTML Certificate" Code node: Change Brand Colors: // Background gradient background: linear-gradient(135deg, #YOUR_COLOR_1 0%, #YOUR_COLOR_2 100%); // Border color border: 3px solid #YOUR_BRAND_COLOR; Add Company Logo: Modify Fonts: @import url('https://fonts.googleapis.com/css2?family=Your+Font&display=swap'); font-family: 'Your Font', sans-serif; Email Template Edit the "Send Certificate Email" node message: Update Company Info: © 2025 Your Company Name Contact: support@yourcompany.com Change Header Color: .header { background: linear-gradient(135deg, #YOUR_COLOR_1, #YOUR_COLOR_2); } Certificate ID Format In "Generate HTML Certificate" node: // Custom format: COURSE-YEAR-NUMBER const certId = ${data.course.substring(0,3).toUpperCase()}-${new Date().getFullYear()}-${Math.floor(Math.random() * 10000)}; Data Flow Webhook → Email Validation → Field Validation → Combine Data ↓ Generate HTML → Convert to PNG → Send Email ↓ Log to Sheets → Success Response ↓ Error Handling (if failed) Expected Output PNG Certificate Includes: Branded header with logo/company name Recipient name in large display font Course name and duration Formatted completion date Instructor signature section Unique certificate ID Gold achievement badge Professional borders and styling Google Sheets Entry: Certificate ID Recipient details Course information Completion date and time Direct link to certificate image Status: "Sent" Email Notification: Professional HTML template Personalized congratulations message Direct download button Certificate details table LinkedIn sharing encouragement Performance Processing Time:** 5-10 seconds per certificate Daily Capacity:** 250+ certificates (limited by free tier quotas) Image Resolution:** 1200x850px (print-ready) File Size:** ~200-400 KB per PNG Email Delivery:** ~98% success rate Troubleshooting Webhook not receiving data Verify webhook URL is correct Check n8n workflow is activated Ensure POST method is used Validate JSON format Email validation fails Use real email domains (not example.com) Check VerifiEmail API quota Verify API credentials are correct Test with gmail.com addresses first Certificate not generating Check required fields are present Verify date format is YYYY-MM-DD Review "Generate HTML Certificate" node logs Ensure HTMLcsstoImg API key valid Image conversion fails Verify HTMLcsstoImg credits available Check HTML syntax is valid Review API response in execution logs Test HTML locally first Email not delivered Confirm Gmail OAuth2 connected Check recipient email is valid Review spam/junk folders Verify Gmail daily limit not exceeded Google Sheets not updating Re-authenticate Google Sheets OAuth2 Verify spreadsheet permissions Check column names match exactly Ensure sheet exists and is accessible Best Practices Test with small batches before production rollout Monitor API quotas to avoid unexpected failures Use real email addresses during testing (avoid disposable) Archive old certificates periodically from Google Sheets Set up Slack notifications for error monitoring Validate webhook payload before sending Document customizations for team reference Back up Google Sheets regularly Review email deliverability weekly Keep credentials secure and rotate periodically Security Notes All API credentials encrypted in n8n Certificate URLs are publicly accessible via direct link Email validation prevents delivery to fraudulent addresses Webhook uses HTTPS for secure data transmission Google Sheets access controlled via OAuth2 permissions No sensitive data stored in workflow logs Future Enhancements PDF output option for formal certifications Multiple certificate templates (modern, classic, minimalist) QR code verification system Batch certificate generation Multi-language support Certificate revocation capability Analytics dashboard WhatsApp/SMS delivery option Integration with Notion/Confluence knowledge bases Support Resources n8n Documentation n8n Community Forum VerifiEmail Docs HTMLcsstoImage API Gmail API Reference Google Sheets API License This workflow template is provided as-is for free use and modification under the MIT License. Attribution appreciated but not required. Version: 1.0.0 Last Updated: October 2025 Compatibility: n8n v1.0.0+
by Jan Zaiser
This n8n template demonstrates how to automatically process incoming invoice emails using AI to extract structured data, organize files in Google Drive, log everything in Google Sheets, and forward to your accounting system, completely hands-free. Use cases are many: Perfect for freelancers managing client invoices, small businesses handling supplier bills, accounting departments processing high invoice volumes, or anyone who wants to eliminate manual data entry and maintain a perfectly organized invoice archive! Good to know The AI extraction works with most standard invoice formats but may require prompt adjustments for unusual layouts. Ensure your IMAP email account allows external app connections and has sufficient storage for the archive folder. Google Drive folder structure is automatically created if it doesn't exist yet. How it works The IMAP Email trigger monitors your inbox for new messages with attachments. JavaScript splits multiple attachments into separate items, ensuring each invoice is processed individually. PDF text extraction reads the content from each invoice file. An AI model (like OpenAI or Gemini) analyzes the extracted text and identifies key fields: company name, invoice number, date, amount, VAT, and more. Additional date metadata is generated (month, year, formatted dates) for smart categorization. The invoice PDF is uploaded to a temporary "Incoming Files" folder on Google Drive for safe processing. The workflow searches for or creates the correct monthly folder (e.g., "Invoices / October 2025") in your Drive structure. The invoice is moved to the final destination with a clean, standardized filename: 2025-10-02_Company-Name_InvoiceNumber.pdf. All extracted data is logged to Google Sheets for easy tracking, reporting, and audit trails. The finalized invoice is forwarded to your DateV accounting email inbox. The original email is automatically moved to an archive folder, keeping your inbox clean and organized. How to use The IMAP trigger is configured for continuous monitoring, but you can adjust the polling interval based on your needs. Customize the AI prompt to match your specific invoice formats or extract additional fields relevant to your business. The folder structure on Google Drive can be modified to match your existing organization system. Requirements IMAP-enabled email account (Gmail, Outlook, or any email provider supporting IMAP) Google Drive account for file storage Google Sheets for invoice logging AI model access (OpenAI, Gemini, or compatible LLM for data extraction) DateV email address (or replace with your preferred accounting system) Customising this workflow Replace the DateV email step with integrations to other accounting platforms like Xero, QuickBooks, or Lexoffice. Add conditional logic to route different invoice types to different folders or sheets. Extend the AI extraction to include line items, payment terms, or custom fields specific to your industry. Connect additional notifications via Slack, Teams, or SMS when high-value invoices are received. Disclaimer: The node to move the e-mail is a community-node, so it’s only for self-hosting.
by Cj Elijah Garay
AI-Powered Discord Task Manager with Priority Intelligence Mission-Aligned Task Tracker: Discord + AI + Google Sheets Opening Summary This n8n template demonstrates how to automate task management by syncing tasks from a Discord channel to Google Sheets, enriching them with AI-driven prioritization, and delivering a daily prioritized digest back to Discord. It streamlines task organization aligned with personal mission and productivity frameworks. Use cases are many: Try managing your team’s project tasks by automatically prioritizing them based on strategic goals! Try personal task tracking with AI-powered prioritization for optimized daily productivity! Try automating follow-ups and completed task archiving seamlessly between Discord and Google Sheets! Good to know Using OpenAI GPT-4.1 and GPT-5 mini models may incur API costs based on usage (check your OpenAI pricing plan). Google Sheets API has rate limits; large task volumes may require batch adjustments to avoid quota errors. Discord API OAuth2 authentication is needed with permissions to read messages, add reactions, and post messages. The workflow requires shared Google Sheets with specific sheets named Tasks and completed tasks (template link provided). Reaction emojis in Discord (✍️ for processed, ✅ for completed) are used to track task status within Discord. AI-driven prioritization follows mission alignment based on Eisenhower Matrix, energy levels, and impact scoring. Uses concepts from: Deep work by Cal Newport Essentialism: The Disciplined Pursuit of Less – Greg McKeown (2014) Getting Results the Agile Way – J.D. Meier Hyperfocus – Chris Bailey (2018) Slow Productivity – Cal Newport (2024) Newport’s newest book. Explicitly about doing fewer things, working at a natural pace, and obsessing over quality—basically Deep Work 2.0 How it works Schedule Trigger fires hourly to initiate task syncing. Set discord IDs here node defines Discord server and channel IDs for input/output. get data - tasks Channel fetches all messages from the Discord input channel. Loop Over Items1 and if message is recorded already prevent reprocessing tasks. clean data prepares message information to uniform structure. ai task organizer node sends each task text to OpenAI GPT-4.1 mini agent, which analyzes and assigns priority, impact, energy level, category, and other metadata aligned to the user's mission. Tasks are appended to Google Sheets Tasks sheet using Append row in task sheet. react to confirm adds a reaction on Discord to mark the message as processed. Get tasks to do retrieves all in-progress tasks from Google Sheets for daily prioritization. Aggregated task data is analyzed by the AI Agent with GPT-5 mini to select top 6 tasks (3 high-energy, 3 low-energy). The daily prioritized list is split into acceptable message sizes and sent back to a Discord output channel by Send a message node. The workflow checks for tasks with ✅ reactions in Discord (get checked ones), updates their status to "Completed" in Google Sheets (Update row in sheet). Completed tasks are moved to a separate completed tasks sheet (move completed rows to completed sheet) and deleted from active list (delete completed rows) in a loop until none remain. Wait nodes and limits are used to control API call pacing and batch sizes. How to use Set your Discord server and channel IDs for input (tasks-to-do) and output (my-prio-tasks-today) in the Set discord IDs here node. Connect your Google Sheets account and set the Spreadsheet ID in all relevant nodes (the sheet must have Tasks and completed tasks sheets with expected columns). Add your OpenAI API credentials for GPT-4.1 mini (task processing) and GPT-5 mini (daily digest). Ensure your Discord app has OAuth2 tokens with message read, react, and post permissions. Post tasks as messages in the configured Discord input channel. Run the workflow or activate it; it will sync, process, prioritize, and update tasks automatically on schedule. Customize the schedule trigger if you want more frequent or different syncing intervals. Requirements Discord account and bot/app with OAuth2 app credentials for message read, react, and post permissions. Google Sheets account for task data storage, with a spreadsheet structured as specified (Sheets: Tasks, completed tasks). OpenAI API account with access to GPT-4.1 mini and GPT-5 mini models for AI task analysis and summarization. Google Sheets OAuth2 credentials configured in n8n. Properly set Discord server and channel IDs in the workflow. Customising this workflow Try adding support for multiple Discord servers or channels to centralize tasks from different teams or projects. Extend AI prompts to include deadlines parsing or automated reminders. Customize the Google Sheets columns or the scoring logic to fit your unique productivity frameworks or KPIs. Incorporate notifications via email or Slack based on task priority or completion. Replace Google Sheets with other databases if scalable storage is required. Adjust the energy level and impact criteria in AI prompts to match your personal productivity rhythms. Sample inputs: "publish tasks tracker asap" "Improve personal portfolio asap" "Watch new movie - Jujutsu Kaisen" Sample output: 🔥 Today's Agenda ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ⚡ Morning Deep Work Blocks (High Energy Required) Do these during peak hours (6 AM to 2 PM or whenever you're sharpest) 1️⃣ Improve personal portfolio for job applications 💡 Why: Critical for landing > 50k automation job - enhances job application success 📊 Priority: 100 | Impact: 10/10 Link: (https://discord.com/channels/1373770435146689/1481777943919293/1440107502032) 2️⃣ Complete all Udemy n8n courses ASAP 💡 Why: Essential skill for landing >50k automation job and digital product creation 📊 Priority: 88 | Impact: 9/10 Link: (https://discord.com/channels/137770435134668/14348177539192/14365639629204) 3️⃣ Finish finance debt tracker and publish as template 💡 Why: Generates immediate income potential and supports income generation 📊 Priority: 86 | Impact: 9/10 Link: (https://discord.com/channels/1373767704351346/1434817779453919/1436445965471973) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🎯 DOWNTIME BLOCK (Low-Medium Energy) Do these during energy dips (post-lunch, late afternoon, tired moments) 1️⃣ Call Bank collections agency (09277055515 / 09559050973) 💡 Why: Limited-time offer; could significantly monthly payments 📊 Priority: 96 | Impact: 10/10 | Energy: Medium Link: (https://discord.com/channels/13767704351/14348177453/14379926889894) 2️⃣ Publish n8n workflow and submit for verification 💡 Why: Enables earning from this and future n8n workflows — immediate income opportunity 📊 Priority: 96 | Impact: 9/10 | Energy: Medium Link: (https://discord.com/channels/1373767435134/14347794539/143810998822) 3️⃣ Plan and pay Loan 💡 Why: Immediate debt payments reduce penalties/interest and support financial stability 📊 Priority: 96 | Impact: 10/10 | Energy: Medium Link: (https://discord.com/channels/1373767704351346/143481777945391/14382823609982) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💪 EXECUTION STRATEGY 🛡️ Morning Block: Protect this ruthlessly — no meetings, no social, deep work only. ⚙️ Downtime Block: Tackle these during lower-energy windows; they move the money/debt needle without burning you out. 🎯 Win Condition: Complete all 6 = massive progress toward landing high-paying work and eliminating high-priority debt. Protect your morning deep work at all costs — it's your leverage. You're building financial freedom one prioritized action at a time. If you finish all 6 today: your portfolio and skills will be significantly closer to landing high-paying work, and you'll make a major dent in urgent debt obligations. Questions? If you have questions or need help with this workflow, feel free to reach out: elijahmamuri@gmail.com elijahfxtrading@gmail.com
by Jitesh Dugar
Automated Event Badge Generator Streamline your event registration process with this fully automated badge generation system. Perfect for conferences, seminars, corporate events, universities, and training programs. 🎯 What This Workflow Does Receives Registration Data via webhook (POST request) Validates & Sanitizes attendee information (email, name, role) Generates Unique QR Codes for each attendee with scannable IDs Creates Beautiful HTML Badges with gradient design and branding Converts to High-Quality PNG Images (400x680px) via HTMLCSStoImage API Logs Everything to Google Sheets for tracking and analytics Sends Personalized Emails with badge attachment and event instructions Handles Errors Gracefully with admin notifications ✨ Key Features Professional Badge Design**: Gradient purple background, attendee photos (initials), QR codes Automatic QR Code Generation**: Unique scannable codes for quick check-in Email Delivery**: Personalized HTML emails with download links Google Sheets Tracking**: Complete audit trail of all badge generations Error Handling**: Admin alerts when generation fails Scalable**: Process registrations one-by-one or in batches 🔧 Required Setup APIs & Credentials: HTMLCSStoImg API - Sign up at https://htmlcsstoimg.com Get API Key Gmail OAuth2 Connect your Gmail account Grant send permissions Google Sheets OAuth2 Create a tracking spreadsheet Add headers: Name, Email, Event, Role, Attendee ID, Badge URL, Timestamp Connect via OAuth2 Before Activation: Replace YOUR_GOOGLE_SHEETS_ID with your Google Sheet ID Replace admin@example.com with your admin email address Add all three credentials Test with sample data 📊 Use Cases Conferences & Seminars**: Generate badges for 100+ attendees Universities**: Student ID cards and event passes Corporate Events**: Employee badges with QR check-in Training Programs**: Course participant badges Workshops**: Professional badges with role identification Trade Shows**: Exhibitor and visitor badges 🎨 Customization Options Badge Design**: Modify HTML/CSS for custom branding, colors, logos QR Code Size**: Adjust dimensions for different use cases Email Template**: Personalize welcome message and instructions Role-Based Badges**: Different designs for VIP, Speaker, Staff, Attendee Multi-Event Support**: Handle multiple events with different templates 📈 What You'll Track Total badges generated Attendee names, emails, roles Badge image URLs for reprints Generation timestamps Event names and dates ⚡ Processing Time Average**: 5-8 seconds per badge Includes**: Validation, QR generation, HTML rendering, image conversion, logging, email 🔒 Security Features Email format validation Continue-on-fail error handling Admin notifications on failures Secure credential storage 💡 Pro Tips Use a dedicated Gmail account for automation Monitor HTMLCSStoImg API limits Create separate sheets for different events Archive old data periodically Set up webhook authentication for production 🚀 Getting Started Import this workflow Add the three required credentials Update Sheet ID and admin email Test with sample registration data Activate and integrate with your registration form Perfect for event organizers, HR teams, universities, and anyone managing events with 10-1000+ attendees!
by Ranjan Dailata
Disclaimer Please note - This workflow is only available on n8n self-hosted as it’s making use of the community node for the Decodo Web Scraping This n8n workflow automates the process of scraping, analyzing, and summarizing Amazon product reviews using Decodo’s Amazon Scraper, OpenAI GPT-4.1-mini, and Google Sheets for seamless reporting. It turns messy, unstructured customer feedback into actionable product insights — all without manual review reading. Who this is for This workflow is designed for: E-commerce product managers** who need consolidated insights from hundreds of reviews. Brand analysts and marketing teams** performing sentiment or trend tracking. AI and data engineers** building automated review intelligence pipelines. Sellers and D2C founders** who want to monitor customer satisfaction and pain points. Product researchers** performing market comparison or competitive analysis. What problem this workflow solves Reading and analyzing hundreds or thousands of Amazon reviews manually is inefficient and subjective. This workflow automates the entire process — from data collection to AI summarization — enabling teams to instantly identify customer pain points, trends, and strengths. Specifically, it: Eliminates manual review extraction from product pages. Generates comprehensive and abstract summaries using GPT-4.1-mini. Centralizes structured insights into Google Sheets for visualization or sharing. Helps track product sentiment and emerging issues over time. What this workflow does Here’s a breakdown of the automation process: Set Input Fields Define your Amazon product URL, geo region, and desired file name. Decodo Amazon Scraper Fetches real-time product reviews from the Amazon product page, including star ratings and AI-generated summaries. Extract Reviews Node Extracts raw customer reviews and Decodo’s AI summary into a structured JSON format. Perform Review Analysis (GPT-4.1-mini) Uses OpenAI GPT-4.1-mini to create two key summaries: Comprehensive Review: A detailed summary that captures sentiment, recurring themes, and product pros/cons. Abstract Review: A concise executive summary that captures the overall essence of user feedback. Persist Structured JSON Saves the raw and AI-enriched data to a local file for reference. Append to Google Sheets Uploads both the original reviews and AI summaries into a Google Sheet for ongoing analysis, reporting, or dashboard integration. Outcome: You get a structured, AI-enriched dataset of Amazon product reviews — summarized, searchable, and easy to visualize. Setup Pre-requisite If you are new to Decode, please signup on this link visit.decodo.com Please make sure to install the n8n custom node for Decodo. Step 1 — Import the Workflow Open n8n and import the JSON workflow template. Ensure the following credentials are configured: Decodo Credentials account → Decodo API Key OpenAI account → OpenAI API Key Google Sheets account → Connected via OAuth Step 2 — Input Product Details In the Set node, replace: amazon_url → your product link (e.g., https://www.amazon.com/dp/B0BVM1PSYN) geo → your region (e.g., US, India) file_name → output file name (optional) Step 3 — Connect Google Sheets Link your desired Google Sheet for data storage. Ensure the sheet columns match: product_reviews all_reviews Step 4 — Run the Workflow Click Execute Workflow. Within seconds, your Amazon product reviews will be fetched, summarized by AI, and logged into Google Sheets. How to customize this workflow You can tailor this workflow for different use cases: Add Sentiment Analysis** — Add another GPT node to classify reviews as positive, neutral, or negative. Multi-Language Reviews** — Include a language detection node before summarization. Send Alerts** — Add a Slack or Gmail node to notify when negative sentiment exceeds a threshold. Store in Database** — Replace Google Sheets with MySQL, Postgres, or Notion nodes. Visualization Layer** — Connect your Google Sheet to Looker Studio or Power BI for dynamic dashboards. Alternative AI Models** — Swap GPT-4.1-mini with Gemini 1.5 Pro, Claude 3, or Mistral for experimentation. Summary This workflow transforms the tedious process of reading hundreds of Amazon reviews into a streamlined AI-powered insight engine. By combining Decodo’s scraping precision, OpenAI’s summarization power, and Google Sheets’ accessibility, it enables continuous review monitoring. In one click, it delivers comprehensive and abstract AI summaries, ready for your next product decision meeting or market strategy session.
by Vigh Sandor
Network Vulnerability Scanner (used NMAP as engine) with Automated CVE Report Workflow Overview This n8n workflow provides comprehensive network vulnerability scanning with automated CVE enrichment and professional report generation. It performs Nmap scans, queries the National Vulnerability Database (NVD) for CVE information, generates detailed HTML/PDF reports, and distributes them via Telegram and email. Key Features Automated Network Scanning**: Full Nmap service and version detection scan CVE Enrichment**: Automatic vulnerability lookup using NVD API CVSS Scoring**: Vulnerability severity assessment with CVSS v3.1/v3.0 scores Professional Reporting**: HTML reports with detailed findings and recommendations PDF Generation**: Password-protected PDF reports using Prince XML Multi-Channel Distribution**: Telegram and email delivery Multiple Triggers**: Webhook API, web form, manual execution, scheduled scans Rate Limiting**: Respects NVD API rate limits Comprehensive Data**: Service detection, CPE matching, CVE details with references Use Cases Regular security audits of network infrastructure Compliance scanning for vulnerability management Penetration testing reconnaissance phase Asset inventory with vulnerability context Continuous security monitoring Vulnerability assessment reporting for management DevSecOps integration for infrastructure testing Setup Instructions Prerequisites Before setting up this workflow, ensure you have: System Requirements n8n instance (self-hosted) with command execution capability Alpine Linux base image (or compatible Linux distribution) Minimum 2 GB RAM (4 GB recommended for large scans) 2 GB free disk space for dependencies Network access to scan targets Internet connectivity for NVD API Required Knowledge Basic networking concepts (IP addresses, ports, protocols) Understanding of CVE/CVSS vulnerability scoring Nmap scanning basics External Services Telegram Bot (optional, for Telegram notifications) Email server / SMTP credentials (optional, for email reports) NVD API access (public, no API key required but rate-limited) Step 1: Understanding the Workflow Components Core Dependencies Nmap: Network scanner Purpose: Port scanning, service detection, version identification Usage: Performs TCP SYN scan with service/version detection nmap-helper: JSON conversion tool Repository: https://github.com/net-shaper/nmap-helper Purpose: Converts Nmap XML output to JSON format Prince XML: HTML to PDF converter Website: https://www.princexml.com Version: 16.1 (Alpine 3.20) Purpose: Generates professional PDF reports from HTML Features: Password protection, print-optimized formatting NVD API: Vulnerability database Endpoint: https://services.nvd.nist.gov/rest/json/cves/2.0 Purpose: CVE information, CVSS scores, vulnerability descriptions Rate Limit: Public API allows limited requests per minute Documentation: https://nvd.nist.gov/developers Step 2: Telegram Bot Configuration (Optional) If you want to receive reports via Telegram: Create Telegram Bot Open Telegram and search for @BotFather Start a chat and send /newbot Follow prompts: Bot name: Network Scanner Bot (or your choice) Username: network_scanner_bot (must end with 'bot') BotFather will provide: Bot token: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz (save this) Bot URL: https://t.me/your_bot_username Get Your Chat ID Start a chat with your new bot Send any message to the bot Visit: https://api.telegram.org/bot<YOUR_BOT_TOKEN>/getUpdates Find your chat ID in the response Save this chat ID (e.g., 123456789) Alternative: Group Chat ID For sending to a group: Add bot to your group Send a message in the group Check getUpdates URL Group chat IDs are negative: -1001234567890 Add Credentials to n8n Navigate to Credentials in n8n Click Add Credential Select Telegram API Fill in: Access Token: Your bot token from BotFather Click Save Test connection if available Step 3: Email Configuration (Optional) If you want to receive reports via email: Add SMTP Credentials to n8n Navigate to Credentials in n8n Click Add Credential Select SMTP Fill in: Host: SMTP server address (e.g., smtp.gmail.com) Port: SMTP port (587 for TLS, 465 for SSL, 25 for unencrypted) User: Your email username Password: Your email password or app password Secure: Enable for TLS/SSL Click Save Gmail Users: Enable 2-factor authentication Generate app-specific password: https://myaccount.google.com/apppasswords Use app password in n8n credential Step 4: Import and Configure Workflow Configure Basic Parameters Locate "1. Set Parameters" Node: Click the node to open settings Default configuration: network: Input from webhook/form/manual trigger timestamp: Auto-generated (format: yyyyMMdd_HHmmss) report_password: Almafa123456 (change this!) Change Report Password: Edit report_password assignment Set strong password: 12+ characters, mixed case, numbers, symbols This password will protect the PDF report Save changes Step 5: Configure Notification Endpoints Telegram Configuration Locate "14/a. Send Report in Telegram" Node: Open node settings Update fields: Chat ID: Replace -123456789012 with your actual chat ID Credentials: Select your Telegram credential Save changes Message customization: Current: Sends PDF as document attachment Automatic filename: vulnerability_report_<timestamp>.pdf No caption by default (add if needed) Email Configuration Locate "14/b. Send Report in Email with SMTP" Node: Open node settings Update fields: From Email: report.creator@example.com → Your sender email To Email: report.receiver@example.com → Your recipient email Subject: Customize if needed (default includes network target) Text: Email body message Credentials: Select your SMTP credential Save changes Multiple Recipients: Change toEmail field to comma-separated list: admin@example.com, security@example.com, manager@example.com Add CC/BCC: In node options, add: cc: Carbon copy recipients bcc: Blind carbon copy recipients Step 6: Configure Triggers The workflow supports 4 trigger methods: Trigger 1: Webhook API (Production) Locate "Webhook" Node: Path: /vuln-scan Method: POST Response: Immediate acknowledgment "Process started!" Async: Scan runs in background Trigger 2: Web Form (User-Friendly) Locate "On form submission" Node: Path: /webhook-test/form/target Method: GET (form display), POST (form submit) Form Title: "Add scan parameters" Field: network (required) Form URL: https://your-n8n-domain.com/webhook-test/form/target Users can: Open form URL in browser Enter target network/IP Click submit Receive confirmation Trigger 3: Manual Execution (Testing) Locate "Manual Trigger" Node: Click to activate Opens workflow with "Pre-Set-Target" node Default target: scanme.nmap.org (Nmap's official test server) To change default target: Open "Pre-Set-Target" node Edit network value Enter your test target Save changes Trigger 4: Scheduled Scans (Automated) Locate "Schedule Trigger" Node: Default: Daily at 1:00 AM Uses "Pre-Set-Target" for network To change schedule: Open node settings Modify trigger time: Hour: 1 (1 AM) Minute: 0 Day of week: All days (or select specific days) Save changes Schedule Examples: Every day at 3 AM: Hour: 3, Minute: 0 Weekly on Monday at 2 AM: Hour: 2, Day: Monday Twice daily (8 AM, 8 PM): Create two Schedule Trigger nodes Step 7: Test the Workflow Recommended Test Target Use Nmap's official test server for initial testing: Target**: scanme.nmap.org Purpose**: Official Nmap testing server Safe**: Designed for scanning practice Permissions**: Public permission to scan Important: Never scan targets without permission. Unauthorized scanning is illegal. Manual Test Execution Open workflow in n8n editor Click Manual Trigger node to select it Click Execute Workflow button Workflow will start with scanme.nmap.org as target Monitor Execution Watch nodes turn green as they complete: Need to Add Helper?: Checks if nmap-helper installed Add NMAP-HELPER: Installs helper (if needed, ~2-3 minutes) Optional Params Setter: Sets scan parameters 2. Execute Nmap Scan: Runs scan (5-30 minutes depending on target) 3. Parse NMAP JSON to Services: Extracts services (~1 second) 5. CVE Enrichment Loop: Queries NVD API (1 second per service) 8-10. Report Generation: Creates HTML/PDF reports (~5-10 seconds) 12. Convert to PDF: Generates password-protected PDF (~10 seconds) 14a/14b. Distribution: Sends reports Check Outputs Click nodes to view outputs: Parse NMAP JSON**: View discovered services CVE Enrichment**: See vulnerabilities found Prepare Report Structure**: Check statistics Read Report PDF**: Download report to verify Verify Distribution Telegram: Open Telegram chat with your bot Check for PDF document Download and open with password Email: Check inbox for report email Verify subject line includes target network Download PDF attachment Open with password How to Use Understanding the Scan Process Initiating Scans Method 1: Webhook API Use curl or any HTTP client and add "network" parameter in a POST request. Response: Process started! Scan runs asynchronously. You'll receive results via configured channels (Telegram/Email). Method 2: Web Form Open form URL in browser: https://your-n8n.com/webhook-test/form/target Fill in form: network: Enter target (IP, range, domain) Click Submit Receive confirmation Wait for report delivery Advantages: No command line needed User-friendly interface Input validation Good for non-technical users Method 3: Manual Execution For testing or one-off scans: Open workflow in n8n Edit "Pre-Set-Target" node: Change network value to your target Click Manual Trigger node Click Execute Workflow Monitor progress in real-time Advantages: See execution in real-time Debug issues immediately Test configuration changes View intermediate outputs Method 4: Scheduled Scans For regular, automated security audits: Configure "Schedule Trigger" node with desired time Configure "Pre-Set-Target" node with default target Activate workflow Scans run automatically on schedule Advantages: Automated security monitoring Regular compliance scans No manual intervention needed Consistent scheduling Scan Targets Explained Supported Target Formats Single IP Address: 192.168.1.100 10.0.0.50 CIDR Notation (Subnet): 192.168.1.0/24 # Scans 192.168.1.0-255 (254 hosts) 10.0.0.0/16 # Scans 10.0.0.0-255.255 (65534 hosts) 172.16.0.0/12 # Scans entire 172.16-31.x.x range IP Range: 192.168.1.1-50 # Scans 192.168.1.1 to 192.168.1.50 10.0.0.1-10.0.0.100 # Scans across range Multiple Targets: 192.168.1.1,192.168.1.2,192.168.1.3 Hostname/Domain: scanme.nmap.org example.com server.local Choosing Appropriate Targets Development/Testing: Use scanme.nmap.org (official test target) Use your own isolated lab network Never scan public internet without permission Internal Networks: Use CIDR notation for entire subnets Scan DMZ networks separately from internal Consider network segmentation in scan design Understanding Report Contents Report Structure The generated report includes: 1. Executive Summary: Total hosts discovered Total services identified Total vulnerabilities found Severity breakdown (Critical, High, Medium, Low, Info) Scan date and time Target network 2. Overall Statistics: Visual dashboard with key metrics Severity distribution chart Quick risk assessment 3. Detailed Findings by Host: For each discovered host: IP address Hostname (if resolved) List of open ports and services Service details: Port number and protocol Service name (e.g., http, ssh, mysql) Product (e.g., Apache, OpenSSH, MySQL) Version (e.g., 2.4.41, 8.2p1, 5.7.33) CPE identifier 4. Vulnerability Details: For each vulnerable service: CVE ID**: Unique vulnerability identifier (e.g., CVE-2021-44228) Severity**: CRITICAL / HIGH / MEDIUM / LOW / INFO CVSS Score**: Numerical score (0.0-10.0) Published Date**: When vulnerability was disclosed Description**: Detailed vulnerability explanation References**: Links to advisories, patches, exploits 5. Recommendations: Immediate actions (patch critical/high severity) Long-term improvements (security processes) Best practices Vulnerability Severity Levels CRITICAL (CVSS 9.0-10.0): Color: Red Characteristics: Remote code execution, full system compromise Action: Immediate patching required Examples: Log4Shell, EternalBlue, Heartbleed HIGH (CVSS 7.0-8.9): Color: Orange Characteristics: Significant security impact, data exposure Action: Patch within days Examples: SQL injection, privilege escalation, authentication bypass MEDIUM (CVSS 4.0-6.9): Color: Yellow Characteristics: Moderate security impact Action: Patch within weeks Examples: Information disclosure, denial of service, XSS LOW (CVSS 0.1-3.9): Color: Green Characteristics: Minor security impact Action: Patch during regular maintenance Examples: Path disclosure, weak ciphers, verbose error messages INFO (CVSS 0.0): Color: Blue Characteristics: No vulnerability found or informational Action: No action required, awareness only Examples: Service version detected, no known CVEs Understanding CPE CPE (Common Platform Enumeration): Standard naming scheme for IT products Used for CVE lookup in NVD database Workflow CPE Handling: Nmap detects service and version Nmap provides CPE (if in database) Workflow uses CPE to query NVD API NVD returns CVEs associated with that CPE Special case: nginx vendor fixed from igor_sysoev to nginx Working with Reports Accessing HTML Report Location: /tmp/vulnerability_report_<timestamp>.html Viewing: Open in web browser directly from n8n Click "11. Read Report for Output" node Download HTML file Open locally in any browser Advantages: Interactive (clickable links) Searchable text Easy to edit/customize Smaller file size Accessing PDF Report Location: /tmp/vulnerability_report_<timestamp>.pdf Password: Default: Almafa123456 (configured in "1. Set Parameters") Change in workflow before production use Required to open PDF Opening PDF: Receive PDF via Telegram or Email Open with PDF reader (Adobe, Foxit, Browser) Enter password when prompted View, print, or share Advantages: Professional appearance Print-optimized formatting Password protection Portable (works anywhere) Preserves formatting Report Customization Change Report Title: Open "8. Prepare Report Structure" node Find metadata object Edit title and subtitle fields Customize Styling: Open "9. Generate HTML Report" node Modify CSS in <style> section Change colors, fonts, layout Add Company Logo: Edit HTML generation code Add `` tag in header section Include base64-encoded logo or URL Modify Recommendations: Open "9. Generate HTML Report" node Find Recommendations section Edit recommendation text Scanning Ethics and Legality Authorization is Mandatory: Never scan networks without explicit written permission Unauthorized scanning is illegal in most jurisdictions Can result in criminal charges and civil liability Scope Definition: Document approved scan scope Exclude out-of-scope systems Maintain scan authorization documents Notification: Inform network administrators before scans Provide scan window and source IPs Have emergency contact procedures Safe Targets for Testing: scanme.nmap.org: Official Nmap test server Your own isolated lab network Cloud instances you own Explicitly authorized environments Compliance Considerations PCI DSS: Quarterly internal vulnerability scans required Scan all system components Re-scan after significant changes Document scan results HIPAA: Regular vulnerability assessments required Risk analysis and management Document remediation efforts ISO 27001: Vulnerability management process Regular technical vulnerability scans Document procedures NIST Cybersecurity Framework: Identify vulnerabilities (DE.CM-8) Maintain inventory Implement vulnerability management License and Credits Workflow: Created for n8n workflow automation Free for personal and commercial use Modify and distribute as needed No warranty provided Dependencies: Nmap**: GPL v2 - https://nmap.org nmap-helper**: Open source - https://github.com/net-shaper/nmap-helper Prince XML**: Commercial license required for production use - https://www.princexml.com NVD API**: Public API by NIST - https://nvd.nist.gov Third-Party Services: Telegram Bot API: https://core.telegram.org/bots/api SMTP: Standard email protocol Support For Nmap issues: Documentation: https://nmap.org/book/ Community: https://seclists.org/nmap-dev/ For NVD API issues: Status page: https://nvd.nist.gov Contact: https://nvd.nist.gov/general/contact For Prince XML issues: Documentation: https://www.princexml.com/doc/ Support: https://www.princexml.com/doc/help/ Workflow Metadata External Dependencies**: Nmap, nmap-helper, Prince XML, NVD API License**: Open for modification and commercial use Security Disclaimer This workflow is provided for legitimate security testing and vulnerability assessment purposes only. Users are solely responsible for ensuring they have proper authorization before scanning any network or system. Unauthorized network scanning is illegal and unethical. The authors assume no liability for misuse of this workflow or any damages resulting from its use. Always obtain written permission before conducting security assessments.
by Hassan
Sycorda AI Lead Qualification & Meeting Booking System This workflow creates a sophisticated AI-powered sales assistant that automatically qualifies website visitors, schedules meetings, and manages the entire lead-to-booking pipeline without human intervention. The system acts as "Hassan," a friendly sales representative who engages prospects through natural conversation and converts interest into booked appointments with remarkable efficiency. Benefits: Complete Sales Automation - Engages website visitors 24/7, qualifies leads through intelligent conversation, and books meetings automatically without any manual oversight AI-Powered Lead Qualification - Uses advanced conversational AI with SPIN Selling and Challenger Sale methodologies to identify high-value prospects and overcome objections naturally Smart Calendar Integration - Automatically checks availability, prevents double-bookings, and sends professional confirmation emails with meeting details Intelligent Data Management - Tracks all interactions, prevents duplicate outreach, and maintains comprehensive conversation summaries for follow-up optimization Scalable Conversion System - Processes unlimited website visitors simultaneously while maintaining personalized, human-like interactions for maximum conversion rates Revenue-Focused Approach - Specifically designed to identify prospects interested in AI automation services and guide them toward high-value consulting calls How It Works: Website Visitor Engagement: Captures incoming chat messages from website visitors in real-time Initiates conversations using a trained AI persona that feels authentically human Gradually qualifies interest in AI automation services through strategic questioning Intelligent Lead Processing: Collects essential contact information (name, email, company) within first few exchanges Cross-references visitor history to provide personalized follow-up experiences Updates comprehensive database with conversation summaries and lead scoring Advanced Qualification System: Uses proven sales methodologies (SPIN, Challenger) to overcome objections naturally Identifies pain points, budget indicators, and timeline requirements through conversation Accesses company knowledge base to answer specific questions about services and pricing Automated Meeting Booking: Seamlessly transitions qualified prospects to calendar booking when interest is confirmed Checks real-time calendar availability to prevent conflicts and optimize scheduling Creates calendar events with proper attendee management and meeting details Professional Follow-Up Automation: Sends branded confirmation emails with meeting links and company information Maintains conversation context across multiple touchpoints for consistency Provides detailed handoff information to sales team for optimal meeting preparation Required Database Setup: Before running this workflow, create a Google Sheets database with these exact column headers: Essential Columns: Name** - Prospect's full name (collected during qualification) Email** - Primary email address (used for matching and updates) Summary** - Detailed conversation summary with key insights Date** - Timestamp of interaction for tracking and follow-up Setup Instructions: Create a new Google Sheet with these column headers in the first row Name the sheet "Web Chat Bot Convo Summary" Connect your Google Sheets OAuth credentials in n8n Update the document ID in the workflow nodes The merge logic uses the Email column to prevent duplicate entries and update existing records with new conversation data. Business Use Cases: Service-Based Businesses - Automatically qualify and book high-value consultation calls without hiring additional sales staff Digital Agencies - Scale lead generation for AI automation services while maintaining personalized prospect experiences Consultants & Coaches - Convert website traffic into booked discovery calls with intelligent qualification and objection handling B2B SaaS Companies - Identify enterprise prospects and schedule product demos through natural conversation flow Revenue Potential: This system can generate $10,000-$50,000+ monthly by converting website visitors into qualified meetings. A single automated booking for AI automation services typically ranges from $3,000-$15,000 in project value, making the ROI calculation extremely attractive. Conversion Metrics: Typically converts 15-25% of engaged website visitors into qualified meetings Saves 20+ hours weekly of manual lead qualification and follow-up Eliminates scheduling back-and-forth and missed appointment opportunities Difficulty Level: Advanced Estimated Build Time: 3-4 hours Monthly Operating Cost: ~$50-100 (AI API usage + integrations) Set Up Steps: Configure AI Services: Add OpenAI API credentials for conversational AI and Claude Sonnet for specialized tasks Set up appropriate rate limiting and cost controls for sustainable operation Customize the AI persona and conversation flow for your specific business Database Configuration: Create Google Sheets database with provided column structure Connect Google Sheets OAuth credentials for seamless data management Configure the merge logic for duplicate prevention and record updates Calendar Integration Setup: Connect Google Calendar OAuth with proper permissions for event creation Configure calendar checking logic to prevent double-bookings Set up meeting link generation and attendee management Email Automation: Connect Gmail OAuth for sending confirmation emails Customize the branded email template with your company information Test email delivery and formatting across different clients Conversation Optimization: Customize AI prompts for your specific industry and service offerings Adjust qualification questions to identify your ideal customer profile Set up objection handling responses that align with your sales methodology Advanced Configuration: Configure memory management for consistent multi-session conversations Set up proper error handling and fallback responses Implement conversation logging and analytics for optimization Testing & Launch: Test the complete flow with sample conversations and edge cases Verify calendar integration, email delivery, and data logging Deploy with monitoring to track performance and optimize conversion rates Advanced Customization: Multi-Language Support** - Adapt conversations for international prospects Industry-Specific Qualification** - Customize questioning for different market segments Integration Expansion** - Connect to CRM systems, Slack notifications, or other business tools Advanced Analytics** - Track conversion funnels, conversation quality, and ROI metrics A/B Testing Framework** - Test different conversation approaches and optimize for higher conversion This system transforms your website from a passive information source into an active sales machine that works around the clock to generate qualified meetings and drive revenue growth.