10 templates found
Category:
Author:
Sort:

Loop over items — beginner example

This workflow introduces beginners to one of the most fundamental concepts in n8n: looping over items. Using a simple use case—generating LinkedIn captions for content ideas—it demonstrates how to split a dataset into individual items, process them with AI, and collect the output for review or export. --- ✅ Key Features 🧪 Create Dummy Data: Simulate a small dataset of content ideas. 🔁 Loop Over Items: Process each row independently using the SplitInBatches node. 🧠 AI Caption Creation: Automatically generate LinkedIn captions using OpenAI. 🧰 Tool Integration: Enhance AI output with creativity-injection tools. 🧾 Final Output Set: Collect the original idea and generated caption. --- 🧰 What You’ll Need ✅ An OpenAI API key ✅ The LangChain nodes enabled in your n8n instance ✅ Basic knowledge of how to trigger and run workflows in n8n --- 🔧 Step-by-Step Setup 1️⃣ Run Workflow Node: Manual Trigger (Run Workflow) Purpose: Manually start the workflow for testing or learning. --- 2️⃣ Create Random Data Node: Create Random Data (Code) What it does: Simulates incoming data with multiple content ideas. Code: js return [ { json: { row_number: 2, id: 1, Date: '2025-07-30', idea: 'n8n rises to the top', caption: '', complete: '' } }, { json: { row_number: 3, id: 2, Date: '2025-07-31', idea: 'n8n nodes', caption: '', complete: '' } }, { json: { row_number: 4, id: 3, Date: '2025-08-01', idea: 'n8n use cases for marketing', caption: '', complete: '' } } ]; --- 3️⃣ Loop Over Items Node: Loop Over Items (SplitInBatches) Purpose: Sends one record at a time to the next node. Why It Matters: Loops in n8n are created using this node when you want to iterate over multiple items. --- 4️⃣ Create Captions with AI Node: Create Captions (LangChain Agent) Prompt: text idea: {{ $json.idea }} System Message: text You are a helpful assistant creating captions for a LinkedIn post. Please create a LinkedIn caption for the idea. Model: GPT-4o Mini or GPT-3.5 Credentials Required: OpenAI Credential Go to: OpenAI API Keys Create a key and add it in n8n under credentials as “OpenAi account” --- 5️⃣ Inject Creativity (Optional) Node: Tool: Inject Creativity (LangChain Tool) Purpose: Demonstrates optional LangChain tools that can enhance or manipulate input/output. Why It’s Cool: A great way to show chaining tools to AI agents. --- 6️⃣ Output Table Node: Output Table (Set) Purpose: Combines original ideas and generated captions into final structure. Fields: idea: ={{ $('Create Random Data').item.json.idea }} output: ={{ $json.output }} --- 💡 Educational Value This workflow demonstrates: Creating dynamic inputs with the Code node Using SplitInBatches to simulate looping Sending dynamic prompts to an AI model Using Set to structure the output data Beginners will understand how item-level processing works in n8n and how powerful looping combined with AI can be. --- 📬 Need Help or Want to Customize This? Robert Breen Automation Consultant | AI Workflow Designer | n8n Expert 📧 robert@ynteractive.com 🌐 ynteractive.com 🔗 LinkedIn --- 🏷️ Tags n8n loops OpenAI LangChain workflow training beginner LinkedIn automation caption generator

Robert BreenBy Robert Breen
4048

Extract pay slip data with Line Chatbot and Gemini to Google Sheets

Workflow Overview: Extract text from image using AI is worth because you need no code. It incorporates Google Gemini 2.0 Flash model for important text extraction from image. If you code without AI, you have to use multiple condition and may cause a lot of bug but with Google Gemini, you don't need any coding and if the Pay Slip is different, Gemini will extract it automatically. Workflow description: User uses Line Messaging API to send Pay Slip image or message to the chatbot, create Line Business ID from here: Line Business Classify the message which is image or text If the message is Pay Slip image, it will process using Gemini 2.0 Flash EXP and extract important information and response in JSON format without coding by using the following prompt: Analyze image and then return in JSON Response that has the only following value: Status, From, To, Date, Amount To get Google AI Studio API Key, you can find from the following link: Google AI Studio API Key Create Google Sheets which include the fileds (Status, From, To, Date, Amount) that we have created related to the AI prompt Google Sheets as the following example: If the message is text, it will process using Gemini 2.0 Flash EXP model as the AI Assistant else if the message is image, it will extract the important fields then reply to the User and insert into Google Sheets Key Features: Extract text from image with No Code Without N8N, we have to write code to extract text from image, but with N8N and Google Gemini 2.0 Flash EXP together, we don't need to code and it will process all slip vendors or other document vendors. Multipurpose Chatbot this chatbot accept both text and image so we don't have to create many chatbot accounts Reduce human error this workflow let any officer to verify document status when the job ends Note: You can change the information by changing your prompt and also Google Sheets Column names relatively.

