by Matthew
Instagram Hashtag Lead Generation Automate the process of finding and qualifying Instagram leads based on hashtags. This workflow reads hashtags from Google Sheets, scrapes Instagram for posts using Apify, analyzes caption content and language, compiles unique usernames, gathers detailed user info, and filters leads based on follower count. How It Works Fetch Hashtags The workflow starts and pulls a list of hashtags from a Google Sheet. Scrape Instagram Posts For each hashtag, it builds Instagram explore URLs and scrapes posts using Apify. Analyze Captions Each caption is cleaned, hashtags and links are removed, and language/content is analyzed (English/French/Spanish). Extract & Filter Usernames Usernames are combined and deduplicated, their Instagram profiles scraped for follower counts and other details. Qualified Leads Only users with followers in your target range are kept as qualified leads for outreach or analysis. Requirements An n8n instance. Apify API key. Google account with a Sheet containing hashtags. Apify Instagram Scraper actor access. The Google Sheet should have a column with hashtags. Setup Instructions Add Credentials In n8n, add your Apify API key and Google Sheets credentials. Configure Google Sheets Nodes Choose your credentials, spreadsheet, and sheet name in the โGet list of Hashtagsโ node. Configure Apify Request Nodes Enter your Apify API key and select the Instagram scraper actors. Adjust Filtering Edit the min/max follower count in the relevant filter node to match your needs. Test & Run Manually execute the workflow or add a trigger to run on a schedule. Customization Options ๐ก Trigger:** Add a schedule or webhook to automate execution. Language Filtering:** Modify keyword lists or add language detection logic. Lead Output:** Extend the workflow to save leads to a CRM or send notifications. Details Nodes used in workflow: Manual Trigger Google Sheets Code HTTP Request (Apify) IF (Conditional) Aggregate Remove Duplicates Sticky Note
by Rahul Shah
Who is this for? Practitioners of Vedic astrology, manifestation enthusiasts, spiritual seekers, and anyone who wants to align daily intentions with classical planetary timings. If you follow the ancient science of Muhurta โ the art of acting in harmony with time โ this workflow delivers today's favourable Hora windows directly to your Telegram, three times a day, so you never miss a sacred hour. What problem does this solve? In the Vedic tradition, each day is divided into 24 planetary hours called Horas, each governed by a specific planet. Acting during the right Hora is considered a quiet multiplier of intention. The challenge? Manually checking panchang tables every morning is tedious, and most people forget to look until the moment has passed. This workflow removes that friction entirely โ it silently fetches today's Hora schedule from a trusted panchang source, filters for Sun (Surya) Horas, and sends you gentle reminders on Telegram so you can pause, visualize, affirm, or take inspired action during those auspicious windows. How it works A schedule trigger fires three times daily at 8 AM, 2 PM, and 5 PM (IST) The workflow fetches today's Hora timings from drikpanchang.com via an HTTP request A JavaScript code node parses the HTML and extracts all 24 Horas, grouping them by ruling planet (Sun, Moon, Mars, Mercury, Jupiter, Venus, Saturn) with Sanskrit names and natures The workflow isolates the Sun (Surya) Hora timings โ typically 3 to 4 slots per day A beautifully formatted Telegram message with emojis, timings, and planetary nature is delivered to your chat You see the notification, note today's Sun Hora windows, and use those 60-minute slots for your intention-setting practice Setup steps Setup takes around 10 minutes. You will need: A Telegram bot (free โ created via @BotFather) Your numeric Telegram chat ID (captured via @userinfobot) Complete step-by-step setup instructions, city customization guide, and tips for tracking different planets (Moon, Jupiter, Venus, etc.) are included as sticky notes inside the workflow canvas. Import the workflow, read the yellow setup sticky note, and follow along โ every step is documented. Customization ideas Change city:** Visit drikpanchang.com/muhurat/hora.html, pick your city, copy the geoname-id from the URL, and paste it into the HTTP Request node. The workflow works globally โ not just for India. Change timezone:** Update the workflow settings from Asia/Kolkata to your own timezone for accurate schedule triggering. Track different planets:** The parser extracts all 7 classical planets. Swap planets.Sun to planets.Moon for emotional flow, planets.Jupiter for wisdom and wealth, planets.Venus for relationships, or planets.Mars for courageous action. Each planet governs different domains of life. Adjust reminder times:** Edit the Schedule Trigger to fire at times that suit your routine โ morning meditation, midday reset, evening reflection. Extend to multiple planets:** Duplicate the Telegram branch to send separate notifications for Sun Hora, Moon Hora, and Jupiter Hora โ perfect for serious practitioners. Background on Hora Muhurta The word Hora is the root from which the English "hour" is believed to derive. In classical Vedic astrology, each Hora carries the qualitative energy of its ruling planet โ Sun Horas amplify leadership and vitality, Moon Horas favour creativity and emotion, Jupiter Horas bless wisdom and wealth, and so on. Seekers across centuries have used these windows to time important actions โ signing documents, beginning journeys, setting intentions, or simply sitting in focused meditation. This workflow makes that ancient practice effortlessly accessible in daily modern life.
by Rahul Joshi
Description: Keep your customer knowledge base up to date with this n8n automation template. The workflow connects Zendesk with Google Sheets, automatically fetching tickets tagged as โhowto,โ enriching them with requester details, and saving them into a structured spreadsheet. This ensures your internal or public knowledge base reflects the latest customer how-to queriesโwithout manual copy-pasting. Perfect for customer support teams, SaaS companies, and service providers who want to streamline documentation workflows. What This Template Does (Step-by-Step) โก Manual Trigger or Scheduling Run the workflow manually for testing/troubleshooting, or configure a schedule trigger for daily/weekly updates. ๐ฅ Fetch All Zendesk Tickets Connects to your Zendesk account and retrieves all available tickets. ๐ Filter for "howto" Tickets Only Processes only tickets that contain the โhowtoโ tag, ensuring relevance. ๐ค Enrich User Data Fetches requester details (name, email, profile info) to provide context. ๐ Update Google Sheets Knowledge Base Saves ticket dataโincluding Ticket No., Description, Status, Tag, Owner Name, and Email. โ๏ธ Smart update prevents duplicates by matching on description. ๐ Continuous Sync Each new or updated โhowtoโ ticket is synced automatically into your knowledge base sheet. Key Features ๐ Tag-based filtering for precise categorization ๐ Smart append-or-update logic in Google Sheets โก Zendesk + Google Sheets integration with OAuth2 โป๏ธ Keeps knowledge base fresh without manual effort ๐ Secure API credential handling Use Cases ๐ Maintain a live โhow-toโ guide from real customer queries ๐ Build self-service documentation for support teams ๐ฉ Monitor and track recurring help topics ๐ผ Equip knowledge managers with a ready-to-export dataset Required Integrations Zendesk API (for ticket fetch + user info) Google Sheets (for storing/updating records) Why Use This Template? โ Automates repetitive data entry โ Ensures knowledge base accuracy & freshness โ Reduces support team workload โ Easy to extend with more tags, filters, or sheet logic
by Diptamoy Barman
๐จ Anime Image Generator with LLM-Enhanced Prompts This workflow turns a short text idea into stunning, AI-generated anime-style images, all from Telegram. It combines a chat LLM for prompt enhancement with Gemini (free) or Leonardo.AI (paid) image models. ๐ What It Does Accepts a text prompt sent via Telegram. Uses an LLM (DeepSeek via OpenRouter) to expand and enrich the idea into several anime-ready prompts. Lets you choose the image engine: Gemini (90-day free trial with a GCP account). Leonardo.AI (paid, higher-fidelity anime rendering). Generates 4 images per query, converts them to files, and delivers the images back to your Telegram chat. โ๏ธ How It Works Telegram Trigger โ waits for a text message from you. Image-count Node โ stores your prompt & sets how many images to create (default: 4). Prompt Generator (LLM) โ transforms your simple prompt into multiple detailed, visually rich anime prompts. Split & Loop โ sends each refined prompt to the chosen image generator. Image Generator: Default: HTTP-Gemini node. Alternative: HTTP-Leonardo AI node (swap in for better quality). Convert to File & Send โ decodes the generated images and sends them back to you on Telegram. ๐ Setup Telegram Bot** Create a bot using BotFather. Add your Bot Token & your Telegram User ID to the workflow (look for โConfigure Me!โ sticky notes). LLM Provider** Default: DeepSeek via OpenRouter โ used to expand prompts. You can swap this with any other chat LLM you prefer. Image Engine** Default: Gemini (free trial, good baseline quality). Optional: Leonardo.AI for anime-focused, premium-quality images. Replace the HTTP-Gemini node with the HTTP-Leonardo AI node and set up your Leonardo API key as a Header Auth credential. Optional Adjustments** Change default number of images in the Image-count node. Tweak the LLM prompt template for different artistic styles (e.g., pastel slice-of-life, fantasy, action, cyberpunk). ๐ก Tips Start with short, plain prompts โ e.g., girl with umbrella in neon city street at night The LLM will enrich it automatically. If images look flat, try Leonardo.AI or adjust the prompt style and guidance scale. Avoid NSFW or copyrighted character prompts โ follow the providersโ usage policies. Keep your API keys private and never share them in screenshots. ๐ฅ Who Is This For Anime creators & hobbyists** who want to visualize characters or scenes quickly. Content creators & social posters** who want to share unique anime-style visuals. Anyone who wants easy AI image generation via Telegram, without needing to master prompt engineering. โจ Ready to go: Run the workflow, send a prompt to your Telegram bot, and watch it turn into beautiful anime images.
by Madame AI
Find cheap flight deals using AI, Telegram and BrowserAct This workflow transforms your Telegram bot into an intelligent travel agent. Ask for deals (e.g., "Flights from Berlin"), and it will scrape real-time prices from a flight aggregator, curate the best offers using AI, and deliver a formatted list directly to your chat. Target Audience Travel enthusiasts, digital nomads, and budget-conscious flyers looking for automated deal alerts. How it works Receive Request: You send a message to your Telegram bot (e.g., "Cheap flights from London"). Extract Location: An AI Agent parses your message to identify the departure city. If you don't specify one, it asks for clarification. Scrape Deals: BrowserAct executes a background task to search a flight aggregator (like Momondo or Skyscanner) for the best deals from your chosen city. Curate & Format: A second AI Agent processes the raw flight data. It sorts deals by price, groups them for readability, adds country flags, and formats the list into Telegram-friendly HTML. Deliver: The workflow splits the curated list into multiple messages (if necessary) and sends them to your Telegram chat. How to set up Configure Credentials: Connect your Telegram, BrowserAct, Google Gemini, and OpenRouter accounts in n8n. Prepare BrowserAct: Ensure the Low-Cost Travel Finder template is saved in your BrowserAct account. Configure Telegram: Ensure your bot is created via BotFather and the API token is added to the Telegram credentials. Activate: Turn on the workflow. Test: Send a message like "Flights from NYC" to your bot. Requirements BrowserAct* account with the *Low-Cost Travel Finder** template. Telegram** account (Bot Token). Google Gemini* & *OpenRouter** accounts. How to customize the workflow Filter by Destination: Add logic to the Generate response agent to only show flights to specific regions (e.g., "Only show Asia destinations"). Change Aggregator: Update the BrowserAct template to scrape Google Flights or Kayak instead of Momondo. Set Alerts: Add a Schedule Trigger to run this workflow automatically every morning for your home airport. Need Help? How to Find Your BrowserAct API Key & Workflow ID How to Connect n8n to BrowserAct How to Use & Customize BrowserAct Templates Workflow Guidance and Showcase Video Build a Low-Cost Flight Finder with n8n & AI (Telegram Bot Tutorial)
by Gtaras
Whoโs it for This workflow is perfect for individuals who want a simple expense tracker without needing a full app. If you already use Telegram daily, this makes it effortless to log purchases, track spending, and stay accountable to your budget. How it works / What it does Send an expense in Telegram using the format /spent 5 lunch. n8n parses the message and appends the entry to Google Sheets. Every Sunday at 11:00, the workflow sends a weekly expense summary to Telegram. If you exceed your weekly budget (default โฌ100), youโll instantly get a budget warning alert. Optionally, the sheet can be cleared weekly to start fresh. How to set up Create a Telegram bot with BotFather, copy the token, and get your Chat ID via getUpdates. Make a copy of the provided Google Sheets template and connect your Google credentials in n8n. Replace <YOUR_CHAT_ID> and <YOUR_SHEET_ID> placeholders in the workflow. Adjust the budget threshold in the โCheck Weekly Budgetโ node if needed. Activate the workflow and test with a sample expense. Requirements A Telegram bot (free, via BotFather). Google Sheets with n8n OAuth2 credentials. An n8n instance (self-hosted or cloud). How to customize the workflow Change the budget threshold in the Code node. Update the summary schedule in the Schedule Trigger node. Expand the Google Sheet with more categories or details. Personalize the Telegram messages to fit your style.
by Daniel
Transform your Telegram bot into a secure content analyzer: send any URL, and get safe, structured Q&A extractions with AI-powered safety checks and web search capabilities. ๐ What This Template Does This workflow activates when a user sends a valid URL to your Telegram bot. It extracts questions and answers from the webpage using Airtop, applies NSFW and PII guardrails to ensure safe content, then uses an OpenRouter AI agent (with optional Tavily search) to generate and send a concise response. If guardrails fail, it alerts the user instead. Filters for valid URLs only to prevent unnecessary processing Extracts structured Q&A from documents or forms Enforces safety checks for harmful or private content Supports web searches for enhanced responses when needed ๐ง Prerequisites A Telegram bot created via @BotFather Accounts with Airtop, OpenRouter, and Tavily ๐ Required Credentials Telegram API Setup Open Telegram โ Search @BotFather โ Use /newbot command Follow prompts to create bot and obtain API token Add to n8n as Telegram API credential type Airtop API Setup Visit https://airtop.ai โ Sign up or log in โ Navigate to Dashboard โ API Keys Generate a new API key with extraction permissions Add to n8n as Airtop API credential type OpenRouter API Setup Go to https://openrouter.ai โ Sign up or log in โ Navigate to API Keys section Generate and copy your API key (free tier sufficient for basic use) Add to n8n as OpenRouter API credential type Tavily API Setup Visit https://app.tavily.com โ Sign up or log in โ Go to API Keys Generate and copy your API key Add to n8n as Tavily API credential type โ๏ธ Configuration Steps Import the workflow JSON into n8n Assign your Telegram, Airtop, OpenRouter, and Tavily credentials to the respective nodes Activate the workflow to register the Telegram trigger Test by sending a plain URL (no extra text) to your bot in Telegram Monitor the first execution and adjust guardrail thresholds if needed ๐ฏ Use Cases Researchers summarizing academic papers or reports while ensuring no sensitive data leaks Support teams extracting info from customer-submitted docs/forms with automatic safety filtering Content creators pulling Q&A from articles for bots, blocking inappropriate responses Educators analyzing educational resources safely for student-facing chat tools โ ๏ธ Troubleshooting No response from bot: Verify the message contains only a valid URL; adjust regex in Filter Only URLs node if needed Guardrail failures: Lower NSFW threshold (e.g., from 0.7 to 0.5) or disable PII checks in Apply Safety Guardrails node Extraction errors: Test with public, text-heavy URLs; some JS-heavy sites may require alternative extractors Rate limits hit: Check OpenRouter/Tavily dashboards for usage; upgrade to paid tiers for heavy traffic
by M Sayed
๐ Telegram Google Trends Bot Workflow This workflow creates a powerful, multi-country Google Trends bot on Telegram. Users can request the top trending search queries for any country by simply sending its two-letter country code (e.g., EG, US, SA). The bot fetches the latest data, formats it into a clean report, and sends it back to the chat. โจ Key Features ๐ Dynamic Country Selection:** Get trends for any country on the fly by providing its geo code ๐ก Automated RSS Fetching:** Pulls the latest data directly from Google's official daily trends RSS feed ๐ Clean, Formatted Reports:** Uses a custom code node to generate a beautiful, Markdown-formatted message that is easy to read on mobile ๐ Rich Information:** Each trend includes: ๐ The search query title ๐ Approximate search traffic volume (e.g., "20K+ searches") ๐ฐ Links to the top 2 related news articles, complete with their sources ๐ Optimized for Arabic:** The report headers and labels are in Arabic, making it perfect for users in the MENA region, but can be easily adapted โ๏ธ How It Works ๐ฌ Telegram Trigger: A user sends a message containing a two-letter country code (e.g., EG) ๐ HTTP Request: The workflow uses this code as the geo parameter in a request to the trends.google.com/trending/rss endpoint ๐ XML Parser: The native XML node converts the raw RSS feed data into a structured JSON format ๐ป Code (Format Report): A JavaScript function processes the JSON data. It extracts the top 5 trends, formats the titles, traffic, and news items, and constructs the final Markdown text for the report ๐ค Send to Telegram: The final, formatted report is sent back to the user who requested it ๐ ๏ธ Setup ๐ Telegram Credentials: Add your Telegram API credentials to the Telegram Trigger and Send a text message nodes ๐ (Optional) Customize Language: The text and labels in the Code node can be easily translated to any language you prefer
by ศugui Dragoศ
How it works This workflow fetches articles from any RSS feed, processes them with an AI model (DeepSeek), and sends only the most relevant alerts directly to Slack. Normalizes and deduplicates RSS items Extracts article text and cleans HTML Summarizes and classifies with AI (sentiment + flags) Filters out irrelevant news Sends real-time alerts to your Slack channel Setup steps Add your Slack Bot Token (via Slack API) Add your DeepSeek API Key Import this workflow into n8n Deploy and start receiving smart news alerts in Slack Use case Perfect for tracking AI, startups, finance, and tech industry news without the noise.
by TAKUTO ISHIKAWA
Generate AI math RPG quests from study logs in Google Sheets Who it's for This template is for educators, parents, or self-learners who want to gamify their study routines. It turns boring study logs into an interactive RPG math battle using AI. How it works This system consists of two workflows (Part 1: Quest Generation, Part 2: Quiz Battle). In this workflow, when a user submits their study time via an n8n Form, the system logs the data into Google Sheets, calculates total EXP, and retrieves the user's current level. Then, it uses a Basic LLM Chain to generate a math question tailored to that level, along with an RPG-style monster and flavor text. The generated quest is saved back to Google Sheets with a pending status, ready for the user to answer. How to set up Create a Google Sheet with three tabs: StudyLogs, Users, and Quests. Connect your Google Sheets credential and select your spreadsheet in all Google Sheets nodes. Connect your OpenAI or OpenRouter credential. Run the "Study Log Input Form" to generate your first monster! Requirements A Google account (for Google Sheets) An OpenAI or OpenRouter API key How to customize the workflow You can easily change the prompt in the "Generate RPG Quest" node to create language quizzes, history trivia, or any other subject instead of math!
by Cong Nguyen
๐ What this workflow does Every 3 hours, the workflow fetches 3 random English words, asks Gemini to generate a short Vietnamese vocabulary digest (word, Vietnamese meaning, and an example sentence), and sends it to a Telegram chat. Perfect for steady, low-effort vocab exposure in groups. ๐ค Who is this for English learners who want a gentle, automated learning cadence. Teachers/tutors who share daily vocab in Telegram groups. Community admins who want lightweight, useful content for members. Anyone who prefers bite-sized language learning on autopilot. โ Requirements Gemini API access (configured in n8n). Telegram Bot token + chat ID (the chat you want to receive messages). Internet access to Random Word API (no API key required). n8n instance with outbound HTTPS access. โ๏ธ How to set up Add your Gemini credentials in n8n (the Google Gemini/PaLM node). Add your Telegram credentials and set the chatId in the โSend a text messageโ node. (Optional) Adjust the schedule interval (default: every 3 hours). (Optional) Change the number of words by updating the HTTP Request URL param words=3. (Optional) Edit the Gemini prompt language/content to fit your style (currently Vietnamese output). Run once to test; confirm the message arrives in Telegram. ๐ How it works Schedule Trigger โ runs every 3 hours. HTTP Request โ calls random-word-api to get 3 words. Edit Fields (Set) โ wraps the API response under word. Aggregate โ prepares the word field for the LLM. Message a model (Gemini) โ creates a Vietnamese digest: English word, Vietnamese meaning, and example sentence for each word. Send a text message (Telegram) โ posts the digest to your specified chat. ๐ก About Margin AI Margin AI is an AI-services agency that acts as your AI Service Companion. We design intelligent, human-centric automation solutionsโturning your teamโs best practices into scalable, automated workflows and tools. Industries like marketing, sales, and operations benefit from our tailored AI consulting, automation tools, chatbot development, and more.
by Poghos Adamyan
Overview Automatically scrapes Google My Business listings using Apify's Google Maps Scraper, filters results to businesses with 1-star reviews, and exports structured lead data into a dedicated Google Sheet tab per run. Ideal for agencies and freelancers identifying local businesses with poor online reputations โ potential leads for reputation management or review response services. How it works Fill in the built-in form with a business type (e.g. "plumber") and location (e.g. "Miami, FL") The workflow launches the Apify Google Maps Scraper actor and polls every 10 seconds until the run completes Results are filtered โ only businesses with at least one 1-star review continue A new tab is created in your Google Sheet named {query}-{timestamp} and all matching leads are appended with full contact and review data What you get per lead Business Name and GMB profile URL City / Address Primary and alternative phone number Business email (if available) Negative review URL (lowest-ranked review link) Negative review URL with image attached Total 1-star review count Set up steps Apify credential โ Create a free account at apify.com, generate an API token, and add it as an HTTP Header Auth credential in n8n named Apify Token (header name: Authorization, value: Bearer YOUR_TOKEN) Google Sheets credential โ Connect a Google Sheets OAuth2 account in n8n Sheet ID โ Open the Build Search Query node and replace YOUR_GOOGLE_SHEET_ID_HERE with your Google Sheet ID (found in the sheet URL: docs.google.com/spreadsheets/d/{SHEET_ID}/edit) Activate the workflow โ your unique form URL will appear in the Form Trigger node Requirements Apify account (free tier includes ~$5 monthly usage credits โ enough for dozens of searches) Google account with Google Sheets access