n8n
Workflow
Share Jokes On Twitter Automatically
This n8n workflow automates tasks and integrates with various services. Share Jokes On Twitter Automatically - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks and integrates with various services. Share Jokes On Twitter Automatically - ready to import and run in your n8n instance.
Features:
- Makes HTTP requests to external APIs
- Scheduled automation with cron triggers
Source Code
{
"nodes": [
{
"name": "Request blablagues",
"type": "n8n-nodes-base.httpRequest",
"position": [
750,
250
],
"parameters": {
"url": "https://api.blablagues.net/?rub=images",
"options": [],
"responseFormat": "string"
},
"typeVersion": 1,
"id": "0c8f06cb-0f8e-4c0d-8b70-f6c40eb79de7"
},
{
"name": "Recup image",
"type": "n8n-nodes-base.httpRequest",
"position": [
1000,
250
],
"parameters": {
"url": "={{$node[\"Request blablagues\"].json[\"data\"][\"data\"][\"content\"][\"media\"]}}",
"options": [],
"responseFormat": "file"
},
"typeVersion": 1,
"id": "c0125929-4f04-4ba7-b076-3ef783e2fa37"
},
{
"name": "At 17H image jokes",
"type": "n8n-nodes-base.cron",
"position": [
500,
250
],
"parameters": {
"triggerTimes": {
"item": [
{
"hour": 17
}
]
}
},
"typeVersion": 1,
"id": "cd19adb9-6130-4268-a4ba-f581dc05adf6"
},
{
"name": "Tweet image jokes",
"type": "n8n-nodes-base.twitter",
"position": [
1250,
250
],
"parameters": {
"text": "={{$node[\"Request blablagues\"].json[\"data\"][\"data\"][\"content\"][\"text\"]}}",
"additionalFields": {
"attachments": "data"
}
},
"credentials": {
"twitterOAuth1Api": {
"id": "",
"name": ""
}
},
"typeVersion": 1,
"id": "a5b5f93e-81f6-40c1-88fb-7e04bc41b3d4"
}
],
"connections": {
"Recup image": {
"main": [
[
{
"node": "Tweet image jokes",
"type": "main",
"index": 0
}
]
]
},
"At 17H image jokes": {
"main": [
[
{
"node": "Request blablagues",
"type": "main",
"index": 0
}
]
]
},
"Request blablagues": {
"main": [
[
{
"node": "Recup image",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, API credentials for connected services
Tags
#n8n
#automation
#workflow