Sirisak ChantanateBy Sirisak Chantanate
3200

Automated TikTok video downloader bot (no watermark) using n8n and Telegram

Description This workflow is an n8n-based automation that allows users to download TikTok/Reels videos without watermarks simply by sending the video link through a Telegram Bot. It uses a Telegram Trigger to receive the link from the user, then makes an HTTP request to a third-party API (tiktokio.com) to process and retrieve the download link. The workflow filters the results to find the Download without watermark link, downloads the video in MP4 format, and sends it back to the user directly in their Telegram chat. Key features: Supports the best available video quality (bestvideo+bestaudio). Automatically removes watermarks. Instant response directly in Telegram chat. Fully automated — no manual downloads required. How It Works Telegram Trigger The user sends a TikTok or Reels link to the Telegram bot. The workflow captures and stores the link for processing. HTTP Request – MediaDL API The link is sent via POST method to https://mediadl.app/api/download. The API processes the link and returns video file data. Wait Delay The workflow waits a few seconds to ensure the API response is fully ready. Edit Fields Extracts the video file URL from the API response. Additional Wait Delay Adds a short pause to avoid connection errors during the download process. HTTP Request – Proxy Download Downloads the MP4 video file directly from the filtered URL. Send Video via Telegram The downloaded video is sent back to the user in their Telegram chat. How to Set Up Create & Configure a Telegram Bot Open Telegram and search for BotFather. Send /newbot → choose a name & username for your bot. Copy the Bot Token provided — you’ll need it in n8n. Prepare Your n8n Environment Log in to your n8n instance (self-hosted or n8n Cloud). Go to Credentials → create new Telegram API credentials using your Bot Token. Import the Workflow In n8n, click Import and select the PROJECTDOWNLOADTIKTOK_REELS.json file. Configure the Telegram Nodes In the Telegram Trigger and Send Video nodes, connect your Telegram API credentials. Configure the HTTP Request Nodes Ensure the Download2 and HTTP Request nodes have the correct URL and headers (pre-configured for mediadl.app). Make sure the responseFormat is set to file in the final download node. Activate the Workflow Toggle Activate in the top right corner of n8n. Test by sending a TikTok or Reels link to your bot — you should receive the no-watermark video in return.

GarriBy Garri
2508

Crypto RSI alert system with EODHD, Telegram and TradingView charts

How it works Runs on a schedule and iterates a watchlist of symbols (e.g., BTC/ETH/SOL). For each symbol, request intraday 1h OHLCV from EODHD. A Code node computes Wilder’s RSI(14) and detects 30/70 crossings. When a signal appears, the bot sends a Telegram alert (HTML message) with price, RSI (prev → now), timestamp, and a “View chart” button that opens the pair on TradingView (BINANCE/USD). Set up steps (≈10–15 min) Prereqs: n8n (cloud or self-hosted), EODHD API key, Telegram bot + your chat_id. Env vars: set EODHDTOKEN and TELEGRAMCHAT_ID on your n8n instance. Credentials: add your Telegram credential (bot token). Import the workflow JSON. Edit Fields node: adjust the symbol array to your watchlist. Schedule Trigger: choose how often to run (e.g., every 5–10 min). Test: temporarily flip the Code node’s FORCE_ALERT flag to true to verify Telegram delivery, then set it back to false. EODHD API Access the EODHD API with a 10% discount

Kevin Meneses By Kevin Meneses
1232

Track n8n community topics with keywords and save to Google Sheets

