by Tenkay
This workflow performs basic XOR-based encryption and decryption using a custom password. It is intended to be triggered by another workflow and processes structured input in JSON format. Input Structure The workflow expects a single array of objects with the following fields: action-type: either "encrypt" or "decrypt" key: the password used for encryption and decryption data: the content to encrypt or decrypt Example: Encryption Input [ { "action-type": "encrypt", "key": "Password", "data": "Hello, this is a secret message" } ] Example: Decryption Input [ { "action-type": "decrypt", "key": "Password", "data": "ChwGAQceF15eE2QXFRcUagxGVgV8TBoNBA4VQVoQZkwVUhImU1FTEg==" } ] Output The output returns an array of results, each containing either the encrypted string (base64 format) or the decrypted plain text. Use Case This workflow is useful for simple internal message encoding, data obfuscation, or testing purposes. It is not recommended for securing sensitive or personal data, as XOR encryption is not cryptographically secure. The workflow logic is written in JavaScript using n8n Function nodes, without any external dependencies.
by Dataki
What is this workflow? This n8n template automates the process of adding an AI-generated summary at the top of your WordPress posts. It retrieves, processes, and updates your posts dynamically, ensuring efficiency and flexibility without relying on a heavy WordPress plugin. Example of AI Summary Section How It Works Triggers → Runs on a scheduled interval or via a webhook when a new post is published. Retrieves posts → Fetches content from WordPress and converts HTML to Markdown for AI processing. AI Summary Generation → Uses OpenAI to create a concise summary. Post Update → Inserts the summary at the top of the post while keeping the original excerpt intact. Data Logging & Notifications → Saves processed posts to Google Sheets and notifies a Slack channel. Why use this workflow? ✅ No need for a WordPress plugin → Keeps your site lightweight. ✅ Highly flexible → Easily connect with Google Sheets, Slack, or other services. ✅ Customizable → Adapt AI prompts, formatting, and integrations to your needs. ✅ Smart filtering → Ensures posts are not reprocessed unnecessarily. 💡 Check the detailed sticky notes for setup instructions and customization options!
by Dick
Send a simple JSON array via HTTP POST and get an Excel file. The default filename is Export.xlsx. By adding the (optional) request ?filename=xyz you can specify the filename. NOTE: do not forget to change the webhook path!
by Samir Saci
Tags: Supply Chain Management, Logistics, Transportation Context Hey! I'm Samir, a Supply Chain Engineer and Data Scientist from Paris founder of LogiGreen Consulting We design tools to help small and medium businesses in improving their logistics processes using data analytics and automation. > Let's use N8N to make supply chains more efficient and sustainable Supply Chains! 📬 For business inquiries, you can add me on Here Who is this template for? This workflow template is designed for logistics operations that cannot rely on a Transportation Management System to record proofs of deliveries. What is a delivery confirmation? This workflow uses a Telegram bot to automatically notify logistics teams by email when a shipment is delivered. Drivers (equipped with their smartphones) can record their arrival with all the necessary information for accurate distribution planning. How do we notify the delivery? Let us imagine a truck driver arriving at the destination; he can contact the bot to be guided on how to record the delivery. User Guide: the first bot's message is a brief explanation of the process Record Shipment Number: the bot asks the driver to share the shipment number and record it Collect GPS Location: the bot asks the driver to share its GPS location and record them Picture of the Shipment: the bot asks for a picture of the shipment and saves it in Google Drive Send Confirmation: after data collection, the bot proposes to send a confirmation to the logistics management team An email is then automatically sent by the N8N workflow including all the information recorded by the flow and a picture of the shipment. Prerequisite This workflow does not require any additional paying subscription. A Google Drive Account with a folder including a Google Sheet API Credentials: Google Drive API, Google Sheets API and Gmail API A Telegram Bot with its API token from BotFather A Google sheet to store the shipment records with these five columns prepared: shipmentNumber, recordTime, gpsLattitude, gpsLongitude, cargoPicture, deliveryTime Next Steps Follow the sticky notes to set up the parameters inside each node and get ready to improve your logistics operations! I have detailed the steps in a short tutorial 👇 🎥 Check My Tutorial 🚀 Interested in applications of N8N for Logistics & Supply Chain Management? Let's connect on Linkedin Notes This workflow can be adapted to add more functionalities. I explain how in the video. The bot can handle multiple drivers at the same time. If you want to learn more about the original tool designed with Python: 🚚 Blog Article about Telegram Shipment Tracking Bot This workflow has been created with N8N 1.82.1 Submitted: March 17th, 2025
by Harshil Agrawal
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.
by tanaypant
This is Workflow 1 in the blog tutorial Database activity monitoring and alerting. Prerequisites A Postgres database set up and credentials. Basic knowledge of JavaScript and SQL. Nodes Cron node starts the workflow every minute. Function node generates sensor data (sensor id (preset), a randomly generated value, timestamp, and notification (preset as false) ) Postgres node inserts the data into a Postgres database. You can create the database for this workflow with the following SQL statement: CREATE TABLE n8n (id SERIAL, sensor_id VARCHAR, value INT, time_stamp TIMESTAMP, notification BOOLEAN);
by Kamalraj
🧠 Overview A dual-engine, AI-driven n8n workflow that automates the monitoring of both vendor policy webpages and compliance-related RSS feeds. It intelligently detects recent updates, evaluates their potential risk, and delivers a structured HTML digest categorized by severity — right to your inbox. ⚙️ How It Works 1️⃣ Scheduled Execution ⏰ Runs daily at 3 AM to ensure timely and consistent monitoring. 2️⃣ Dual Data Streams 📰 RSS Feed Monitoring: Ingests articles from selected feeds focused on security, privacy, and compliance. 🌐 Vendor Webpage Monitoring: Fetches specified policy URLs and checks for updates using Last-Modified headers and in-page content analysis. 3️⃣ Content Filtering 🧹 Applies logic to filter out stale or irrelevant data, focusing only on updates within the past 24 hours. 4️⃣ AI-Powered Risk Categorization 🤖 Two dedicated AI agents (one per stream) analyze content to: 📝 Generate a 2-line compliance/risk-focused summary 🚦 Assign a risk score: High, Medium, Low, or Informational 5️⃣ Digest Generation 🖼️ Summaries are grouped by risk level and formatted into a visually polished HTML report, using category-specific styles and color coding. 6️⃣ Email Delivery 📧 Automatically sends out two separate email reports via Gmail: 🗂️ One for vendor webpage updates 📰 One for RSS feed-based vendor news ✨ Key Features 🔁 Automates daily monitoring across feeds and policy pages 🤖 AI-driven summarization and structured risk scoring 🧾 Clean, HTML-formatted digests grouped by risk category 🧩 Fully customizable: feed sources, vendor URLs, AI prompts, and email styling 🛡️ Designed for compliance, security, and risk teams needing proactive intelligence
by Brandon Crenshaw
Unlock adaptive, context-aware AI chat in your automations—no coding required! This template is a plug-and-play n8n workflow that transforms how your chatbots, support agents, and knowledge systems respond to users. Powered by Google Gemini and a Qdrant vector database, it automatically classifies every incoming query and applies a tailor-made strategy for Factual, Analytical, Opinion, or Contextual requests—delivering the right answer, every time. 🛠️ Key Features Automatic Query Classification: Seamlessly detects whether the user wants facts, a deep analysis, opinions, or context—then routes each input to the best answering strategy. Four Dynamic Retrieval Modes: 1) Factual: Delivers precise, accurate information 2) Analytical: Breaks down complex topics for deep dives 3) Opinion: Surfaces diverse viewpoints and perspectives 4) Contextual: Connects the dots using implied or user-specific context End-to-End RAG Pipeline: Uses Gemini to classify and answer, while Qdrant powers fast, smart knowledge retrieval. No-Code Visual Editing: Import into n8n, connect your LLM and vector database credentials, and you’re live—customize, extend, and scale with zero backend code. Reusable in Any Project: Perfect for customer support, research, onboarding bots, internal knowledgebases, or any adaptive AI chat interface. 🚀 How it Works 1) User submits a query (via chat or API) 2) Query is auto-classified as Factual, Analytical, Opinion, or Contextual 3) Adaptive retrieval strategy is triggered (each with its own prompt logic and memory buffer) 4) Smart knowledge search is performed using Gemini and Qdrant 5) Response is generated and sent back to the user—tailored to the query type! 🧩 What’s Included Full n8n workflow (.json) Step-by-step setup instructions Sample prompts and system messages for each strategy Lifetime updates (as the workflow evolves) 💡 Use Cases Chatbots that adapt to every user’s intent Internal/external FAQ and helpdesk automations AI research and summarization agents Product support and onboarding flows Any scenario where smarter, more relevant answers = better user experience Ready to build smarter automations? Import this template, connect your Gemini & Qdrant accounts, and let your AI agent adapt to every conversation.
by Harshil Agrawal
This workflow demonstrates the use of the HTTP Request node to upload binary files for form-data-multipart type. This example workflow updates the Twitter banner. HTTP Request node: This node fetches an image from Unsplash. Replace this node with any other node to fetch the image file. HTTP Request1 node: This node uploads the Twitter Profile Banner. The Twitter API requires OAuth 1.0 authentication. Follow the Twitter documentation to learn how to configure the authentication.
by Tom
This workflow provides a simple approach to counting the items returned by a node. It uses a Set node with the Execute Once option: The expression uses $input.all() (documented here) to fetch all incoming items at once, and .length (documented for example here) to count them.
by AiAgent
What It Does This powerful workflow can take hours of difficult research attempting to identify the perfect online tool to aid you with your business and condenses it into a few short seconds. Simply typing the name of an online tool you would like to identify into a chat message will initiate the workflow to begin its search process to identify 5 companies that will provide you with the online tool you desire. The initial chat will prompt the Tool Finder AI agent utilizing the power of GPT-4o in combination with SerpAPI to conduct a search and find 5 top end companies that contain the online tool you desire. It will then send the name of each company to five separate Reviewer Tool Agents that will gather information on each company. Each Reviewer Tools Agent will again harness the power of GPT-4o and SerpAPI to give a detailed descriptions of the online tool available including its price, limitations, summary of reviews, pros and cons, as well as an overall conclusion of the online tool. Who This Is For This is the perfect workflow for anyone who is interested in obtaining an online tool to help automate business or everyday tasks. Rather than spending an excess amount of time searching through websites and review pages to determine the best product available this workflow completes the process for you. It provides five options in a condensed form that easily lets you compare and evaluate the options in a single place. Whether you are searching for an automatic email responder or the best available online spreadsheet, this workflow is exactly what you need to help bring your business to the next level. How It Works Begin by opening the chat trigger node and typing the name of an online tool you would like to use to improve your day to day tasks. Example: Automatic email responder, automatic instagram poster, or online spreadsheet. This will trigger the Tool Finder Tools Agent to begin to utilize GPT-4o to begin to create search queries based off the tool you wish to identify. It will then use these search queries with SerpAPI to identify 5 companies that provide the online tool you desire. After it has obtained the names of five companies it will then in a structured output, send each item to a separate Reviewer Tools Agent. Once the Reviewer Tools Agent has received the name of the item it will then begin an in-depth review of that item. Each Reviewer Tools Agent will again use the power of GPT-4o connected with SerpAPI to obtain the most up to date information on each item from the internet. For each company and its tool you will be provided with: Price: If it is a one time purchase, monthly subscription and if there is a free version. Limits: It will provide any limitations on completing the desired tasks. If there is a limit on number of tasks that can be completed. If it only works with certain software. Summary of reviews: It will provide an overall summary of the reviews, how many reviews, as well as the star rating of each item. It will go in depth on the summary of the reviews. It will provide 3-4 pros and 2-3 cons of each item. Conclusion: It will provide an overall summary of the tool. After each of the Reviewer Tools Agent is complete with its review of the company and the online tool they provide, they will all send the information along to a Compiler Tools Agent. This tools agent uses GPT-4o-mini to arrange the data and present it in a concise, organized fashion. This allows for easy readability. Set Up Steps You will need to obtain an Open AI API key from platform.openai.com/api-keys After you obtain this Open AI API key you will need to connect it to the Open AI Chat Model for all of the Tools agents (Item finder, Reviewer 1, Reviewer 2, Reviewer 3, Reviewer 4, Reviewer 5, and Compiler). You will now need to fund your Open AI account. GPT 4o costs ~$0.03-$0.04 to run the workflow. Next you will need to create a SerpAPI account at https://serpapi.com/users/sign_up After you create an account you will need to obtain a SerpAPI key. You will then need to use this key to connect to the SerpAPI tool for each of the tools agents (Tool finder, Reviewer 1, Reviewer 2, Reviewer 3, Reviewer 4, and Reviewer 5) Tip: SerpAPI will allow you to run 100 free searches each month. This workflow uses ~15-30 SerpAPI searches per run. If you would like to utilize the workflow more than that each month, create multiple SerpAPI accounts and have an API key for each account. When you utilize all 100 free searches for an account, switch to the API key for another account within the workflow.
by Harshil Agrawal
This workflow allows you to validate emails stored in a table using the Mailcheck node. Airtable node: This node will list all the records from a table. Based on your use case, you might want to replace this node. Mailcheck node: This node will check the emails that got returned by the previous node. Set node: We will use the Set node to ensure that only the data that we set in this node gets passed on to the next nodes in the workflow. Airtable1 node: This node will update the Valid field in the table. Based on your use case, you might want to replace this node.