Templates / Generate multi-platform social captions from blog posts with OpenAI

Generate multi-platform social captions from blog posts with OpenAI

Ready for 3.0

by Incrementors ✓ · 27 views · created 2026-07-28 · Social Media, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (7)

AI AgentOpenAI Chat Model

What it does

Quick overview This workflow collects a blog URL or pasted blog text via an n8n form, uses OpenAI to generate platform-specific social captions and image alt text, and returns a styled copy-and-paste HTML results page with one section per social network. How it works 1. Receives blog input (URL or pasted content) and an optional featured image URL from an n8n form. 2. If a blog URL is provided, downloads the page with an HTTP request and extracts readable article text from the HTML; otherwise it uses the pasted blog content. 3. Builds a single prompt that asks for platform-specific captions (including a Twitter/X thread) and featured image alt text, returned as strict JSON. 4. Sends the prompt to OpenAI Chat Model (via an AI agent) to generate the captions JSON. 5. Converts the JSON into a styled HTML page with copy buttons for each caption and displays it back to the form submission as the response. Setup 1. Add an OpenAI API credential to the OpenAI Chat Model node and choose the model you want to use. 2. Activate the workflow and open the Blog Input Form production URL to submit a blog URL or pasted blog text. 3. Ensure the blog page is publicly accessible if you use the URL option, and optionally provide a featured image URL for Instagram/Pinterest guidance and alt text display.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.