Spaces:
Runtime error

n8nyt / workflow.json
lust4hell's picture
Create workflow.json
db13c61 verified
Raw History Blame Contribute Delete
3.57 kB
{
"name": "FREE-BLOTATO-v1",
"nodes": [
{
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyDay",
"hour": 9,
"minute": 0
}
]
}
},
"name": "Daily Trigger",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [200, 300]
},
{
"parameters": {
"url": "http://localhost:11434/api/generate",
"method": "POST",
"jsonParameters": true,
"options": {},
"bodyParametersJson": "{\n \"model\": \"llama3\",\n \"prompt\": \"Find 5 viral content ideas in NICHE: AI tools for PLATFORM: Instagram. Give hook + angle.\"\n}"
},
"name": "Research Agent",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [400, 300]
},
{
"parameters": {
"url": "http://localhost:11434/api/generate",
"method": "POST",
"jsonParameters": true,
"bodyParametersJson": "{\n \"model\": \"llama3\",\n \"prompt\": \"Write Instagram caption + reel script from this idea: {{$json[\"response\"]}}. Tone: punchy, human, non-AI.\"\n}"
},
"name": "Writer Agent",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [600, 300]
},
{
"parameters": {
"url": "http://127.0.0.1:7860/sdapi/v1/txt2img",
"method": "POST",
"jsonParameters": true,
"bodyParametersJson": "{\n \"prompt\": \"Minimal futuristic AI background, cinematic lighting\",\n \"steps\": 20\n}"
},
"name": "Visual Agent",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [800, 300]
},
{
"parameters": {
"command": "ffmpeg -loop 1 -i image.png -i voice.wav -c:v libx264 -t 30 -pix_fmt yuv420p output.mp4"
},
"name": "Video Agent",
"type": "n8n-nodes-base.executeCommand",
"typeVersion": 1,
"position": [1000, 300]
},
{
"parameters": {
"url": "https://api.bufferapp.com/1/updates/create.json",
"method": "POST",
"jsonParameters": true,
"bodyParametersJson": "{\n \"text\": \"{{$node['Writer Agent'].json['response']}}\",\n \"profile_ids\": [\"INSTAGRAM_PROFILE_ID\"]\n}"
},
"name": "Scheduler Agent",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [1200, 300]
},
{
"parameters": {
"url": "http://localhost:11434/api/generate",
"method": "POST",
"jsonParameters": true,
"bodyParametersJson": "{\n \"model\": \"llama3\",\n \"prompt\": \"Analyze engagement data and suggest improvements for next post.\"\n}"
},
"name": "Feedback Agent",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [1400, 300]
}
],
"connections": {
"Daily Trigger": {
"main": [[{ "node": "Research Agent", "type": "main", "index": 0 }]]
},
"Research Agent": {
"main": [[{ "node": "Writer Agent", "type": "main", "index": 0 }]]
},
"Writer Agent": {
"main": [[{ "node": "Visual Agent", "type": "main", "index": 0 }]]
},
"Visual Agent": {
"main": [[{ "node": "Video Agent", "type": "main", "index": 0 }]]
},
"Video Agent": {
"main": [[{ "node": "Scheduler Agent", "type": "main", "index": 0 }]]
},
"Scheduler Agent": {
"main": [[{ "node": "Feedback Agent", "type": "main", "index": 0 }]]
}
}
}