This workflow follows the OpenAI → Twitter recipe pattern — see all workflows that pair these two integrations.
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 →
{
"name": "InOneButton - Engage with Relevant Tweets",
"nodes": [
{
"id": "1",
"name": "Every 2 Hours",
"type": "n8n-nodes-base.cron",
"position": [
260,
240
],
"parameters": {
"triggerTimes": [
{
"hour": "*",
"minute": "0/120"
}
]
}
},
{
"id": "2",
"name": "Search Tweets",
"type": "n8n-nodes-base.twitter",
"position": [
510,
240
],
"parameters": {
"operation": "search",
"resource": "tweet",
"query": "\"meetings\" OR \"productivity\" OR \"cognitive load\" OR \"remote work\" lang:en -is:retweet",
"returnAll": false,
"limit": 5
},
"credentials": {
"twitterOAuth1Api": "<your credential>"
}
},
{
"id": "3",
"name": "Like Tweet",
"type": "n8n-nodes-base.twitter",
"position": [
770,
140
],
"parameters": {
"operation": "like",
"resource": "tweet",
"tweetId": "={{ $json[\"id\"] }}"
},
"credentials": {
"twitterOAuth1Api": "<your credential>"
}
},
{
"id": "4",
"name": "Generate Reply",
"type": "n8n-nodes-base.openAi",
"position": [
770,
330
],
"parameters": {
"operation": "chatCompletion",
"model": "gpt-4o-mini",
"messages": [
{
"role": "system",
"content": "You create short, thoughtful founder-style replies... (SYSTEM PROMPT PER LE RISPOSTE)"
},
{
"role": "user",
"content": "Write a smart reply to this tweet: {{$json[\"text\"]}}"
}
]
},
"credentials": {
"openAIApi": "<your credential>"
}
},
{
"id": "5",
"name": "Reply to Tweet",
"type": "n8n-nodes-base.twitter",
"position": [
1040,
330
],
"parameters": {
"operation": "reply",
"resource": "tweet",
"tweetId": "={{ $json[\"id\"] }}",
"text": "={{ $json[\"choices\"][0][\"message\"][\"content\"] }}"
},
"credentials": {
"twitterOAuth1Api": "<your credential>"
}
}
],
"connections": {
"Every 2 Hours": {
"main": [
[
{
"node": "Search Tweets",
"type": "main",
"index": 0
}
]
]
},
"Search Tweets": {
"main": [
[
{
"node": "Like Tweet",
"type": "main",
"index": 0
},
{
"node": "Generate Reply",
"type": "main",
"index": 0
}
]
]
},
"Generate Reply": {
"main": [
[
{
"node": "Reply to Tweet",
"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.
openAIApitwitterOAuth1Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
InOneButton - Engage with Relevant Tweets. Uses twitter, openAi. Scheduled trigger; 5 nodes.
Source: https://github.com/mirko1075/one-button-landpage/blob/5d22d9f03b77707b57211e8497eff54dee34f175/n8n/engagement-x.json — 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.
월세장부 자동 홍보 워크플로우. Uses readBinaryFiles, openAi, twitter, httpRequest. Scheduled trigger; 5 nodes.
Auto-Post to X. Uses openAi, twitter, googleSheets. Scheduled trigger; 4 nodes.
Social Media Auto-Poster. Uses googleSheets, openAi, twitter. Scheduled trigger; 4 nodes.
InOneButton - Daily Auto Tweet. Uses openAi, twitter. Scheduled trigger; 3 nodes.
This n8n workflow template empowers creators to launch a virtual AI influencer that tweets regularly, engaging audiences with a unique niche, writing style, and inspiration. By automating content crea