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

Faible complexité Déclencheur4 nœuds💎 Other👁 106 vuespar Klaasjan te Voortwis

Aperçu

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

Nœuds utilisés

n8n1TAG? Auto startWhen clicking ‘Test workflow’Sticky Note4

Aperçu du workflow

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

Comment ça fonctionne

  1. 1

    Déclencheur

    Le workflow démarre avec un déclencheur déclencheur.

  2. 2

    Traitement

    Les données transitent par 4 nœuds, connecting if, manualtrigger, n8n.

  3. 3

    Sortie

    Le workflow termine son automatisation et livre le résultat à la destination configurée.

Détails des nœuds (4)

N8

n8n1

n8n

#1
TA

TAG? Auto start

if

#2
WH

When clicking ‘Test workflow’

manualTrigger

#3
ST

Sticky Note4

stickyNote

#4

Comment importer ce workflow

  1. 1Cliquez sur le bouton Télécharger JSON à droite pour enregistrer le fichier du workflow.
  2. 2Ouvrez votre instance n8n. Accédez à Workflows → Nouveau → Importer depuis un fichier.
  3. 3Sélectionnez le fichier auto-start-tagged-workflows-using-n8n-api-after-deployment téléchargé et cliquez sur Importer.
  4. 4Configurez les identifiants pour chaque nœud de service (clés API, OAuth, etc.).
  5. 5Cliquez sur Tester le workflow pour vérifier que tout fonctionne, puis activez-le.

Ou collez directement dans n8n → Importer depuis JSON :

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

Intégrations

ifmanualtriggern8n

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds4
Complexitélow
Déclencheurtrigger
Vues106
CatégorieOther

Créé par

Klaasjan te Voortwis

Klaasjan te Voortwis

@voortwis

Tags

ifmanualtriggern8n

Nouveau sur n8n ?

n8n est un outil d'automatisation de workflows gratuit et open-source. Hébergez-le vous-même ou utilisez la version cloud.

Obtenir n8n gratuitement →