Auto-Start Tagged Workflows Using n8n API after Deployment — n8n Workflow

Low complexity Trigger4 nodes💎 Other👁 106 viewsby Klaasjan te Voortwis

Overview

Auto Starter

On importing workflows these will not be auto started, even if the old version was running. To fix this we created this workflow that can be run after n8n starts. It fits in our auto deploy pipeline and modified n8n container that will import workflows, start n8n and start the tagged workflows.

Start this workflow after n8n starts. It will get all workflows in the running n8n instance. If the files have a tag 'Auto start' the workflow will be started.

Check our Export workflows w

Nodes used

n8n1TAG? Auto startWhen clicking ‘Test workflow’Sticky Note4

Workflow Preview

Auto Starter
On importing workflows these will not be auto started,
N
n8n
T
TAG? Auto start
N
n8n1
W
When clicking ‘Test work…
4 nodes3 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 4 nodes, connecting if, manualtrigger, n8n.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (4)

N8

n8n1

n8n

#1
TA

TAG? Auto start

if

#2
WH

When clicking ‘Test workflow’

manualTrigger

#3
ST

Sticky Note4

stickyNote

#4

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded auto-start-tagged-workflows-using-n8n-api-after-deployment file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Auto-Start Tagged Workflows Using n8n API after Deployment", "nodes": [...], ...}

Integrations

ifmanualtriggern8n

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes4
Complexitylow
Triggertrigger
Views106
CategoryOther

Created by

Klaasjan te Voortwis

Klaasjan te Voortwis

@voortwis

Tags

ifmanualtriggern8n

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →