This workflow corresponds to n8n.io template #1464 — we link there as the canonical source.
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 →
{
"id": 95,
"name": "Scrape Twitter for mentions of company",
"nodes": [
{
"name": "Filter Tweet Data",
"type": "n8n-nodes-base.set",
"position": [
1260,
300
],
"parameters": {
"values": {
"string": [
{
"name": "Tweet",
"value": "={{$node[\"Get last 50 mentions\"].json[\"text\"]}}"
},
{
"name": "Tweet URL",
"value": "=https://twitter.com/{{$node[\"Get last 50 mentions\"].json[\"user\"][\"screen_name\"]}}/status/{{$node[\"Get last 50 mentions\"].json[\"id_str\"]}}"
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Run Every 10 Minutes",
"type": "n8n-nodes-base.cron",
"position": [
260,
320
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyX",
"unit": "minutes",
"value": 10
}
]
}
},
"typeVersion": 1
},
{
"name": "Now - 10 minutes",
"type": "n8n-nodes-base.dateTime",
"position": [
620,
320
],
"parameters": {
"value": "={{Date()}}",
"action": "calculate",
"options": {},
"duration": "={{$node[\"Run Every 10 Minutes\"].parameter[\"triggerTimes\"][\"item\"][0][\"value\"]}}",
"timeUnit": "={{$node[\"Run Every 10 Minutes\"].parameter[\"triggerTimes\"][\"item\"][0][\"unit\"]}}",
"operation": "subtract"
},
"typeVersion": 1
},
{
"name": "Get last 50 mentions",
"type": "n8n-nodes-base.twitter",
"position": [
820,
320
],
"parameters": {
"operation": "search",
"searchText": "={{$node[\"Setup\"].parameter[\"values\"][\"string\"][1][\"value\"]}}",
"additionalFields": {}
},
"credentials": {
"twitterOAuth1Api": {
"name": "<your credential>"
}
},
"typeVersion": 1
},
{
"name": "Created since last run?",
"type": "n8n-nodes-base.if",
"position": [
1020,
320
],
"parameters": {
"conditions": {
"dateTime": [
{
"value1": "={{$json[\"created_at\"]}}",
"value2": "={{$items(\"Now - 10 minutes\", 0, 0)[0].json.data}}"
}
]
}
},
"typeVersion": 1
},
{
"name": "Setup",
"type": "n8n-nodes-base.set",
"position": [
440,
320
],
"parameters": {
"values": {
"string": [
{
"name": "slackChannel",
"value": "#recent-tweets"
},
{
"name": "twitterSearchValue",
"value": "@n8n_io"
}
]
},
"options": {}
},
"typeVersion": 1
},
{
"name": "Post to Slack",
"type": "n8n-nodes-base.slack",
"position": [
1440,
300
],
"parameters": {
"text": "=New Mention!: {{$node[\"Filter Tweet Data\"].json[\"Tweet\"]}}.\nSee it here: {{$node[\"Filter Tweet Data\"].json[\"Tweet URL\"]}}",
"channel": "={{$node[\"Setup\"].parameter[\"values\"][\"string\"][0][\"value\"]}}",
"attachments": [],
"otherOptions": {}
},
"credentials": {
"slackApi": {
"name": "<your credential>"
}
},
"typeVersion": 1
}
],
"active": true,
"settings": {},
"connections": {
"Setup": {
"main": [
[
{
"node": "Now - 10 minutes",
"type": "main",
"index": 0
}
]
]
},
"Now - 10 minutes": {
"main": [
[
{
"node": "Get last 50 mentions",
"type": "main",
"index": 0
}
]
]
},
"Filter Tweet Data": {
"main": [
[
{
"node": "Post to Slack",
"type": "main",
"index": 0
}
]
]
},
"Get last 50 mentions": {
"main": [
[
{
"node": "Created since last run?",
"type": "main",
"index": 0
}
]
]
},
"Run Every 10 Minutes": {
"main": [
[
{
"node": "Setup",
"type": "main",
"index": 0
}
]
]
},
"Created since last run?": {
"main": [
[
{
"node": "Filter Tweet Data",
"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.
slackApitwitterOAuth1Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow searches for mentions of a company's name on Twitter and shares the tweets that mention it in a Slack channel. A Slack account and credentials A Twitter account and credentials Cron node executes the workflow every 10 minutes. Note that if you change the Mode from…
Source: https://n8n.io/workflows/1464/ — 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.
Scrape Twitter for mentions of company. Uses dateTime, twitter, slack. Scheduled trigger; 7 nodes.
Social media managers, creators, and brand accounts that rely on retweets for reach but want an automated, hands-off cleanup after campaigns to keep profiles tidy and on-brand.
This workflow monitors brand mentions across multiple platforms (Twitter/X, Reddit, News) and automatically detects reputation crises based on sentiment analysis and trend detection. Multi-platform mo
Etl Pipeline For Text Processing. Uses twitter, postgres, mongoDb, slack. Scheduled trigger; 9 nodes.
ETL pipeline. Uses twitter, postgres, mongoDb, slack. Scheduled trigger; 9 nodes.