by bangank36
This workflow retrieves all Shopify Orders and saves them into a Google Sheets spreadsheet using the Shopify Admin REST API. It uses pagination to ensure all orders are collected efficiently. I originally built this workflow for my own use and found it valuable for understanding how Shopify pagination works. Now, Iโm sharing it to help others automate their order retrieval process. How It Works Instead of relying on the built-in Shopify node (Get Orders Many), this workflow leverages the HTTP Request node to fetch paginated chunks manually. Shopify uses cursor-based pagination (page_info) instead of traditional page numbers. Pagination data is stored in the response headers, so we need to enable Include Response Headers and Status in the HTTP Request node. You can modify the limit parameter to control batch sizes and optimize for rate limits. This workflow can be run on demand or scheduled to keep your data up to date. Parameters You can adjust these parameters in the HTTP Request node: limit โ The number of orders per request (default: 50, max: 250). fields โ Comma-separated list of fields to retrieve. page_info โ Used for pagination; only limit and fields are allowed when paginating. ๐ Note: when you query the paginated chunks with page_info, only the limit and fields parameters are allowed Credentials Shopify API Key โ Required for authentication. Google Sheets API credentials โ Needed to insert data into the spreadsheet. ๐พ Clone the Google Sheets template here Who Is This For? Shopify store owners who need to export all orders to Google Sheets. Users who want full control over API parameters for optimized queries. Anyone looking for a flexible and scalable Shopify data extraction solution. Explore More Templates ๐ Check out my other n8n templates
by David Olusola
How It Works โ Data Deduplication in n8n This tutorial demonstrates how to remove duplicate records from a dataset using JavaScript logic inside n8n's Code nodes. It simulates real-world data cleaning by generating sample user data with intentional duplicates (based on email addresses) and walks you through the process of deduplication step-by-step. The process includes: Creating Sample Data with duplicates. Filtering Out Duplicates using filter() and findIndex() based on email. Displaying Cleaned Results with simple statistics for before-and-after comparison. This is ideal for scenarios like CRM imports, ETL processes, and general data hygiene. โ๏ธ Set-Up Steps ๐น Step 1: Manual Trigger Node: When clicking 'Test workflow' Purpose: Initiates the workflow manually for testing. ๐น Step 2: Generate Sample Data Node: Create Sample Data (Code node) What it does: Creates 6 users, including 2 intentional duplicates (by email). Outputs data as usersJson with metadata (totalCount, message). Mimics real-world messy datasets. ๐น Step 3: Deduplicate the Data Node: Deduplicate Users (Code node) What it does: Parses usersJson. Uses .filter() + .findIndex() to keep only the first instance of each email. Logs total, unique, and removed counts. Outputs clean user list as separate items. ๐น Step 4: Display Results Node: Display Results (Code node) What it does: Outputs structured summary: Unique users Status Timestamp Prepares results for review or downstream use. ๐ Sample Output Original count: 6 users Deduplicated count: 4 users Duplicates removed: 2 users ๐ฏ Learning Objectives You'll learn how to: Use .filter() and .findIndex() in n8n Code nodes Clean JSON data within workflows Create simple, effective deduplication pipelines Output structured summaries for reporting or integration ๐ง Best Practices Validate input format (e.g., JSON schema) Handle null or missing fields gracefully Use logging for visibility Add error handling for production use Use pagination/chunking for large datasets
by Harshil Agrawal
This workflow analyzes the sentiments of the feedback provided by users and sends them to a Mattermost channel. Typeform Trigger node: Whenever a user submits a response to the Typeform, the Typeform Trigger node will trigger the workflow. The node returns the response that the user has submitted in the form. AWS Comprehend node: This node analyses the sentiment of the response the user has provided and gives a score. IF node: The IF node uses the data provided by the AWS Comprehend node and checks if the sentiment is negative. If the sentiment is negative we get the result as true, otherwise false. Mattermost node: If the score is negative, the IF node returns true and the true branch of the IF node is executed. We connect the Mattermost node with the true branch of the IF node. Whenever the score of the sentiment analysis is negative, the node gets executed and a message is posted on a channel in Mattermost. NoOp: This node here is optional, as the absence of this node won't make a difference to the functioning of the workflow. This workflow can be used by Product Managers to analyze the feedback of the product. The workflow can also be used by HR to analyze employee feedback. You can even use this node for sentiment analysis of Tweets. To perform a sentiment analysis of Tweets, replace the Typeform Trigger node with the Twitter node. Note: You will need a Trigger node or Start node to start the workflow. Instead of posting a message on Mattermost, you can save the results in a database or a Google Sheet, or Airtable. Replace the Mattermost node with (or add after the Mattermost node) the node of your choice to add the result to your database.
by Louis
Workflow Overview This workflow automates the process of updating a Spotify playlist with tracks from a YouTube playlist, ensuring no duplicates are added. Key Components Manual Trigger: Starts the workflow when you click โTest workflowโ. Spotify Integration: Retrieves tracks from a specified Spotify playlist. YouTube Integration: Fetches tracks from a designated YouTube playlist. Batch Processing: Processes tracks in batches to handle multiple items efficiently. Track Search: Searches for YouTube tracks on Spotify to find corresponding IDs. Comparison: Compares existing Spotify tracks with YouTube tracks to identify which ones to add. Track Addition: Adds new Spotify tracks to the playlist that are not already included. If you have any questions or need clarification, feel free to ask!
by YungCEO
๐ค Discord AI Workflow: Your Automated Assistant! ๐ ๐ Workflow Overview Transforms your Discord server into an intelligent, responsive powerhouse of communication and automation! ๐ง Core Components ๐ฌ AI-Powered Messaging ๐ค Multi-Channel Interaction ๐ง Smart Response Generation ๐ Seamless Workflow Integration ๐ฆ Trigger Modes 1๏ธโฃ Workflow Trigger ๐ Activated by external workflows ๐จ Processes incoming tasks ๐ Supports complex automation scenarios 2๏ธโฃ Chat Message Trigger ๐ฃ๏ธ Responds to direct Discord messages ๐ค Contextual understanding ๐ Real-time interaction ๐ ๏ธ Key Features ๐ค AI-Driven Conversations ๐ Dynamic Message Handling ๐ Secure Credential Management ๐ Flexible Configuration ๐ Use Cases ๐ข Automated Announcements ๐ Support Ticket Management ๐ Content Generation ๐ค Community Engagement ๐ก Smart Capabilities ๐งฉ Modular Design ๐ Seamless Data Flow ๐ Character Limit Management ๐ Multi-Channel Support ๐ก๏ธ Security & Performance ๐ OAuth Integration ๐ง Error Handling ๐ Performance Optimization ๐ ๏ธ Continuous Improvement ๐ฏ Workflow Magic User Input โก๏ธ AI Processing โก๏ธ Smart Response โก๏ธ Discord Channel ๐ ๐ค ๐ฌ ๐จ ๐ Customization Playground ๐จ Personalize AI Responses ๐ง Adjust Interaction Rules ๐ Fine-Tune Workflow Behavior ๐ง Troubleshooting Toolkit ๐ต๏ธ Credential Verification ๐ฌ Permissions Check ๐ Comprehensive Logging ๐ Error Handling Strategies ๐ Future Possibilities ๐ค Advanced AI Integration ๐ Expanded Interaction Modes ๐ง Machine Learning Enhancements ๐ Ecosystem Expansion
by Ficky
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. ๐ n8n Workflow: Meetup Registration & Giveaway Picker This n8n workflow is designed to handle both participant registration and giveaway winner selection, fully integrated with a frontend experience. ๐ Participant Registration Flow This part of the workflow automates the registration process for meetup attendees. ๐ Steps: ๐ Participant Form (Webhook Trigger) Triggered when a user submits the form. Captures fields like nama_lengkap, email, whatsapp, discord_username, and more. ๐ ๏ธ Data Mapping Maps raw form inputs into a structured format. Supports trimming, validation, and transformation as needed. ๐พ Save to Database Performs an upsert operation to store participant info in PostgreSQL. Prevents duplicate entries based on unique ID (e.g., WhatsApp or email). โ Confirmation Screen Returns a success message or thank-you page after registration is complete. ๐ Giveaway App This section serve frontend app to display and select random winners. ๐ Steps: ๐ Webhook GET (Giveaway App) Exposes a public endpoint that delivers a ready-to-use HTML app. Can be opened in a browser or projected during the event. ๐ฅ Fetch Participants Executes a SQL query to retrieve all participant records from the database. ๐งฎ Format Participant Data Redacts personal details (e.g., masks WhatsApp numbers). Encodes the id using Base64 for privacy and uniqueness. ๐ค Render Giveaway App Returns an HTML-based Single Page Application with the participant list included. Allows the host to click a button to pick random winners live. โ Use Case Highlights Streamlined participant collection and storage using n8n workflows Secure data handling with redaction and ID encoding Frontend integration for a fun, interactive giveaway experience Reusable for other community events, workshops, or internal team draws
by Dataki
This template is a simple AI Agent that acts as a Google Calendar Assistant. It is designed for beginners to have their "first AI Agent" performing common tasks and to help them understand how it works. For new users of n8n, AI Agents, and OpenAI: This template involves using an OpenAI API Key. If you are new to AI Agents, make sure to research and understand key concepts such as: "Tokens"** (used for API requests), "Tool calling"** (how the AI interacts with external tools), OpenAI's usage costs** (how you will be billed for API usage). Functionality It has two main functionalities: Create events** in a calendar Retrieve events** from a calendar How you can use it Everything is explained with sticky notes in the workflow. It is ready-to-use: all you need to do is connect your OpenAI credentials, and you can start using the workflow.
by Abdulaziz
Workflow Description* Automate your candidate interview pipeline with precision. This powerful integration pulls booking data from Cal.com, extracts interview details (name, email, date & time), and syncs them directly into your Google Sheets tracker. It matches applicants using email, formats the date in the Asia/Riyadh timezone, and appends only relevant entries. But it doesnโt stop there โ it cleans your sheet automatically by removing unmatched or empty records, ensuring your data stays clean, reliable, and ready for HR decisions. What it does: Fetches interview bookings from Cal.com Converts time to readable format (e.g. 30 June, 09:00 AM) Matches booking emails with existing applicant records Auto-updates interview date in your sheet Detects and deletes irrelevant or blank entries Use Cases: Resume screening workflows that require automated interview sync HR dashboards needing real-time calendar updates Applicant pipelines where only valid interviews should remain Ideal for: Recruiters โข HR teams โข Automation architects โข Remote hiring pipelines
by Davide
This workflow integrates a chatbot frontend with a backend powered by Langflow, a visual low-code AI development tool. The flow is triggered whenever a chat message is received via the n8n chatbot widget embedded on a website. It then sends the message to a Langflow flow for processing and returns the generated response to the user. How It Works Chat Trigger: The workflow starts with a webhook trigger (When chat message received) that listens for incoming chat messages from the n8n Chat interface. Langflow Integration: The chat input is sent to a Langflow instance via an HTTP request (Langflow node). The request includes the user's message and expects a response from the Langflow flow. Response Processing: The output from Langflow is extracted and formatted using the Edit Fields node, ensuring the chatbot displays the response correctly. Customization: Sticky notes provide instructions for embedding the n8n Chat widget on a website and customizing its appearance, including welcome messages, language settings, and branding. Set Up Steps Configure Langflow Connection: Replace LANGFLOW_URL and FLOW_ID in the HTTP request node with your Langflow instance details. Ensure the API headers (e.g., Content-Type: application/json) and authentication (if required) are correctly set. Deploy n8n Chat: Add the provided CDN script to your website, replacing YOUR_PRODUCTION_WEBHOOK_URL with the webhook URL generated by the When chat message received node. Customize the chatbotโs UI (e.g., title, placeholder text, initial messages) using the JavaScript snippet in the sticky notes. Activate Workflow: Toggle the workflow to "Active" in n8n. Test the chatbot by sending a message and verifying the Langflow response is processed and displayed correctly. Advantages โ Seamless Langflow Integration It allows n8n to communicate directly with a Langflow flow via API, enabling AI responses using custom-designed Langflow logic. โ No-Code Chatbot Deployment With just a script snippet, the chatbot widget can be embedded into any website. Minimal coding is required to launch a fully functioning AI chatbot. โ Customizable UI/UX The included embed code offers full control over the chatbot's appearance, language, welcome message, input placeholder, and brandingโideal for white-label or customer-facing deployments. โ Modular and Extensible Because it's built in n8n, this chatbot can be easily extended with other services like CRMs, email alerts, or databases, without leaving the platform. โ Real-Time AI Interactions Thanks to Langflow's API and chat response support, users get immediate and dynamic AI-driven replies. Need help customizing? Contact me for consulting and support or add me on Linkedin.
by Yash Choudhary
Problem: ๐จIt is difficult to manually track changing flight prices and quickly identify the best time to book a ticket. Many travelers miss deals or spend too much time monitoring fares for their specific routes and travel dates. Prerequisites: An active SerpAPI account (for flight search API access) Gmail or another email service account (for email alerts) This would be helpful for: Frequent flyers wanting to book flights at the lowest price Budget travelers planning trips in advance Corporate travelers managing travel expenses Travel agencies monitoring deals for clients Step-by-step workflow: Takes 5-10 minutes to set up Set your preferred flight route and travel date Choose the price alert threshold Automatically monitor flight prices at your selected interval Get notified by email when a price drop is detected Sample Query Input: Origin: โJFKโ (New York) Destination: โSEAโ (Seattle) Outbound Date: โ2025-09-06โ Price Threshold: $250 Notification Email: your@email.com Output: If flight from JFK to SEA on 2025-09-06 drops to $250 or below, youโll receive an email notification: โHi! The flight price to Seattle just dropped to $242. Book your ticket now!โ
by Yaron Been
This workflow provides automated access to the Moicarmonas 3Rdmoises_Generator_Oldversion AI model through the Replicate API. It saves you time by eliminating the need to manually interact with AI models and provides a seamless integration for other generation tasks within your n8n automation workflows. Overview This workflow automatically handles the complete other generation process using the Moicarmonas 3Rdmoises_Generator_Oldversion model. It manages API authentication, parameter configuration, request processing, and result retrieval with built-in error handling and retry logic for reliable automation. Model Description: Advanced AI model for automated processing and generation tasks. Key Capabilities Specialized AI model with unique capabilities** Advanced processing and generation features** Custom AI-powered automation tools** Tools Used n8n**: The automation platform that orchestrates the workflow Replicate API**: Access to the Moicarmonas/3rdmoises_generator_oldversion AI model Moicarmonas 3Rdmoises_Generator_Oldversion**: The core AI model for other generation Built-in Error Handling**: Automatic retry logic and comprehensive error management How to Install Import the Workflow: Download the .json file and import it into your n8n instance Configure Replicate API: Add your Replicate API token to the 'Set API Token' node Customize Parameters: Adjust the model parameters in the 'Set Other Parameters' node Test the Workflow: Run the workflow with your desired inputs Integrate: Connect this workflow to your existing automation pipelines Use Cases Specialized Processing**: Handle specific AI tasks and workflows Custom Automation**: Implement unique business logic and processing Data Processing**: Transform and analyze various types of data AI Integration**: Add AI capabilities to existing systems and workflows Connect with Me Website**: https://www.nofluff.online YouTube**: https://www.youtube.com/@YaronBeen/videos LinkedIn**: https://www.linkedin.com/in/yaronbeen/ Get Replicate API**: https://replicate.com (Sign up to access powerful AI models) #n8n #automation #ai #replicate #aiautomation #workflow #nocode #aiprocessing #dataprocessing #machinelearning #artificialintelligence #aitools #automation #digitalart #contentcreation #productivity #innovation
by Rahul Joshi
Description This n8n automation template delivers a full-stack AI content pipeline designed for marketing teams, content creators, SaaS founders, and growth hackers. It combines prompt chaining, GPT-4o agents, and Google Sheets to generate engaging, SEO-friendly blogsโend to end. What This Template Does: ๐ Generates blog topic ideas using a domain-specific AI agent (e.g., for Sparrow API testing) ๐ Creates a blog outline with key sections and headings โ Evaluates & refines the outline to ensure clarity, flow, and engagement ๐งพ Writes the full blog content in structured, long-form paragraphs ๐ฅ Appends the blog to Google Sheets with the current date Built With: GPT-4o (via Azure OpenAI) LangChain Agents for task-specialized prompt chaining Google Sheets integration for automatic publishing Schedule Trigger for periodic content generation Ideal Use Cases: SaaS teams looking to scale inbound content API platforms (like Sparrow) publishing technical how-tos SEO agencies automating client blog content Solo founders growing product visibility via thought leadership