Templates / Generate branded social captions and images with OpenAI and PostFast

Generate branded social captions and images with OpenAI and PostFast

Unknown

by Petar Georgiev ✓ · 1,094 views · created 2026-07-10 · Social Media, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

Community nodes

These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

Nodes used (6)

OpenAI

What it does

Quick Overview This workflow runs three times a week to generate a branded social caption and AI image with OpenAI, then uploads the image via PostFast pre-signed URLs and schedules the post across selected connected social accounts. How it works 1. Runs on a schedule every Monday, Wednesday, and Friday at 7am. 2. Loads the brand name, image style, topic list, and a platform filter used for the current run. 3. Fetches connected social media accounts from PostFast and keeps only accounts that match the selected platforms. 4. Uses OpenAI (gpt-4o-mini) to generate a JSON response containing a caption and a matching image prompt. 5. Requests pre-signed PostFast upload URLs (one per target account) and uses OpenAI (gpt-image-1) to render a 1024×1024 PNG image. 6. Uploads the image to the provided S3 URLs and schedules a PostFast post per account with the caption and the corresponding uploaded media key for one hour later. Setup 1. Install and enable the verified PostFast community node (n8n-nodes-postfast) and add your PostFast API key credentials. 2. Add your OpenAI credentials for both the text generation (gpt-4o-mini) and image generation (gpt-image-1) steps. 3. Update the brand name, image style, topic list, and platform filter values in the brand configuration so they match your posting strategy. 4. Connect the desired social accounts in PostFast and ensure no more than eight connected accounts match the platform filter per run.

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.