This template is designed for community managers, developers, and enthusiasts who want to monitor and capture discussions on the n8n community forum by specific keywords. By tracking new topics that match your provided keyword, the workflow automatically logs them into a Google Sheet, helping you keep a pulse on trending discussions and manage community insights effortlessly. How it Works Keyword Monitoring: The workflow continuously monitors the n8n community forum for new topics containing your specified keyword. Data Extraction: When a matching topic is found, relevant details such as id, title, URL, and posting time are extracted. Google Sheets Integration: The extracted information is automatically appended as a new row in your Google Sheet, providing an organized log of community discussions. Alert Option: Optionally, you can add notifications (e.g., Slack messages or emails) to alert you when a new topic is captured, ensuring you never miss an important update. Set Up Steps Import the Workflow: Download and import the workflow into your n8n instance. Configure Keyword Monitoring: In the HTTP Request node, set your desired keyword to filter the n8n community topics. Set Up Google Sheets: Connect your Google Sheets account and specify the target sheet where the new topics should be logged. Customize Data Fields: Adjust the data extraction node parameters if you wish to capture additional details from each topic. Deploy and Test: Deploy the workflow and perform a test run to confirm that new topics matching the keyword are correctly added to your Google Sheet. Set Up Messaging Channels (Optional): Connect to Slack, Email or other providers to get instant messages when new topics are added into your Google Sheet. This template streamlines the process of tracking community discussions, ensuring you have timely and organized insights to enhance your community engagement and strategic decision-making. Enjoy seamless monitoring and easy data management with this ready-to-use n8n workflow template!

HostingerBy Hostinger
884

Generate language learning flashcards with GPT-4, Telegram and Google Sheets for Anki

How it works Use Telegram to send in new phrases (flashcard front) You can also manually input phrase in the workflow itself ChatGPT generates provided phrase description (in English but you can change it) including multiple meanings & generates examples of using the phrase in a sample sentence (flashcard back) Steps to setup Provide your Telegram bot API key (optional) Provide your OpenAI key Provide Google Sheets credentials How to import flashcards from Google Sheets into Anki Use Google Sheets to Anki add-on: 1871608121 In Anki simply click Sync Decks and you're done :) Enjoy

TomekBy Tomek
713

Build document Q&A API with PDF vector and webhooks

Overview Organizations struggle to make their document repositories searchable and accessible. Users waste time searching through lengthy PDFs, manuals, and documentation to find specific answers. This workflow creates a powerful API service that instantly answers questions about any document or image, perfect for building customer support chatbots, internal knowledge bases, or interactive documentation systems. What You Can Do This workflow creates a RESTful webhook API that accepts questions about documents and returns intelligent, contextual answers. It processes various document formats including PDFs, Word documents, text files, and images using OCR when needed. The system maintains conversation context through session management, caches responses for performance, provides source references with page numbers, handles multiple concurrent requests, and integrates seamlessly with chatbots, support systems, or custom applications. Who It's For Perfect for developer teams building conversational interfaces, customer support departments creating self-service solutions, technical writers making documentation interactive, organizations with extensive knowledge bases, and SaaS companies wanting to add document Q&A features. Ideal for anyone who needs to make large document repositories instantly searchable through natural language queries. The Problem It Solves Traditional document search returns entire pages or sections, forcing users to read through irrelevant content to find answers. Support teams repeatedly answer the same questions that are already documented. This template creates an intelligent Q&A system that provides precise, contextual answers to specific questions, reducing support tickets by up to 60% and improving user satisfaction. Setup Instructions Install the PDF Vector community node from n8n marketplace Configure your PDF Vector API key Set up the webhook URL for your API endpoint Configure Redis or database for session management Set response caching parameters Test the API with sample documents and questions Key Features RESTful API Interface: Easy integration with any application Multi-Format Support: Handle PDFs, Word docs, text files, and images OCR Processing: Extract text from scanned documents and screenshots Contextual Answers: Provide relevant responses with source citations Session Management: Enable conversational follow-up questions Response Caching: Improve performance for frequently asked questions Analytics Tracking: Monitor usage patterns and popular queries Error Handling: Graceful fallbacks for unsupported documents API Usage Example bash POST https://your-n8n-instance.com/webhook/doc-qa Content-Type: application/json { "documentUrl": "https://example.com/user-manual.pdf", "question": "How do I reset my password?", "sessionId": "user-123", "includePageNumbers": true } Customization Options Add authentication and rate limiting for production use, implement multi-document search across entire repositories, create specialized prompts for technical documentation or legal documents, add automatic language detection and translation, build conversation history tracking for better context, integrate with Zendesk, Intercom, or other support systems, and enable direct file upload support for local documents. Note: This workflow uses the PDF Vector community node. Make sure to install it from the n8n community nodes collection before using this template.

