Add a check condition for a loop in n8n — Workflow n8n

Faible complexité Déclencheur4 nœuds📣 Marketing👁 9,551 vuespar Harshil Agrawal

Aperçu

This workflow demonstrates the use of $runIndex expression. It demonstrates how the expression can be used to avoid an infinite loop.

The workflow will create 5 Tweets with the content 'Hello from n8n!'.

You can use this workflow by replacing the Twitter node with any other node(s) and updating the condition in the IF node.

Nœuds utilisés

X (Formerly Twitter)

Aperçu du workflow

O
On clicking 'execute'
I
IF
N
NoOp
Twitter
4 nodes4 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, twitter.

  3. 3

    Sortie

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

Détails des nœuds (4)

X

X (Formerly Twitter)

twitter

#1

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 add-a-check-condition-for-a-loop-in-n8n 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": "Add a check condition for a loop in n8n", "nodes": [...], ...}

Intégrations

ifmanualtriggertwitter

Obtenir ce workflow

Téléchargez et importez en un clic

Télécharger JSONVoir sur n8n.io
Nœuds4
Complexitélow
Déclencheurtrigger
Vues9,551
CatégorieMarketing

Créé par

Harshil Agrawal

Harshil Agrawal

@harshil1712

Tags

ifmanualtriggertwitter

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 →