π€π§ AI agent chatbot + LONG TERM memory + note storage + Telegram
This workflow template creates an AI agent chatbot with long-term memory and note storage using Google Docs and Telegram integration. Google Docs Integration π n8n Google Docs Node Setup Google Credentials Telegram Integration π¬ Telegram Setup Core Features π AI Agent Integration π€ Implements a sophisticated AI agent with memory management capabilities Uses GPT-4o-mini and DeepSeek models for intelligent conversation handling Maintains context awareness through session management Memory System π§ Long-term memory storage using Google Docs Separate note storage system for specific information Window buffer memory for maintaining conversation context Intelligent memory retrieval and storage mechanisms Communication Interface π¬ Telegram integration for message handling Real-time message processing and response generation Technical Components π§ Memory Architecture π Dual storage system separating memories from notes Automated memory retrieval before each interaction Structured memory saving with timestamps AI Models π€ Primary GPT-4o-mini mini model for general interactions DeepSeek-V3 Chat for specialized processing Custom agent system with tool integration Storage Integration πΎ Google Docs integration for persistent storage Separate document management for memories and notes Automated document updates and retrievals
Organize Email Attachments from Gmail to Structured Google Drive Folders
Automated Binary Data Extraction from Gmail to Google Drive Folder This workflow is designed to automate the process of handling emails with binary attachments. It triggers when a new email arrives in a specified Gmail account (or can be configured with a similar email trigger) and is set to download any binary attachments. The workflow then filters the email to confirm it contains binary data (attachments). If attachments are present, it proceeds to retrieve the full email details, including all binary data. A crucial step is the creation of a new Google Drive folder. This folder is dynamically named using the email's subject and the current timestamp, for example, "[Email Subject] - [Current Timestamp]". Following this, the workflow separates each individual attachment from the email. Finally, these attachments are uploaded into the newly created Google Drive folder, with their original filenames preserved. The overall purpose of this workflow is to automatically organize and store email attachments into a structured Google Drive folder system. This workflow is compatible with any type of binary data found in an email, as the filter is designed to detect any binary data, not just PDFs. How It Works Trigger: The workflow initiates when a new email arrives in a specified Gmail account. Alternatively, it can be configured with a similar email trigger. Download Attachments: The workflow is set to automatically download any binary attachments from the incoming email. Filter Attachments: The workflow then filters the email to confirm it contains binary data (attachments). Retrieve Full Email Details: If attachments are present, the workflow proceeds to retrieve the complete details of the email, including all binary data. Create Google Drive Folder: A new folder is created in Google Drive. This folder is dynamically named using the email's subject and the current timestamp (e.g., "[Email Subject] - [Current Timestamp]"). Split Out Attachments: Each individual binary attachment from the email is separated into its own item within the workflow. Upload to Google Drive: Finally, these separated attachments are uploaded into the newly created Google Drive folder, retaining their original filenames. Need Help? Have Questions? For consulting and support, or if you have questions, please feel free to connect with me on LinkedIn or email michael.gullo@outlook.com.
AI sales assistant with GPT & Claude: qualify leads, book meetings
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.
Enrich and manage candidates data in Notion
This workflow allows you to add candidatesβ profile assessments to Notion before an interview. Prerequisites Add an input field on your Calendly Invite page where the candidate can enter their LinkedIn URL. Create credentials for your Calendly account. Follow the steps mentioned in the documentation to learn how to do that. Create credentials for Humantic AI following the steps mentioned here. Create a page on Notion similar to this page. Create credentials for the Notion node by following the steps in the documentation. Calendly Trigger node: This node will trigger the workflow when an interview gets scheduled. Make sure to add a field to collect the candidates' LinkedIn URL on your invite page. Humantic AI: This node uses the LinkedIn URL received by the previous node to create a candidate profile in Humantic AI. Humantic AI1: This node will analyze the candidates' profile. Notion node: This node will create a new page in Notion using the information from the previous node.
Extract and organize receipt data for expense tracking with VLM Run and Google
Transform your expense tracking with automated AI receipt processing that extracts data and organizes it instantly. What this workflow does Monitors Google Drive for new receipt uploads (images/PDFs) Downloads and processes files automatically Extracts key data using verified VLM Run node (merchant, amount, currency, date) Saves structured data to Google Sheets for easy tracking Setup Prerequisites: Google Drive/Sheets accounts, VLM Run API credentials, n8n instance. Install the verified VLM Run node by searching for VLM Run in the node list, then click Install. Once installed, you can start using it in your workflows. Quick Setup: Configure Google Drive OAuth2 and create receipt upload folder Add VLM Run API credentials Create Google Sheets with columns: Customer, Merchant, Amount, Currency, Date Update folder/sheet IDs in workflow nodes Test and activate How to customize this workflow to your needs Extend functionality by: Adding expense categories and approval workflows Connecting to accounting software (QuickBooks, Xero) Including Slack notifications for processed receipts Adding data validation and duplicate detection This workflow transforms manual receipt processing into an automated system that saves hours while improving accuracy.
End-to-end YouTube video automation with HeyGen, GPT-4 & Avatar videos
π₯ End-to-End YouTube Video Automation Workflow with n8n, HeyGen & AI Automate the entire YouTube content creation pipeline β from video idea to AI-generated avatar video, upload, metadata generation, and publishing β with zero manual intervention! --- Who is this for? This template is perfect for: Affiliate marketers (e.g., PartnerStack, SaaS products) YouTube creators scaling video production Agencies managing client content Educators and coaches delivering automated video lessons Entrepreneurs running faceless YouTube channels --- π§ What problem does it solve? Publishing consistent, high-quality video content is essential for audience growth and monetization. But manually creating each video β researching, writing, recording, uploading, and optimizing β is slow, repetitive, and unsustainable at scale. This workflow solves that by automating: β Content sourcing from Google Sheets β Script generation with AI β Avatar video creation via HeyGen β YouTube upload and metadata β Final publishing and status update All done without touching a single button. Schedule it weekly and watch videos go live while you sleep. --- βοΈ What this workflow does π₯ Reads video ideas from a Google Sheet (e.g., PartnerStack affiliate product) π Fetches product details from the web using HTTP Request π§ Generates a promotional video transcript using an AI agent π Converts the script to an avatar video using HeyGen API β³ Waits for the video to render and fetches download URL β¬οΈ Uploads the video to YouTube via API π§ Generates title, description, tags, and hashtags using AI π Updates video metadata and changes visibility to Public π Logs publication details back to Google Sheets π€ Optional human-in-the-loop step before publishing --- π Setup π Connect the following integrations: Google Sheets (or Airtable) HeyGen API YouTube Data API (OAuth 2.0) OpenAI / Gemini / Ollama π§Ύ Add your video ideas to Google Sheets: Include product name, link, and "To Do" status π Import the n8n template and configure API credentials π§ Customize your AI prompt for tone, format, and industry π Schedule it to run weekly (1 video per week) --- βοΈ How to customize this workflow Swap Google Sheets with Airtable, Notion, or API feeds Modify AI prompts for different use cases: reviews, explainers, tutorials Use D-ID, Synthesia, or your preferred avatar platform Add analytics, thumbnails, or comment automation Localize content for multi-language channels Integrate with Slack, Discord, or Telegram for notifications --- π Sticky Notes Included π Get Partner Idea: Pulls one item from the Google Sheet π Fetch Content: Extracts product details via HTTP request π§ AI Script: Generates video transcript using GPT or Gemini π₯ Video Generation: Sends script to HeyGen, waits for rendering β¬οΈ Upload to YouTube: Uploads video file π§ Metadata Generator: Creates optimized title, tags, description π Metadata Update: Updates YouTube metadata and sets video to Public π Sheet Update: Marks video as published in the Google Sheet π§ Human Approval (Optional): Pause & resume on manual review --- π Useful Links π§ Mastering n8n on Udemy π n8n Learning Guidebook π Sign Up for n8n Cloud (Use Code: AMJID10) π§ SyncBricks Automation Blog πΊ YouTube Channel β SyncBricks --- π Why this workflow? This advanced automation setup is ideal for users exploring: YouTube automation via n8n and API AI-powered content pipelines with OpenAI/Gemini Avatar video generation (HeyGen / D-ID / Synthesia) Workflow automation for affiliate marketing Full-stack video publishing using no-code tools Enterprise-grade publishing for brands and creators Built with modularity, customization, and full control in mind β whether youβre using n8n Cloud or a self-hosted instance.
Facebook ads competitive analysis using Gemini and Open AI
How it works User submits a keyword through a form to trigger the workflow. Ads matching the keyword are scraped from Facebook Ads Library. Ads are filtered by media type (image or video). Images are analyzed using an AI model to describe visuals and text. Videos are downloaded, processed, and sent to Gemini for visual and spoken content analysis. Text, URLs, and media descriptions are compiled. All ad insights are saved into a Google Sheet for easy viewing. Set up steps Requires Apify and Gemini API credentials, Google Sheets access, and OpenAI key. Import the workflow into n8n and connect accounts to form, HTTP, and Sheets nodes. Provide form trigger URL for user input; no advanced config needed. Estimated setup time: ~15β20 minutes for a user familiar with n8n. Sticky notes inside the workflow provide helpful guidance per section.
TinyURL shortener via webhook
This n8n template allows you to automatically create shortened URLs using the TinyURL API by simply sending a webhook request. It's a quick and efficient way to integrate URL shortening into your automated workflows, ideal for sharing long links in social media, emails, or other applications. --- π§ How it works Receive Link Webhook: This node acts as the entry point for the workflow. It listens for incoming POST requests and expects a JSON body containing the url to be shortened and your api_key for TinyURL. Create TinyURL: This node sends a POST request to the TinyURL API, passing the long URL and your API key. It can also accept optional parameters like domain, alias, and description to customize the shortened link. Respond with Shortened URL: This node sends the response from the TinyURL API (which includes the new shortened URL) back to the service that initiated the webhook. --- π€ Who is it for? This workflow is ideal for: Content Managers & Marketers: Quickly shorten links for campaigns, social media posts, or tracking. Developers: Automate the process of link shortening within applications or scripts. Automation Enthusiasts: Integrate a URL shortener into various n8n workflows (e.g., after generating a report, before sending a notification). Anyone needing on-demand short links: A flexible solution for ad-hoc link shortening. --- π Data Structure When you trigger the webhook, send a POST request with a JSON body structured as follows: json { "apikey": "YOURTINYURLAPIKEY", "url": "https://www.verylongwebsite.com/path/to/specific/page?param1=value1¶m2=value2", "domain": "tinyurl.com", // Optional: defaults to tinyurl.com "alias": "myCustomAlias", // Optional: desired custom alias for the link "description": "My project link" // Optional: description for the link } The workflow will return the JSON response directly from the TinyURL API, which will include the short_url and other details about the newly created link. --- βοΈ Setup Instructions Obtain TinyURL API Key: Before importing, make sure you have an API key from TinyURL. You can typically get this by signing up for an account on their website. Import Workflow: In your n8n editor, click "Import from JSON" and paste the provided workflow JSON. Configure Webhook Path: Double-click the Receive Link Webhook node. In the 'Path' field, set a unique and descriptive path (e.g., /shorten-link). Activate Workflow: Save and activate the workflow. --- π Tips Dynamic Inputs: The workflow is set up to dynamically use the url, api_key, alias, and description from the incoming webhook data. This makes it highly flexible. Error Handling: You can add an Error Trigger node to catch any issues (e.g., invalid API key, malformed URL) during the TinyURL creation process. Configure it to send notifications or log errors for easy troubleshooting. Post-Shortening Actions: After generating the shortened URL, you can insert additional nodes before the Respond with Shortened URL node to perform other actions. For example, you could: Save to a Database: Store the original and shortened URLs in a database like Airtable, Google Sheets, or a PostgreSQL database. Send a Message: Automatically send the shortened URL via Slack, Discord, email, or SMS. Update a Record: Update a CRM record or project management task with the new shortened link. Custom Domains: If you have a custom domain configured with your TinyURL account, you can change the domain parameter in the Create TinyURL node to use it.
Monitor construction stock & send low inventory alerts with Google Sheets
Description Automates stock maintenance for real estate (e.g., construction materials, office supplies). Monitors stock levels, processes additions/deductions, and sends low-stock alerts via email. Uses Google Sheets for data storage and n8n for workflow automation. Essential Information Daily workflow to check and update stock levels. Stores data in a Google Sheet for easy access and analysis. Sends email notifications for low-stock items based on predefined thresholds. Supports dynamic stock updates via API or form input (configurable). System Architecture Stock Monitoring Pipeline: Daily Stock Check: Triggers daily to initiate stock monitoring. Fetch Stock Data: Retrieves current stock levels from Google Sheet. Update Stock Levels: Processes stock additions or deductions. Alert Generation Flow: Check Low Stock: Identifies items below threshold. Send Email Alert: Notifies stakeholders of low-stock items. Data Management: Update Google Sheet: Saves updated stock levels and timestamps. Implementation Guide Import the workflow JSON into n8n. Configure Google Sheets credentials and specify sheet ID. Set up SMTP credentials for email alerts. Test stock update and low-stock alert processes. Monitor email delivery and adjust thresholds as needed. Technical Dependencies Google Sheets API for stock data storage and retrieval. SMTP service for sending low-stock email alerts. n8n for workflow automation and orchestration. Optional: Web form or API for dynamic stock updates. Database & Sheet Structure Stock Inventory Sheet (StockInventory): Columns: item, quantity, threshold, last_updated, unit Example: Cement, 100, 20, 2025-07-29T08:00:00Z, Bags Customization Possibilities Modify Update Stock Levels node to integrate with a form or API for real-time updates. Adjust Check Low Stock node to set custom thresholds per item. Customize email alert format in Send Email Alert node. Add error-handling nodes for invalid stock updates. Integrate with a dashboard tool for visual stock monitoring.
Auto-comment on Instagram posts with GPT-4o, Phantombuster, and SharePoint
Whoβs it for Social-media teams and influencers who want to grow engagement by automatically posting short, relevant comments on new Instagram posts under rotating hashtagsβwhile staying under platform limits. How it works / What it does Schedule Trigger fires every 2 h at a specified minute. Select Cookie chooses a rotating Instagram session-cookie by time slice. Generate Random Hashtag (GPT-4o) outputs a realistic AI/BPA tag. Hashtag Agent (Phantombuster) scrapes up to ENVMAXPOSTSPERHASHTAG recent posts. Get Random Post picks one; Create Comment (GPT-4o) crafts a β€150-character reply in the chosen language. Builds instagrampostto_comment.csv, uploads to SharePoint, then launches the Auto-comment Agent which posts the reply. Post URL is logged to instagrampostsalready_commented.csv to avoid duplicates. Wait nodes throttle launches to β80 comments/day. How to set up Add credentials: Phantombuster API, SharePoint OAuth2, OpenAI API key. In SharePoint βΊ βPhantombusterβ folder create: β’ instagramsessioncookies.txt β one cookie per line. β’ instagrampostsalready_commented.csv with header postUrl. Edit Set ENV Variables to set default language, prompt, and max posts per scrape. Activate the workflow; it will comment every 2 h. Requirements n8n 1.33 + Phantombuster Growth plan (API access) OpenAI account (GPT-4o) Microsoft 365 SharePoint tenant How to customize Change tone/length: tweak prompt in Create Comment. Comment more often: raise ENVMAXPOSTSPERHASHTAG, adjust cron, and agent limits. Swap SharePoint for Drive/Dropbox by replacing storage nodes.
Automate client project onboarding with Google Drive, Gmail, and Slack notifications
βοΈ How it works Workflow starts from a manual trigger or form submission with project details. It extracts key input data like client name, email, project type, deadline, and brand folder (optional). A Google Drive folder is automatically created inside a designated parent folder. The shareable link of the newly created folder is generated. A personalized email is composed and sent to the client using Gmail, including project details and folder link. π οΈ Set up steps Google Drive Setup: Connect your Google Drive credentials in n8n. Set the parent folder ID where all project folders should be created. Gmail Setup: Connect a Gmail account with proper access. Customize the subject and message template in the Gmail node. Input Data Preparation: Ensure the following input fields are provided: client_name contact_email project_type deadline branddrivefolder (optional) Test & Deploy: Use mock data or a test trigger to validate the workflow. Once confirmed, deploy it with the actual trigger (e.g. webhook, form submission).