The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
250,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "IF",
"type": "n8n-nodes-base.if",
"position": [
600,
150
],
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$runIndex}}",
"value2": 4
}
]
}
},
"typeVersion": 1
},
{
"name": "NoOp",
"type": "n8n-nodes-base.noOp",
"position": [
750,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Twitter",
"type": "n8n-nodes-base.twitter",
"position": [
440,
300
],
"parameters": {
"text": "Hello from n8n!",
"additionalFields": {}
},
"credentials": {
"twitterOAuth1Api": "<your credential>"
},
"typeVersion": 1
}
],
"connections": {
"IF": {
"main": [
[
{
"node": "Twitter",
"type": "main",
"index": 0
}
],
[
{
"node": "NoOp",
"type": "main",
"index": 0
}
]
]
},
"Twitter": {
"main": [
[
{
"node": "IF",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "Twitter",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
twitterOAuth1Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Add A Check Condition For A Loop In N8N. Uses manualTrigger, noOp, twitter. Event-driven trigger; 4 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
New tweets. Uses twitter, airtable, stopAndError. Event-driven trigger; 8 nodes.
This workflow lets you post images to X (Twitter) by uploading binary image files obtained from any source, not just Google Drive. Whether you’re fetching images stored on Google Drive or working with
New WooCommerce Product to Twitter and Telegram. Uses twitter, telegram, wooCommerceTrigger. Event-driven trigger; 3 nodes.
Shopify Twitter. Uses twitter, telegram, shopifyTrigger. Event-driven trigger; 3 nodes.
Promote new Shopify products on Twitter and Telegram. Uses twitter, telegram, shopifyTrigger. Event-driven trigger; 3 nodes.