Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Add a check condition for a loop in n8n

n8n template #1130
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.

Hand off to your agent

Prompt

Help me set up the n8n workflow "Add a check condition for a loop in n8n" (https://n8n.io/workflows/1130). It uses: X (Formerly Twitter). Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
  2. ✨🩷Automated Social Media Content Publishing Factory + System Prompt Composition55K
  3. Hacker News to Video Content47K
  4. AI-Powered Multi-Social Media Post Automation: Google Trends & Perplexity AI41K
  5. Publish WordPress Posts to Social Media X, Facebook, LinkedIn, Instagram with AI32K
  6. Twitter Virtual AI Influencer28K
  7. 🤖 AI content generation for Auto Service 🚘 Automate your social media📲!27K
  8. Social Media Content Generator And Publisher | X, Linkedin19K
Buy me a coffee