This workflow follows the HTTP Request → OpenAI 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": "Daily AI Agent Workflow",
"nodes": [
{
"parameters": {
"triggerTimes": [
{
"mode": "everyDay",
"hour": 7,
"minute": 0
}
]
},
"id": "1",
"name": "Cron Trigger",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"model": "gpt-4o-mini",
"prompt": "Write a short and engaging English story script (30 seconds) for my AI character. Keep it cinematic and entertaining."
},
"id": "2",
"name": "OpenAI Story Writer",
"type": "n8n-nodes-base.openAi",
"typeVersion": 2,
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"position": [
500,
300
]
},
{
"parameters": {
"url": "https://api-inference.huggingface.co/models/facebook/mms-tts-eng",
"method": "POST",
"responseFormat": "file",
"jsonParameters": true,
"options": {},
"bodyParametersJson": "={\"inputs\": $json[\"data\"]}"
},
"id": "3",
"name": "HuggingFace TTS",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
},
"position": [
750,
300
]
},
{
"parameters": {
"url": "https://api.runwayml.com/v1/generate/video",
"method": "POST",
"responseFormat": "file",
"jsonParameters": true,
"bodyParametersJson": "={\"image\": \"https://drive.google.com/uc?export=download&id=1K11cd17ILueFGJxOF9L8VwXzcsiCU5wb\", \"audio\": $binary.data.data}"
},
"id": "4",
"name": "Runway Video Generator",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
},
"position": [
1000,
300
]
},
{
"parameters": {
"title": "Daily AI Story",
"description": "A short AI-generated cinematic story with my virtual character.",
"tags": "AI, Storytelling, Virtual Character, Short Film",
"privacyStatus": "public"
},
"id": "5",
"name": "YouTube Upload",
"type": "n8n-nodes-base.youtube",
"typeVersion": 1,
"credentials": {
"youtubeOAuth2Api": {
"name": "<your credential>"
}
},
"position": [
1250,
300
]
},
{
"parameters": {
"mode": "passThrough"
},
"id": "6",
"name": "Mock Video Splitter",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
1500,
300
]
},
{
"parameters": {
"model": "gpt-4o-mini",
"prompt": "Write a catchy English caption and 5 trending hashtags for TikTok/Instagram based on this story."
},
"id": "7",
"name": "OpenAI Caption Generator",
"type": "n8n-nodes-base.openAi",
"typeVersion": 2,
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
},
"position": [
1750,
300
]
},
{
"parameters": {
"chatId": "YOUR_TELEGRAM_CHAT_ID",
"text": "={{$json[\"data\"]}}",
"additionalFields": {
"caption": "={{$json[\"caption\"]}}"
}
},
"id": "8",
"name": "Telegram Send",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1,
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
},
"position": [
2000,
300
]
}
],
"connections": {
"Cron Trigger": {
"main": [
[
{
"node": "OpenAI Story Writer",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Story Writer": {
"main": [
[
{
"node": "HuggingFace TTS",
"type": "main",
"index": 0
}
]
]
},
"HuggingFace TTS": {
"main": [
[
{
"node": "Runway Video Generator",
"type": "main",
"index": 0
}
]
]
},
"Runway Video Generator": {
"main": [
[
{
"node": "YouTube Upload",
"type": "main",
"index": 0
}
]
]
},
"YouTube Upload": {
"main": [
[
{
"node": "Mock Video Splitter",
"type": "main",
"index": 0
}
]
]
},
"Mock Video Splitter": {
"main": [
[
{
"node": "OpenAI Caption Generator",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Caption Generator": {
"main": [
[
{
"node": "Telegram Send",
"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.
httpHeaderAuthopenAiApitelegramApiyoutubeOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Daily AI Agent Workflow. Uses openAi, httpRequest, youtube, telegram. Scheduled trigger; 8 nodes.
Source: https://gist.github.com/samanfrzm/74347ee23cdd8dfdfd8be53d6d6a764a — 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.
This workflow is for beauty salons who want consistent, high‑quality social media content without writing every post manually. It also suits agencies and automation builders who manage multiple beauty
Online Marketing Weekly Report. Uses scheduleTrigger, lmChatOpenAi, toolWorkflow, executeWorkflowTrigger. Scheduled trigger; 51 nodes.
This workflow retrieves Online Marketing data (Google Analytics for several domains, Google Ads, Meta Ads) from the last 7 days and the same period in the previous year. The data is then prepared by A
Who Is This For?
This workflow searches the internet for the latest news in your niche, selects the most interesting topics, writes complete long-form SEO articles with AI-generated images, and publishes them directly