PDF VectorBy PDF Vector
385

Qualify TikTok influencers from username with Dumpling AI + GPT-4

Who’s it for This workflow is for marketers, influencer agencies, or outreach teams who want to quickly check if a TikTok user meets certain criteria before adding them to an influencer list. No manual profile checking—just drop in a username, and the system does the rest. --- What it does This workflow takes a TikTok username submitted via form, fetches the user’s profile using Dumpling AI, then evaluates the user using GPT-4 to decide if they qualify for influencer outreach based on predefined rules: 40+ videos 100,000+ followers 300,000+ total likes It then checks Google Sheets: If the user does not exist, it adds a new row If the user already exists, it updates the row --- How it works Form Trigger: Collects TikTok username Dumpling AI: Pulls TikTok profile (username, ID, followers, videos, likes, etc.) GPT-4: Checks if the user meets outreach criteria Google Sheets: Checks if user already exists Updates or appends user data + qualification status --- Requirements ✅ Dumpling AI API key (HTTP Header Auth) ✅ OpenAI API key (GPT-4) ✅ Google Sheets integration with the following columns: Tik Tok user User ID Follower Count Following Count Heart Count Video Count Qualified? --- How to customize Change the qualification logic in the GPT-4 prompt Add additional TikTok data (bio, profile pic, location, etc.) Send a notification if the user is qualified Push the qualified leads to Airtable, Notion, or your CRM --- > This workflow gives you a plug-and-play tool to qualify TikTok influencers instantly using AI—without leaving your browser or spreadsheet.

YangBy Yang
142

Validate and create LEDGERS contacts from Google Sheets with error handling

Before Using this Template first search LEDGERS in the nodes list and Update! The workflow automates contact creation in LEDGERS from a Google Sheets document, while performing validation checks on contact data to ensure data quality. Key Features: ✅ Google Sheets Trigger – Polls the sheet every minute to detect new or updated rows. ✅ Contact Name Validation – Checks if the contact name is provided; sends an email notification if missing. ✅ Email & Mobile Validation – Uses custom code to validate the format of email and mobile fields. ✅ Dynamic Routing – If both email and mobile are valid → proceeds to create the contact in LEDGERS. If either is invalid → sends an error notification via Gmail. ✅ Mobile Number Formatter – Extracts country code and mobile number for consistent formatting before creating the contact. ✅ LEDGERS API Integration – Creates the contact using the LEDGERS custom node. ✅ Error Handling – If contact creation fails (e.g., duplicate email), sends a failure email with details. ✅ Audit Trail – Appends results (including timestamps) back to Google Sheets for record-keeping. Extended Field Support This workflow is designed to be flexible. 👉 Along with core fields (Name, Email, Mobile), users can optionally map and include additional fields when creating a contact in LEDGERS, such as: Mobile Country Code GSTIN Business Name Billing Address 1 Billing Address 2 City State Country ➡ The workflow’s LEDGERS node can be configured to map these fields dynamically from Google Sheets if desired. Customization ✅ Users can extend or modify the workflow to handle these additional fields without needing structural changes — just by updating the mapping in the LEDGERS node parameters. Requirements: A connected Google Sheets document with at least Name column Configured Gmail credentials for sending email notifications A LEDGERS account with API access and credentials set up in n8n

LEDGERSBy LEDGERS
120

Daily hydration 💧 reminder with Slack/Discord & Airtable reaction tracking

