AutomationMart
Home/Browse/Automate NPM package installation and updates for self-hosted environments
n8n

Automate NPM package installation and updates for self-hosted environments

n8nn8n7 modulesv1.0
UNSUPPORTED_SLUG_FORMAT

Are you looking to install external libraries for your self-hosted N8N instance? This automated workflow makes adding npm packages to your N8N environment quick and effortless. Beware, this workflow only works on self-hosted instances. What This Workflow Does This solution automatically installs npm packages like axios, cheerio, or node-fetch in your self-hosted N8N Docker container, making them immediately available in Code nodes. Key features ✅ Automated Installation: No manual npm commands ne

At a glance

Automate NPM package installation and updates for self-hosted environments is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects UNSUPPORTED_SLUG_FORMAT. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
UNSUPPORTED_SLUG_FORMAT
Modules
7
Price
Free
Version
v1.0
Automate NPM package installation and updates for self-hosted environments workflow diagram

About this workflow

Are you looking to install external libraries for your self-hosted N8N instance? This automated workflow makes adding npm packages to your N8N environment quick and effortless. Beware, this workflow only works on self-hosted instances. What This Workflow Does This solution automatically installs npm packages like axios, cheerio, or node-fetch in your self-hosted N8N Docker container, making them immediately available in Code nodes. Key features ✅ Automated Installation: No manual npm commands needed ✅ Daily Updates: Scheduled trigger keeps packages current ✅ Smart Installation: Only installs missing packages ✅ Multiple Triggers: Manual, scheduled, and on startup of the N8N instance so you can upgrade your N8N version without worrying about external libraries. How to install and update external libraries automatically Step 1: Setting Up Your Environment Variables Before using external libraries in N8N Code nodes, configure these environment variables in your Docker comppose file. Option A to allow specific external npm packages in N8N Code nodes Option B to allow all external npm packages in Code nodes Step 2: Import the external packages workflow Import the workflow into your N8N instance by copy pasting all nodes. Step 3: Input the list of external libraries you need Edit the librariesset node Change the comma-separated list (e.g., axios,cheerio,node-fetch). If you chose Option A above, update your NODEFUNCTIONALLOWEXTERNAL variable with the same packages Step 4: Start the workflow! Run the workflow manually or let it trigger automatically Why use this to install NPM packages in N8N? Managing external packages manually in N8N can be time-consuming. This workflow automates the entire process, making sure your libraries are always installed and up-to-date.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Insert data into PostgreSQL and create documents in Google Cloud Firestore from Browse AI tasks

Use this automation to insert data into PostgreSQL and create Google Cloud Firestore documents from Browse AI tasks, streamlining data management across platforms.

Free

Triage and reply to multilingual support tickets with Anthropic Claude

Overview This workflow automates customer support ticket processing using AI-powered analysis. Incoming tickets from email (IMAP) or a webhook endpoint are automatically cleaned, translated to English if necessary, analyzed with AI, and routed based on urgency and category. The workflow can automatically generate draft replies for simple tickets or escalate critical issues to your support team. It also updates your CRM or helpdesk system with structured ticket insights and logs observability met

Free

Linking NocoDB records via API 🔗

How it works: The n8n flow grabs the needed IDs, fetches the current links, adds your new one, and sends a single HTTP request to NocoDB to update the record’s linked entries. Set up steps: Plan for 10 minutes setup if you’re already running n8n and NocoDB. You’ll need to copy/paste table IDs, set up your HTTP node, and test once. No coding, just copy IDs.

Free

Conversing with data: transforming text into SQL queries and visual curves

Conversational Data Retrieval and Visualization Workflow This workflow enables users to interact with a PostgreSQL database using natural language. It translates text inputs into SQL queries, retrieves the corresponding data, and generates visualizations using QuickChart, facilitating seamless data analysis without manual query writing. Table of Contents - Pre-conditions and Requirements - Database Schema Setup - Step-by-Step Workflow Explanation - Customization Guide Pre-conditions and Requirem

Free

Automated YouTube video scheduling & AI metadata generation 🎬

Who Is This For? Content creators, marketing teams, and channel managers who need to streamline video publishing with optimized metadata and scheduled releases across multiple videos. 🛠 What Problem Does This Solve? Manual YouTube video publishing is time-consuming and often results in inconsistent descriptions, tags, and scheduling. This workflow fully automates: Extracting video transcripts via Apify for metadata generation Creating SEO-optimized descriptions and tags for each v

Free

Binance spot trader - limit & market orders via API

How it works This n8n workflow allows you to interact with Binance Spot Trading API directly to: - Place Limit Buy and Limit Sell orders - Place Market Buy and Market Sell orders - Query account info and open orders - Cancel all open orders for a specific symbol All requests are signed using Binance's HMAC SHA256 signature method for secure trading. --- ⚙️ Setup Steps 1. Create Binance API Credentials in n8n: - Go to Credentials > New

Free

Create animated stories using GPT-4o-mini, Midjourney, Kling and Creatomate API

What does the workflow do? This workflow is designed to generate high-quality short videos, primarily uses GPT-4o-mini (unofficial), Midjourney (unofficial) and Kling (unofficial) APIs from PiAPI and Creatomate API mainly for content creator, social media bloggers and short-form video creators. Through this short video workflow, users can quickly validate their creative ideas and focus more on enhancing the quality of their v

Free

🤖 Build resilient AI workflows with automatic GPT and Gemini failover chain

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This workflow demonstrates how to create a resilient AI Agent that automatically falls back to a different language model if the primary one fails. This is useful for handling API errors, rate limits, or model outages without interrupting your process. 1. State Initialization: The Agent Variables node initializes a failcount to 0. This counter tracks how many models have been attempt

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free