by Alexey from Mingles.ai
AI Image Generator & Editor with GPT-4 Vision - Complete Workflow Template Description Transform text prompts into stunning images or edit existing visuals using OpenAI's latest GPT-4 Vision model through an intuitive web form interface. This comprehensive n8n automation provides three powerful image generation modes: 🎨 Text-to-Image Generation Simply enter a descriptive prompt and generate high-quality images from scratch using OpenAI's gpt-image-1 model. Perfect for creating original artwork, concepts, or visual content. 🖼️ Image-to-Image Editing Upload an existing image file and transform it based on your text prompt. The AI analyzes your input image and applies modifications while maintaining the original structure and context. 🔗 URL-Based Image Editing Provide a direct URL to any online image and edit it with AI. Great for quick modifications of web images or collaborative workflows. Key Features Smart Input Processing Flexible Form Interface**: User-friendly web form with authentication Multiple Input Methods**: File upload, URL input, or text-only generation Quality Control**: Selectable quality levels (low, medium, high) Format Support**: Accepts PNG, JPG, and JPEG formats Advanced AI Integration Latest GPT-4 Vision Model**: Uses gpt-image-1 for superior results Intelligent Switching**: Automatically detects input type and routes accordingly Context-Aware Editing**: Maintains image coherence during modifications Customizable Parameters**: Control size (1024x1024), quality, and generation settings Dual Storage Options Google Drive Integration**: Automatic upload with public sharing permissions ImgBB Hosting**: Alternative cloud storage for instant public URLs File Management**: Organized storage with timestamp-based naming Instant Telegram Delivery Real-time Notifications**: Results sent directly to your Telegram chat Rich Media Messages**: Includes generated image with prompt details Quick Access Links**: Direct links to view and download results Markdown Formatting**: Clean, professional message presentation Technical Workflow Form Submission → User submits prompt and optional image Smart Routing → System detects input type (text/file/URL) AI Processing → OpenAI generates or edits image based on mode Binary Conversion → Converts base64 response to downloadable file Cloud Upload → Stores in Google Drive or ImgBB with public access Telegram Delivery → Sends result with viewing links and metadata Perfect For Content Creators**: Generate unique visuals for social media and marketing Designers**: Quick concept development and image variations Developers**: Automated image processing for applications Teams**: Collaborative image editing and sharing workflows Personal Use**: Transform ideas into visual content effortlessly Setup Requirements OpenAI API Key**: Access to GPT-4 Vision model Google Drive API** (optional): For Google Drive storage ImgBB API Key** (optional): For alternative image hosting Telegram Bot**: For result delivery Basic Auth Credentials**: For form security What You Get ✅ Complete image generation and editing pipeline ✅ Secure web form with authentication ✅ Dual cloud storage options ✅ Instant Telegram notifications ✅ Professional result formatting ✅ Flexible input methods ✅ Quality control settings ✅ Automated file management Start creating AI-powered images in minutes with this production-ready template! Tags: #AI #ImageGeneration #OpenAI #GPT4 #ImageEditing #Telegram #GoogleDrive #Automation #ComputerVision #ContentCreation
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 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 AppStoneLab Technologies LLP
AI-Powered Hiring Pipeline: Auto-Screen CVs, Score Candidates & Send Interview Invites Stop manually reading every CV. This workflow watches your inbox, extracts CV text using Mistral OCR, scores every candidate against your job description using Google Gemini AI, and automatically routes them - shortlisted candidates get a professional interview invite, rejected ones get a polite decline, and HR receives a full AI summary with the CV attached. All hands-free. Who Is This For? HR teams and recruiters** at startups or growing companies who receive a high volume of CV emails Technical hiring managers** who want AI-assisted pre-screening before spending time on interviews Solo founders** who are hiring but don't have a dedicated recruiter No-code automation builders** looking for a production-ready hiring automation template What Problem Does This Solve? Manually reviewing CVs is time-consuming, inconsistent, and expensive. This workflow eliminates the bottleneck by automatically: Extracting CV text from PDF attachments (including scanned documents) via Mistral OCR Evaluating every candidate against your specific job description using Gemini AI Routing candidates and sending the right email to the right person - instantly You focus on interviewing. The pipeline handles everything else. Key Features 📥 Email-triggered** → fires automatically when a CV arrives in your inbox, no manual steps 📄 Mistral OCR** → works on both digitally-created and scanned/image-based PDF CVs 🤖 Gemini AI scoring** → returns a 0–100 score, shortlist/reject decision, candidate summary, and key skills 🔀 Smart routing** → shortlisted and rejected candidates are handled differently in the same workflow 📧 3 beautiful HTML email templates** → HR notification (with CV attached), interview invite, and polite decline ⚙️ Binary passthrough** → original CV PDF is preserved and forwarded to HR's email as an attachment 📋 Sticky note documentation** → every node is documented inside the workflow canvas How It Works (Step-by-Step) 📥 Watch Inbox → IMAP trigger fires when a new email arrives with a CV attachment 📄 OCR Extraction → Mistral's mistral-ocr-latest model reads the CV and outputs clean structured text 🤖 AI Scoring → Google Gemini evaluates the CV against your job description and returns a structured JSON with score, decision, candidate name, 3–4 sentence summary, and top 5 skills ⚙️ Parse & Route → a Code node cleans Gemini's response, extracts candidate email from the IMAP from field, and passes the binary CV forward 🔀 IF Decision → routes shortlisted candidates to the true branch and rejected to the false branch 📧 HR Email → HR receives a branded email with the AI score, candidate summary, key skills, and the original CV attached 📧 Interview Invite → shortlisted candidate receives a professional invitation with a scheduling link and "What to Expect" section 📧 Polite Decline → rejected candidate receives a warm, empathetic decline with a link to your careers page 🛠️ Setup Instructions Step 1 - Credentials Required You need to set up 4 credentials in n8n: | Credential | Node Used | Where to Get It | |---|---|---| | IMAP account | Email Trigger | Your email provider settings (Gmail: use App Password) | | Mistral Cloud API | OCR Extraction | Mistral AI Studio → API Keys | | Google Gemini (PaLM) API | AI Scoring | Google AI Studio → Get API Key | | SMTP account | All 3 email nodes | Your email provider SMTP settings | > 💡 Gmail users: Enable 2FA and generate an App Password for both IMAP and SMTP. Use imap.gmail.com:993 and smtp.gmail.com:587. Step 2 - Update Email Addresses In all 3 Send Email nodes, replace the placeholder emails: fromEmail → your sending address (e.g. hr@yourcompany.com) toEmail in the HR node → your HR team's inbox The candidate email fields are already dynamic ({{ $json.candidate_email }}) Step 3 - Add Your Job Description Open the 🤖 AI Score CV (Gemini) node and replace the JOB DESCRIPTION: section in the prompt with your actual role requirements. The current template uses an AI Engineer JD from AppStoneLab as a working example. Step 4 - Add Your Interview Scheduling Link In the 📧 Send Interview Invite to Candidate node, find YOUR_CALENDLY_OR_CAL_LINK_HERE in the HTML and replace it with your actual booking link (Calendly, Cal.com, TidyCal, etc.). How to Customize for Your Use Case | What to Change | Where | Example | |---|---|---| | Job description | Gemini node prompt | Swap in your own role requirements | | Scoring threshold | IF node condition | Change "shortlisted" to score-based logic e.g. score >= 70 | | Company name & branding | All 3 HTML email templates | Replace "AppStoneLab Technologies" with your company | | Careers page URL | Decline email HTML | Replace appstonelab.com/career with your URL | | AI model | Gemini node | Switch to gemini-3-flash-preview or gemini-3.1-pro-preview for different speed/quality | | Watched mailbox | IMAP trigger | Change INBOX to a dedicated folder like INBOX.careers | | Interview questions | Invite email HTML | Add/edit the "What to Expect" section steps | API Keys — Quick Links Mistral AI** → Mistral AI Studio - Free tier includes OCR. Pricing: $1 per 1,000 pages for mistral-ocr-latest Google Gemini** → Google AI Studio - Free tier available. gemini-3-flash-preview is fast and cheap for production Gmail App Password** → Google App Passwords n8n IMAP docs** → docs.n8n.io/integrations/core-nodes/n8n-nodes-base.emailimap n8n SMTP docs** → docs.n8n.io/integrations/core-nodes/n8n-nodes-base.sendemail Important Notes The IMAP Format field must be set to Resolved (not Simple) - this is required for binary attachment data to flow correctly through the workflow The Code node carries the binary CV attachment forward from the IMAP trigger to the HR email node. If you add new nodes between them, make sure binary passthrough is preserved Mistral OCR works on both text-based and scanned/image PDFs, making it more reliable than n8n's built-in Extract from File node The workflow uses the from.value[0].address path to extract the candidate's email from the IMAP trigger output - this is the correct path for the Resolved format 💬 Questions or Issues? Drop a comment on this template or reach out on the n8n community forum. Happy to help you adapt this for your specific hiring use case.
by Daiki Takayama
Who's it for This workflow is perfect for content creators, international teams, and businesses that need to translate documents into multiple languages automatically. Whether you're localizing documentation, translating marketing materials, or creating multilingual content, this workflow saves hours of manual work. What it does Automatically monitors a Google Drive folder for new documents (PDF, DOCX, TXT, or Markdown) and translates them into multiple languages using DeepL API. Each translated document is saved with a language-specific filename (e.g., document_en.pdf, document_zh.pdf) in a designated folder. You receive an email notification when all translations are complete. How it works Monitors a Google Drive folder for new files Detects file format (PDF/DOCX/TXT/Markdown) and extracts text Translates the content into your chosen languages (default: English, Chinese, Korean, Spanish, French, German) Saves translated files with language codes in the filename Sends an email notification with translation summary Optional: Records translation history in Notion database Set up instructions Requirements Google Drive account (for file storage) DeepL API key (free tier: 500,000 characters/month) Gmail account (for notifications) Notion account (optional, for tracking translation history) Setup steps Create Google Drive folders: Create a "Source" folder for original files Create a "Translated" folder for output Copy the folder IDs from the URLs Get DeepL API key: Sign up at DeepL API Copy your API key Configure the workflow: Open the "Configuration (Edit Here)" node (yellow node) Replace folder IDs with your own Set your notification email Choose target languages Set up credentials: Add Google Drive OAuth2 credentials Add DeepL API credentials Add Gmail OAuth2 credentials Activate the workflow and upload a test file! Customization options Change target languages**: Edit the targetLanguages array in the Configuration node (supports 30+ languages) Adjust polling frequency**: Change trigger from "every minute" to hourly or daily for batch processing Enable Notion tracking**: Set enableNotion to true and provide your database ID Add more file formats**: Extend the Switch node to handle additional file types Filter by file size**: Add conditions to skip files larger than a certain size Supported languages EN (English), ZH (Chinese), KO (Korean), JA (Japanese), ES (Spanish), FR (French), DE (German), IT (Italian), PT (Portuguese), RU (Russian), and 20+ more. Performance Short files** (1 page): ~30 seconds for 6 languages Medium files** (10 pages): ~2 minutes for 6 languages Large files** (100 pages): ~15 minutes for 6 languages Technical Details Trigger**: Google Drive folder monitoring (1-minute polling) Translation**: DeepL API with automatic source language detection Loop implementation**: Split Out + Aggregate pattern for parallel translation Error handling**: Catches API failures and sends email alerts Storage**: Original file format preserved in translated outputs Notes DeepL free tier provides 500,000 characters/month (approximately 250 pages) For high-volume translation, consider upgrading to DeepL Pro The workflow creates new files instead of overwriting, preserving translation history Google Docs are automatically converted to the appropriate format before translation What You'll Learn This workflow demonstrates several n8n patterns: File format detection and routing (Switch node) Loop implementation with Split Out + Aggregate Binary data handling for file operations Conditional logic with IF nodes (optional features) Cross-node data references Error handling and user notifications Perfect for learning automation best practices while solving a real business problem!
by Tejasv Makkar
🚀 Overview This n8n workflow automatically generates professional API documentation from C header (.h) files using AI. It scans a Google Drive folder for header files, extracts the source code, sends it to GPT-4o for structured analysis, and generates a beautiful HTML documentation page. The final documentation is uploaded back to Google Drive and a completion email is sent. This workflow is ideal for embedded systems teams, firmware engineers, and SDK developers who want an automated documentation pipeline. ✨ Key Features ⚡ Fully automated documentation generation 📁 Reads .h files directly from Google Drive 🤖 Uses AI to analyze C APIs and extract documentation 📑 Generates clean HTML documentation 📊 Documents functions, types, enums, and constants 🔁 Processes files one-by-one for reliability ☁️ Saves generated documentation back to Google Drive 📧 Sends a completion email notification 🧠 What the AI Extracts The workflow automatically identifies and documents: 📘 Overview of the header file 🔧 Functions Signatures Parameters Return values Usage examples 🧩 Enumerations 🧱 Data Types & Structures 🔢 Constants / Macros 📝 Developer Notes 🖥 Generated Documentation The output is a clean developer-friendly HTML documentation page including: 🧭 Sidebar navigation 📌 Function cards 📊 Parameter tables 💻 Code examples 🎨 Professional developer layout Perfect for: Developer portals SDK documentation Internal engineering documentation Embedded system libraries ⚙️ Workflow Architecture | Step | Node | Purpose | |-----|-----|--------| | 1 | ▶️ Manual Trigger | Starts the workflow | | 2 | 📂 Get all files | Reads files from Google Drive | | 3 | 🔎 Filter .h files | Keeps only header files | | 4 | 🔁 Split in Batches | Processes files sequentially | | 5 | ⬇️ Download file | Downloads the header file | | 6 | 📖 Extract text | Extracts code content | | 7 | 🤖 AI Extraction | AI extracts API structure | | 8 | 🧹 Parse JSON | Cleans AI output | | 9 | 🎨 Generate HTML | Builds documentation page | |10 | ☁️ Upload to Drive | Saves documentation | |11 | 📧 Email notification | Sends completion email | 🔧 Requirements To run this workflow you need: 🔹 Google Drive OAuth2 credentials 🔹 OpenAI API credentials 🔹 Gmail credentials 🛠 Setup Guide 1️⃣ Configure Google Drive Create two folders. Source folder Output folder Update the folder IDs in the nodes: Get all files from folder Save documentation to Google Drive 2️⃣ Configure OpenAI Add an OpenAI credential in n8n. Model used: The model analyzes C header files and returns structured API documentation. 3️⃣ Configure Gmail Add a Gmail OAuth credential. Update the recipient address inside: ▶️ Run the Workflow Click Execute Workflow. The workflow will: 1️⃣ Scan the Google Drive folder 2️⃣ Process each .h file 3️⃣ Generate HTML documentation 4️⃣ Upload documentation to Drive 5️⃣ Send a completion email 🖼 Documentation Preview 💡 Use Cases 🔧 Embedded firmware documentation 📦 SDK documentation generation 🧑💻 Developer portal automation 📚 C library documentation ⚙️ Continuous documentation pipelines 🔮 Future Improvements This workflow can be extended with several enhancements: 📄 PDF Documentation Export Add a step to convert the generated HTML documentation into PDF files using tools such as: Puppeteer HTML-to-PDF services n8n community PDF nodes This allows teams to distribute documentation as downloadable reports. 🔐 Local AI for Security (Ollama / Open-Source Models) Instead of using the OpenAI node, the workflow can be modified to run fully locally using AI models such as: Ollama** Open-source LLMs (Llama, Mistral, CodeLlama)** These models can run on your own server, which provides: 🔒 Better data privacy 🏢 No external API calls ⚡ Faster responses on local infrastructure 🛡 Increased security for proprietary source code This can be implemented in n8n using: HTTP Request node → Ollama API** Local AI inference servers Private LLM deployments 📚 Multi-Language Documentation The workflow could also support additional languages such as: .c .cpp .hpp .rs .go
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.
by Dariusz Koryto
Google Drive to FTP Transfer Workflow - Setup Guide Overview This n8n workflow automatically transfers files from Google Drive to an FTP server on a scheduled basis. It includes comprehensive logging, email notifications, and error handling. Features Automated Scheduling**: Runs every 6 hours (customizable) Manual Trigger**: Webhook endpoint for on-demand transfers File Filtering**: Supports specific file types and size limits Comprehensive Logging**: Detailed transfer reports saved to Google Drive Email Notifications**: HTML reports sent after each run Error Handling**: Graceful handling of failed transfers Batch Processing**: Files processed individually to prevent rate limits Prerequisites Before setting up this workflow, ensure you have: n8n instance running (self-hosted or cloud) Google Drive account with files to transfer FTP server with upload permissions Email service for sending reports (SMTP) Step-by-Step Setup Instructions 1. Google Drive API Setup 1.1 Create Google Cloud Project Go to Google Cloud Console Create a new project or select existing one Enable the Google Drive API: Navigate to "APIs & Services" → "Library" Search for "Google Drive API" Click "Enable" 1.2 Create OAuth2 Credentials Go to "APIs & Services" → "Credentials" Click "Create Credentials" → "OAuth client ID" Configure consent screen if prompted Choose "Web application" as application type Add your n8n instance URL to authorized redirect URIs: https://your-n8n-instance.com/rest/oauth2-credential/callback Note down the Client ID and Client Secret 1.3 Configure n8n Credential In n8n, go to "Credentials" → "Add Credential" Select "Google Drive OAuth2 API" Enter your Client ID and Client Secret Complete OAuth flow by clicking "Connect my account" Set credential ID as: your-google-drive-credentials-id 2. FTP Server Setup 2.1 FTP Server Requirements Ensure FTP server is accessible from your n8n instance Verify you have upload permissions Note the server details: Host/IP address Port (usually 21 for FTP) Username and password Destination directory path 2.2 Configure n8n FTP Credential In n8n, go to "Credentials" → "Add Credential" Select "FTP" Enter your FTP server details: Host: your-ftp-server.com Port: 21 (or your custom port) Username: your-ftp-username Password: your-ftp-password Set credential ID as: your-ftp-credentials-id 3. Email Setup (SMTP) 3.1 Choose Email Provider Configure SMTP settings for one of these providers: Gmail**: smtp.gmail.com, port 587, use App Password Outlook**: smtp-mail.outlook.com, port 587 Custom SMTP**: Your organization's SMTP server 3.2 Configure n8n Email Credential In n8n, go to "Credentials" → "Add Credential" Select "SMTP" Enter your SMTP details: Host: smtp.gmail.com (or your provider) Port: 587 Security: STARTTLS Username: your-email@example.com Password: your-app-password Set credential ID as: your-email-credentials-id 4. Workflow Configuration 4.1 Import Workflow Copy the workflow JSON from the artifact above In n8n, click "Import from JSON" Paste the workflow JSON and import 4.2 Update Credential References Google Drive nodes: Verify credential ID matches your-google-drive-credentials-id FTP node: Verify credential ID matches your-ftp-credentials-id Email node: Verify credential ID matches your-email-credentials-id 4.3 Customize Parameters FTP Server Settings (Upload to FTP node) { "host": "your-ftp-server.com", // Replace with your FTP host "username": "your-ftp-username", // Replace with your FTP username "password": "your-ftp-password", // Replace with your FTP password "path": "/remote/directory/{{ $json.validFiles[$json.batchIndex].name }}", // Update destination path "port": 21 // Change if using different port } Email Settings (Send Report Email node) { "sendTo": "admin@yourcompany.com", // Replace with your email address "subject": "Google Drive to FTP File Transfer - Report" } File Filter Settings (Filter & Validate Files node) In the JavaScript code, update these settings: const transferNotes = { settings: { maxFileSizeMB: 50, // Change maximum file size allowedExtensions: [ // Add/remove allowed file types '.pdf', '.doc', '.docx', '.txt', '.jpg', '.png', '.zip', '.xlsx' ], autoDeleteAfterTransfer: false, // Set to true to delete from Drive after transfer verifyTransfer: true // Keep true for verification } }; Google Drive Notes Storage (Upload Notes to Drive node) { "parents": { "parentId": "your-notes-folder-id" // Replace with actual folder ID from Google Drive } } 5. Schedule Configuration 5.1 Modify Schedule Trigger In the "Schedule Trigger" node, adjust the interval: { "rule": { "interval": [ { "field": "hours", "hoursInterval": 6 // Change to desired interval (hours) } ] } } Alternative schedule options: Daily**: "field": "days", "daysInterval": 1 Weekly**: "field": "weeks", "weeksInterval": 1 Custom cron**: Use cron expression for complex schedules 5.2 Webhook Configuration The webhook trigger is available at: POST https://your-n8n-instance.com/webhook/webhook-transfer-status Use this for manual triggers or external integrations. 6. Testing and Validation 6.1 Test Connections Test Google Drive: Run "Get Drive Files" node manually Test FTP: Upload a test file using "Upload to FTP" node Test Email: Send a test email using "Send Report Email" node 6.2 Run Test Transfer Activate the workflow Click "Execute Workflow" to run manually Monitor execution in the workflow editor Check for any error messages or failed nodes 6.3 Verify Results FTP Server**: Confirm files appear in destination directory Email**: Check you receive the transfer report Google Drive**: Verify transfer notes are saved to specified folder 7. Monitoring and Maintenance 7.1 Workflow Monitoring Execution History**: Review past runs in n8n interface Error Logs**: Check failed executions for issues Performance**: Monitor execution times and resource usage 7.2 Regular Maintenance Credential Renewal**: Google OAuth tokens may need periodic renewal Storage Cleanup**: Consider archiving old transfer notes Performance Tuning**: Adjust batch sizes or schedules based on usage 8. Troubleshooting 8.1 Common Issues Google Drive Authentication Errors: Verify OAuth2 credentials are correctly configured Check if Google Drive API is enabled Ensure redirect URI matches n8n instance URL FTP Connection Failures: Verify FTP server credentials and connectivity Check firewall settings allow FTP connections Confirm destination directory exists and has write permissions Email Delivery Issues: Verify SMTP credentials and server settings Check if email provider requires app-specific passwords Ensure sender email is authorized File Transfer Failures: Check file size limits in filter settings Verify allowed file extensions include your file types Monitor FTP server disk space 8.2 Debug Mode Enable debug mode by: Adding console.log statements in code nodes Using "Execute Workflow" with step-by-step execution Checking node outputs for data validation 9. Advanced Customizations 9.1 Additional File Filters Add custom filtering logic in the "Filter & Validate Files" node: // Example: Filter by modification date const isRecentFile = new Date(file.modifiedTime) > new Date(Date.now() - 7 * 24 * 60 * 60 * 1000); // Last 7 days // Example: Filter by folder location const isInSpecificFolder = file.parents && file.parents.includes('specific-folder-id'); 9.2 Enhanced Reporting Customize the email report template in "Send Report Email" node: 📊 File Transfer Report Summary Date: {{ new Date().toLocaleString('en-US') }} Success Rate: {{ Math.round((successfulTransfers / totalFiles) * 100) }}% 9.3 Integration with Other Services Add nodes to integrate with: Slack**: Send notifications to team channels Discord**: Post updates to Discord servers Webhook**: Trigger other workflows or systems Database**: Log transfers to MySQL, PostgreSQL, etc. 10. Security Considerations 10.1 Credential Security Use environment variables for sensitive data Regularly rotate FTP and email passwords Implement least-privilege access for service accounts 10.2 Network Security Use SFTP instead of FTP when possible Implement VPN connections for sensitive transfers Monitor network traffic for unusual patterns 10.3 Data Privacy Ensure compliance with data protection regulations Implement data retention policies for transfer logs Consider encryption for sensitive file transfers Support and Resources Documentation Links n8n Documentation Google Drive API Documentation n8n Community Forum Getting Help If you encounter issues: Check the troubleshooting section above Review n8n execution logs for error details Search the n8n community forum for similar issues Create a support ticket with detailed error information Note: Replace all placeholder values (URLs, credentials, IDs) with your actual configuration before running the workflow.
by Nirav Gajera
🏠 AI Real Estate Lead Qualifier — Typeform to Airtable with Smart Email Routing Automatically qualify property leads, score them with AI, save to Airtable, and send personalised emails — all in seconds. 📖 Description Every time a prospect submits your Typeform property inquiry, this workflow kicks in automatically. It extracts their details, runs them through an AI lead scoring engine, saves the record to Airtable, and sends a personalised email — a priority response for hot leads, a nurture email for everyone else. No manual review. No missed leads. No delayed follow-ups. This is built for real estate agencies, leasing companies, and property managers who receive inquiries through Typeform and want instant, intelligent responses without hiring extra staff. ✨ Key Features Instant lead capture** — triggers the moment Typeform receives a submission AI lead scoring** — Google Gemini classifies every lead as High, Medium, or Low automatically Smart email routing** — High leads get a priority response, others get a nurture sequence Airtable CRM sync** — every lead saved with full details + AI assessment Robust AI parsing** — 4-layer fallback system ensures AI output is always usable Personalised emails** — name, property type, location, budget pulled into every email automatically No-code maintenance** — update scoring rules in the prompt, email copy in the nodes 🔄 How It Works Prospect submits Typeform inquiry ↓ Webhook receives the form payload ↓ Extract Typeform Fields → name, email, phone, property type → purpose, location, budget, requirements ↓ AI Lead Qualifier (Google Gemini) → lead_score: High / Medium / Low → intent, timeline, notes ↓ Parse AI Output (4-layer fallback) ↓ Save to Airtable CRM ↓ High Lead? (IF check) ✅ YES → Priority Email (contact within 2 hours) ❌ NO → Nurture Email (contact within 1-2 days) 🤖 AI Lead Scoring Rules The AI automatically classifies leads based on these criteria: | Score | Criteria | | :--- | :--- | | 🔴 High | Has budget + specific location + clear purpose (investment or near-term buying) | | 🟡 Medium | Partial information — needs follow-up to qualify further | | 🟢 Low | Vague inquiry, missing budget or location, early exploration | The AI also extracts: Intent** — what the lead is trying to achieve Timeline** — how urgently they need a property Notes** — assessment summary for your sales team 📧 Email Templates High Lead Email Subject: 🏠 [Name], we have properties matching your needs! Dark blue header — premium feel Full inquiry summary (property, purpose, location, budget, timeline) AI assessment notes included Promise: senior agent contacts within 2 hours Nurture Email (Medium / Low) Subject: Thanks for reaching out, [Name]! Grey header — warm and professional Inquiry summary (property, location, budget) Preparation tips while they wait Promise: contact within 1-2 business days 🛠 Setup Requirements 1. Typeform Setup Create a Typeform with these fields and note their field ref IDs from the Typeform API: | Field | Type | Required | | :--- | :--- | :---: | | Full Name | Short text | ✅ | | Phone Number | Phone | ✅ | | Email Address | Email | ✅ | | Property Type | Multiple choice | ✅ | | Purpose | Multiple choice | ✅ | | Preferred Location | Short text | ✅ | | Budget Range | Multiple choice | ✅ | | Requirements | Long text | ✅ | | Consent | Yes/No | Optional | Connect Typeform webhook: Typeform Dashboard → Connect → Webhooks URL: your n8n webhook URL (Production URL from the Webhook node) Method: POST 2. Update Field Refs In the Extract Typeform Fields Code node, update the REF_* constants to match your actual Typeform field reference IDs: const REF_NAME = 'your-field-ref-here'; const REF_EMAIL = 'your-field-ref-here'; const REF_PHONE = 'your-field-ref-here'; // ... etc Find your field refs from the Typeform API or by logging a test webhook payload. 3. Airtable Setup Create an Airtable base with a table containing these fields: | Field Name | Field Type | | :--- | :--- | | Full Name | Single line text | | Email Address | Email | | Mobile Phone Number | Phone | | Property Type | Single line text | | Purpose | Single line text | | Preferred Location | Single line text | | Budget Range | Single line text | | Requirements | Long text | | Submit Date | Single line text | | Lead Score | Single line text | | Intent | Single line text | | Timeline | Single line text | | Notes | Long text | Update the Save to Airtable node with your Base ID and Table ID. 4. Credentials Required | Credential | Used for | Free? | | :--- | :--- | :--- | | Google Gemini (PaLM) API | AI lead scoring | Free tier available | | Airtable Personal Access Token | CRM save | Free | | SMTP | Sending emails | Depends on provider | 5. Email Configuration In both email nodes, update: fromEmail — your sending address SMTP credential — your email provider details Recommended SMTP providers for testing: Mailtrap (sandbox), Gmail, SendGrid ⚙️ Workflow Nodes | Node | Type | Purpose | | :--- | :--- | :--- | | Webhook | Webhook | Receives Typeform POST payload | | Extract Typeform Fields | Code | Parses answers by field ref ID | | AI Lead Qualifier | AI Agent | Scores lead using Gemini | | Google Gemini Chat Model | LLM | AI model for scoring | | Parse AI Output | Code | Extracts JSON with 4-layer fallback | | Save to Airtable | Airtable | Creates CRM record | | High Lead? | IF | Routes by lead score | | Priority Email | Email Send | Sends to High leads | | Nurture Email | Email Send | Sends to Medium/Low leads | 🔧 Customisation Change scoring criteria: Edit the prompt in the AI Lead Qualifier node. Add your own rules — e.g. score higher if budget exceeds a threshold, or if the purpose is investment. Add more email tiers: Add a third IF branch for Low leads with a different nurture sequence, or add a Slack/WhatsApp alert for High leads. Use a different form: The Extract Typeform Fields node uses Typeform's field.ref system. Replace it with a Google Forms or Jotform parser by adjusting how you read the incoming webhook body. Change the AI model: Replace the Google Gemini node with Claude, OpenAI, or any other LLM Chat Model node — no other changes needed. Add lead deduplication: Before saving to Airtable, add a search step to check if the email already exists and skip or update instead of creating a duplicate. 🛡 Robustness Features The Parse AI Output node uses a 4-layer fallback to ensure the workflow never breaks due to AI formatting issues: Direct JSON parse — if Gemini returns clean JSON Strip markdown fences — if Gemini wraps in Regex JSON extraction — if there's extra text around the JSON Field-by-field regex — if JSON is malformed, extracts each field individually Default fallback — if all else fails, sets lead_score: Medium This means the workflow continues and saves the record even if the AI returns unexpected output. 📊 Sample Airtable Record Full Name: Sarah Johnson Email Address: sarah@example.com Mobile Phone: +91 9876543210 Property Type: 2BHK Apartment Purpose: Investment Preferred Location: Bandra, Mumbai Budget Range: ₹80L - ₹1.2Cr Requirements: Parking, gym, sea view Submit Date: 2026-03-18T10:30:00Z Lead Score: High Intent: Serious buyer looking for investment property with strong rental yield Timeline: Within 3 months Notes: High-intent lead with clear budget and location. Has specific amenity requirements. Recommend immediate callback. 📦 Requirements Summary n8n (cloud or self-hosted) Typeform account (any paid plan for webhooks) Airtable account (free tier works) Google AI Studio account for Gemini API key (free tier available) SMTP email account 💡 Enhancement Ideas WhatsApp alert** — send instant WhatsApp to sales team for every High lead via Twilio Calendar booking link** — include a Calendly link in the High lead email Lead follow-up reminder** — add a Wait node + reminder email if no reply in 48 hours Slack notification** — ping your team channel instantly for High leads Lead scoring dashboard** — connect Airtable to a dashboard tool for weekly reports Built with n8n · Google Gemini AI · Typeform · Airtable · SMTP
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 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