FM
FlowMarket
General Automation Beginner ⚡ 4 n8n Nodes

Add a check condition for a loop in n8n

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

🔌 Nodes & Integrations Used (1)

n8n Core Logic

📖 Implementation & Setup Guide

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.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Add a check condition for a loop in n8n.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →