by Wayne Simpson
Create a Branded AI Website Chatbot Engage website visitors with an intelligent chat widget powered by OpenAI. This template includes: ๐ฌ Natural conversation handling ๐ Microsoft Outlook calendar integration ๐ Lead capture and information gathering ๐ Human handoff capabilities Simply add a JavaScript snippet to your website and configure the workflow to match your needs. Follow our detailed setup guide to get started in minutes. > Note: Widget includes a "Powered By" affiliate link
by Miquel Colomer
This workflow is useful if you have lots of tasks running daily. MySQL node (or the database used to save data shown in n8n - could be Mongo, Postgres, ... -) remove old entries from execution_entity table that contains the history of the executed workflows. If you have multiple tasks executed every minute, 1024 rows will be created every day (60 minutes x 24 hours) per every task. This will increase the table size fastly. SQL query deletes entries older than 30 days taking stoppedAt column as a reference for date calculations. You only have to setup Mysql connection properly and config cron to execute once per day in a low traffic hour, this way
by n8n Team
Who this template is for This template is for researchers, students, professionals, or content creators who need to quickly extract and summarize key insights from PDF documents using AI-powered analysis. Use case Converting lengthy PDF documents into structured, digestible summaries organized by topic with key insights. This is particularly useful for processing research papers, reports, whitepapers, or any document where you need to quickly understand the main topics and extract actionable insights without reading the entire document. How this workflow works Document Upload: Receives PDF files through a POST endpoint at /ai_pdf_summariser File Validation: Checks that the PDF is under 10MB and has fewer than 20 pages to meet API limits Content Extraction: Extracts text content from the PDF file AI Analysis: Uses OpenAI's GPT-4o-mini to analyze the document and break it down into distinct topics Insight Generation: For each topic, generates 3 key insights with titles and detailed explanations Format Response: Converts the structured data into markdown format for easy reading Return Results: Provides the formatted summary along with document metadata (file hash) Set up steps Configure OpenAI API: Set up your OpenAI credentials for the GPT-4o-mini model Deploy Webhook: The workflow automatically creates a POST endpoint at /ai_pdf_summariser Test Upload: Send a PDF file to the endpoint using a multipart/form-data request Adjust Limits: Modify the file size (10MB) and page count (20) validation limits if needed based on your requirements Customize Prompts: Update the system prompt in the Information Extractor node to change how topics and insights are generated The workflow includes comprehensive error handling for file validation failures (400 error) and processing errors (500 error), ensuring reliable operation even with problematic documents.
by Simon Mayerhofer
This workflow allows you to batch update/insert Airtable rows in groups of 10, significantly reducing the number of API calls and increasing performance. ๐ How It Works Copy the 3 Nodes Copy the three nodes inside the red note box into your workflow. Set Your Fields In the Set Fields node, define the fields you want to update. โค Only include fields that match column names in your Airtable table. โค Make sure the field names are spelled exactly as they appear in Airtable. โค Make sure the field type are correctly set. So numbers columns in Airtable need numbers type set as the field. Configure the Airtable Batch Node Enter your Airtable Base ID The part with app... in the URL: airtable\.com / app8pqOLeka1Cglwg / tblnXZOdy8VtkAAJD/... Enter your Airtable Table ID The part with tbl... in the URL: airtable\.com / app8pqOLeka1Cglwg / tblXXZOdy8VtkAAJD /... Set Matching Fields (fieldsToMergeOn) Provide a string array that tells Airtable how to match existing rows. Examples: Match by one field (e.g. TaskID): {{["TaskID"]}} Match by multiple fields (e.g. firstname and lastname): {{["firstname", "lastname"]}} Choose the Mode (mode field) Available options: upsert: Update if a record exists, otherwise insert a new one insert: Always insert as new records update: Only update existing records (you must provide a field named id)
by Dataki
Edit 19/11/2024: As explained on the workflow, the AI Agent with the original system prompt was not effective when using gpt4-o-mini. To address this, I optimized the prompt to work better with this model. You can find the prompts Iโve tested on this Notion Page. And yes, there is one that works well with gpt4-o-mini. AI Agent to chat with you Search Console Data, using OpenAI and Postgres This AI Agent enables you to interact with your Search Console data through a chat interface. Each node is documented within the template, providing sufficient information for setup and usage. You will also need to configure Search Console OAuth credentials. Follow this n8n documentation to set up the OAuth credentials. Important Notes Correctly Configure Scopes for Search Console API Calls Itโs essential to configure the scopes correctly in your Google Search Console API OAuth2 credentials. Incorrect configuration can cause issues with the refresh token, requiring frequent reconnections. Below is the configuration I use to avoid constant re-authentication: Of course, you'll need to add your client_id and client_secret from the Google Cloud Platform app you created to access your Search Console data. Configure Authentication for the Webhook Since the webhook will be publicly accessible, donโt forget to set up authentication. Iโve used Basic Auth, but feel free to choose the method that best meets your security requirements. ๐คฉ๐ Example of awesome things you can do with this AI Agent
by Mudit Juneja
> Reach out to me for any setup help/consulting. Automate the curation and sharing of trending GitHub discussions from Hacker News to Twitter and LinkedIn. This workflow leverages AI to generate engaging posts, streamlining your social media content creation and distribution. How it Works Crawl Hacker News for GitHub Posts: The workflow fetches trending GitHub-related discussions from Hacker News. Extract Key Information: Relevant data such as post titles, URLs, and metadata are extracted and filtered to focus only on unposted content. Fetch Additional Details: For each GitHub post, the workflow retrieves extra information from the GitHub repository page to enrich the post content. Generate Social Media Posts: Using AI, the workflow automatically generates tailored posts for Twitter and LinkedIn based on the collected data. Post to Twitter & LinkedIn: The generated content is posted to your Twitter and LinkedIn accounts. Track and Log Posts: Each post is logged in Airtable for tracking, and its status is updated to ensure no duplicate posts are made. Telegram Notification: After posting, a summary of the posts is sent to your Telegram chat for real-time updates. Requirements n8n Account**: Set up and configured. Sign up here. API Credentials**: Valid keys for LinkedIn, Twitter, Airtable, OpenAI, and Telegram. Airtable Base**: Configured with fields such as Title, URL, Post Content, Status, and Timestamp. Get started with Airtable. Telegram Chat ID**: For receiving real-time notifications. Set Up Steps Clone the Workflow: Import the workflow into your n8n environment using the provided JSON. Configure API Credentials: Enter your API keys for LinkedIn, Twitter, Airtable, OpenAI, and Telegram into the respective nodes. Set Up Airtable Base: Create an Airtable base with fields such as Title, URL, Post Content, Status, and Timestamp. Customize Telegram Chat ID: Modify the 'Ping me' node with your Telegram chat ID to receive notifications. Run the Workflow: Activate the workflow to start the automated content curation and posting process. Additional Resources n8n AI Agentic Workflows Guide n8n AI Workflow Tutorial n8n Community Tutorial on Building an AI-Powered Telegram Bot > Note: Chat GPT prompt should/can be tweaked in the step to give the desired behaviour. Sample Posts from my X and LinkedIn -**
by Jan Oberhauser
Simpe API which queries the received country code via GraphQL and returns it. Example URL: https://n8n.exampl.ecom/webhook/1/webhook/webhook?code=DE Receives country code from an incoming HTTP Request Reads data via GraphQL Converts the data to JSON Constructs return string
by Matt F.
๐ฏ Automatically Create and Post Engaging Clips (with Audience Retention Videos) from Podcasts Using AI! ๐ Effortlessly transform long-form podcast content into highly engaging, viral-read clips with this end-to-end automation template. Designed for content creators already monetizing on TikTok/YouTube/Instagram/Twitter and those looking to start earning from the platform, this workflow streamlines the process of extracting highlights, editing clips, and posting to all your social media, allowing you to maximize reach while minimizing manual effort. Key Features ๐น AI-Powered Podcast Highlight Extraction Automatically identifies the best moments from any podcast video, ensuring each clip is engaging and shareable. ๐น Smart Video Editing & Captioning Combines podcast highlights with a copyright-free attention retainer video (e.g., Minecraft parkour, GTA 5 gameplay) for increased audience retention. Auto-generated captions make clips more dynamic and accessible. ๐น Automated Title Generation A Large Language Model (LLM) analyzes the clips to generate compelling titles, optimized for TikTok/YouTube/Instagram/Twitterโs algorithm. ๐น Hands-Free Multi Platform Posting Seamlessly schedules and automatically posts clips to your Soicual Media accounts at defined intervals, keeping your audience engaged without manual uploads. ๐น Fully Automated Workflow From video download to content publishing 100% FREE, this template eliminates the need for time-consuming video editing, helping you scale your content strategy effortlessly, without having to pay for multiple subscriptions tediously. Simply find a podcast you like and a cool Minecraft parkour (or any engaging) video, send their YouTube URLs, and let the automation handle everythingโfrom video downloading and audio processing to highlight extraction, editing, captions, and publishing. How It Works (Step-by-Step Guide) 1๏ธโฃ Provide the YouTube URLs One for the main podcast video (where highlights will be extracted). One for the background attention retainer video (e.g., Minecraft parkour, GTA 5 gameplay). 2๏ธโฃ Automation Downloads and Processes the Videos Downloads both videos. Extracts audio from the podcast for analysis. 3๏ธโฃ AI Analyzes and Extracts Key Highlights Detects the most engaging moments from the podcast. 4๏ธโฃ Creates Fully Edited Clips Merges podcast highlights with the attention retainer video. Generates captions automatically. 5๏ธโฃ Optimizes for Social Media Uses AI to generate a compelling title for each clip. 6๏ธโฃ Posts to your Social Media Channels Automatically Uploads clips at your preferred intervals with zero manual effort. Who Is This For? โ Content creators already making money on TikTok/YouTube/Instagram/Twitter โ People looking to start earning with TikTok/YouTube/Instagram/Twitter โ Podcasters wanting to repurpose content into bite-sized, viral clips Get Started Today! ๐ This AI-driven automation is perfect for scaling your TikTok/YouTube/Instagram/Twitter content effortlessly. To use this workflow, youโll just need free accounts on Assembly, Andynocode, and Upload-Posts.
by jason
This workflow will gather data every minute from the GitHub (https://github.com), Docker (https://www.docker.com/), npm (https://www.npmjs.com/) and Product Hunt (https://www.producthunt.com/) website APIs and display select information on a Smashing (https://smashing.github.io/) dashboard. For convenience sake, the dashboard piece can be easily downloaded as a docker container (https://hub.docker.com/r/tephlon/n8n_dashboard) and installed into your docker environment.
by Harshil Agrawal
This workflow allows you to receive updates when a customer is subscribed to a list in GetResponse and add them to a base in Airtable. GetResponse Trigger node: This node triggers the workflow when a customer is added to a list. Based on your use-case, you can select a different event. Set node: The Set node is uded here to ensure that only the data that we set in this node gets passed on to the next nodes in the workflow. For this workflow, we set the name and email of the customer. Airtable node: The data from the Set node is added to a table in Airtable. Based on your use-case, you may want to add the infromation about the customer to a CRM instead of a table in Airtable. Replace the Airtable node with the node of the CRM where you want to add the data.
by Samir Saci
Tags*: AI Agent, Supply Chain, Logistics, Route Planning, Transportation, GPS API Context Hi! Iโm Samir โ a Supply Chain Engineer and Data Scientist based in Paris, and founder of LogiGreen Consulting. I help companies improve their logistics operations using data, AI, and automation to reduce costs and minimize environmental footprint. > Letโs use n8n to automate order management for transportation companies! ๐ฌ For business inquiries, you can add find me on LinkedIn Who is this template for? This workflow is designed for small transportation companies and carriers that handle their delivery request by email. Two AI Agent nodes and a connection to Openroute Service API are used to parse the content of pickup requests The results include driving time and driving distance in a comprehensive and concise reply generated by the second AI Agent. How does it work? This n8n workflow automates the processing of shipment request emails and enriches them with distance and driving time using the OpenRouteService API. ๐ฅ Extract structured logistics data (pickup, delivery, contact) using an AI Agent ๐ Geocode pickup and delivery addresses into GPS coordinates ๐ Query OpenRouteService using the truck (driving-hgv) profile ๐ Get the driving distance (in km) and estimated time (in minutes) ๐ค Store all data in a connected Google Sheet ๐ง Send back a professional confirmation email to the customer Steps: ๐ฉ Trigger the workflow from a new Gmail message ๐ง Use the AI Agent to extract structured data from the email ๐ Record and enrich shipment details in a Google Sheet ๐บ๏ธ Geocode addresses into coordinates ๐ฆ Get driving distance & time via OpenRouteService ๐ฌ Generate and send back a confirmation email using AI What do I need to get started? This workflow requires: A Gmail account to receive shipment requests A Google Sheet to log and update shipment info A free OpenRouteService API key ๐ Get one here OpenAI API access to use the AI Agent node Next Steps ๐๏ธ Follow the sticky notes inside the workflow canvas to: Plug your Gmail and Google credentials Add your OpenRouteService API key Test by sending a sample email and see the response! ๐ฅ Check the Tutorial This template was built using n8n v1.93.0 Submitted: June 5, 2025
by Jonathan
Task: Create a simple API endpoint using the Webhook and Respond to Webhook nodes Why: You can prototype or replace a backend process with a single workflow Main use cases: Replace backend logic with a workflow