💧 Daily Hydration Reminder with Slack/Discord & Airtable Reaction Tracking Automate wellness engagement in your community with a twice-daily hydration reminder sent to Slack or Discord, and automatically track member reactions in Airtable. This no-code workflow nurtures self-care culture while capturing engagement data—zero manual effort required. Perfect for coaches, community managers, and solopreneurs who want to foster mindful habits and recognize active members. --- 🛠️ Step-by-Step Setup Instructions Follow these steps to deploy the workflow in Make.com (compatible with n8n): Import the Workflow In Make.com or n8n, go to Scenarios > Import from File Upload the provided JSON template Set Up Scheduling Locate the Schedule Trigger node Confirm times are set to: 10:00 AM 3:00 PM Adjust timezone in Make/n8n settings to match your audience Configure GIF Library Open the "Pick Random GIF" node Replace placeholder URLs with your own: Hosted on Giphy, Imgur, or a public CDN Must end in .gif and allow hotlinking Example: text https://media.giphy.com/media/abc123/giphy.gif Connect Messaging Platform Choose Slack or Discord: For Slack: Go to Send to Slack node Replace {{SLACKWEBHOOKURL}} with your incoming webhook Ensure the channel allows bot messages For Discord: Go to Send to Discord node Replace {{DISCORDWEBHOOKURL}} with your server webhook Enable embed permissions > 🔗 Webhook Guide: > - Slack Webhooks > - Discord Webhooks Enable Reaction Polling (Slack) In Get Slack Reactions, add: {{SLACKBOTTOKEN}} with scopes: reactions:read channels:history {{SLACKCHANNELID}} (e.g., C012AB3CD) The workflow uses the message timestamp to fetch reactions after 24 hours > ⚠️ Discord note: Native reaction polling requires a Discord bot. This version supports Slack; Discord support can be extended using the Discord API. Set Up Airtable Logging In Log in Airtable node: Enter your Airtable Base ID Ensure table Hydration Reactions exists (see structure below) Map fields correctly (Date, Username, Reaction Count, etc.) Connect your Airtable API credential --- 🗃️ Airtable Base Structure This workflow logs every ✅ reaction into Airtable for long-term tracking. Base: Community Wellness Tracker Table: Hydration Reactions | Field | Type | Description | |------|------|-------------| | Date | Date | Date of the reminder (auto-filled) | | Time Slot | Single Select | 10:00 AM or 3:00 PM | | User ID | Text | Slack/Discord user ID | | Username | Text | Display name (e.g., @alex) | | Platform | Single Select | Slack or Discord | | Reaction Count | Number | Always 1 per reaction | | Message Timestamp | Text | Message ID for reference | | Processed | Checkbox | Marked false initially | > 🏆 Use a Grouped View in Airtable to create a monthly leaderboard: > - Group by Username > - Rollup: SUM(Reaction Count) --- 🔄 Workflow Explanation The automation runs a daily cycle with feedback tracking: Trigger: Fires at 10 AM and 3 PM via Schedule node GIF Selection: Randomly picks a calming hydration GIF Message Delivery: Sends formatted message to Slack or Discord Wait: Pauses for 24 hours to allow reactions Reaction Check: Uses Slack API to fetch ✅ reactions Filter: Only proceeds if at least one ✅ is found Log: Creates a record in Airtable for each reacting user 🔁 This creates a self-sustaining wellness loop—encouraging care and capturing engagement. --- 📦 Pre-Conditions & Requirements Before use, ensure: ✅ Make.com or n8n account (Free tier supported) ✅ Slack workspace with webhook and bot token or Discord server with webhook ✅ Airtable account with base and API key ✅ Publicly accessible GIF library ✅ Internet access and JSON parsing enabled > ❗ Permissions Required: > - Slack: reactions:read, channels:history > - Airtable: create, read access to table --- 🎨 Customization Guidance Extend the workflow to fit your needs: 🕒 Change Timing Edit the Schedule node to send at 9 AM and 1 PM, or only once daily. 🖼️ Add Seasonal GIFs Rotate GIFs by season (e.g., winter themes in December). 🧩 Track Multiple Emojis Add switches for 💧, 🫶, or ❤️ to measure different engagement types. 📈 Auto-Generate Monthly Reports Use Airtable Automations to: Email top 5 members Export CSV for reward fulfillment Post leaderboard in your community 🎁 Reward Integration Connect Shopify, Gmail, or Printful to auto-send stickers or discount codes. 🔕 Opt-Out Option Let users react with ❌ to be excluded from future tracking. Add a filter to skip users in a “Do Not Disturb” Airtable table. --- 🌐 Who It’s For Coaches & Facilitators running masterminds or accountability groups Etsy Sellers with private customer communities Remote Teams supporting wellness Wellness Creators promoting mindful habits Deploy once. Nurture your community forever. With Daily Hydration Reminder, consistency meets compassion—automatically. 💧💙

Shelly-Ann DavyBy Shelly-Ann Davy
35
All templates loaded