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": "AI Blog-to-Social Repurposer",
"active": true,
"versionId": "9d1f2a44-3c7e-4b21-8f0a-7e6d5c4b3a21",
"nodes": [
{
"name": "Every Morning",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
240,
300
],
"parameters": {
"triggerTimes": {
"item": [
{
"mode": "everyDay",
"hour": 8
}
]
}
}
},
{
"name": "Get Latest Post",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 2,
"position": [
480,
300
],
"parameters": {
"url": "https://example.com/wp-json/wp/v2/posts?per_page=1",
"options": {},
"headerParametersUi": {
"parameter": [
{
"name": "x-api-key",
"value": "sk-live-3f9a7c2e8b1d6049f5a2c7e1"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
},
{
"name": "Summarize",
"type": "n8n-nodes-base.openAi",
"typeVersion": 1.8,
"position": [
720,
300
],
"parameters": {
"resource": "text",
"prompt": "Summarize into 3 tweets:"
},
"credentials": {
"openAiApi": {
"name": "<your credential>"
}
}
},
{
"name": "Format",
"type": "n8n-nodes-base.function",
"typeVersion": 1,
"position": [
960,
300
],
"parameters": {
"functionCode": "return items.map(i => ({ json: { text: i.json.summary } }));"
}
},
{
"name": "Post to Discord",
"type": "n8n-nodes-discord.discord",
"typeVersion": 1,
"position": [
1200,
300
],
"parameters": {
"channelId": "123",
"text": "={{ $json.text }}"
}
}
],
"connections": {
"Every Morning": {
"main": [
[
{
"node": "Get Latest Post",
"type": "main",
"index": 0
}
]
]
},
"Get Latest Post": {
"main": [
[
{
"node": "Summarize",
"type": "main",
"index": 0
}
]
]
},
"Summarize": {
"main": [
[
{
"node": "Format",
"type": "main",
"index": 0
}
]
]
},
"Format": {
"main": [
[
{
"node": "Send Tweet",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {}
}
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.
httpHeaderAuthopenAiApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
AI Blog-to-Social Repurposer. Uses httpRequest, openAi, n8n-nodes-discord. Scheduled trigger; 5 nodes.
Source: https://github.com/AkuchiS/flowproof/blob/main/examples/broken-workflow.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.
AI Institutional Stock Valuation Engine with Risk Scoring & Scenario Targets
Overview This is a production-grade, fully automated stock analysis system built entirely in n8n. It combines institutional-level financial analysis, dual AI model consensus, and a self-improving back
Workflow runs at 08:00 (UK), AI stories from TechCrunch, The Verge, and the OpenAI Blog via RSS, AI to select and editorially shape one signal into a post and image prompt, generates and QA-checks a p
This automation is a complete end-to-end system designed to find, qualify, and contact B2B leads — fully automated and powered by AI. Searches for target companies on LinkedIn via Ghost Genius API, us
This comprehensive n8n automation template orchestrates a complete end-to-end workflow for generating engaging short-form Point-of-View (POV) style videos using multiple AI services and automatically