AgentHub

Generate branded social captions and images with OpenAI and PostFast

Quick Overview

Live
Open / InstallLast updated July 27, 2026

Description

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 Runs on a schedule every Monday, Wednesday, and Friday at 7am. Loads the brand name, image style, topic list, and a platform filter used for the current run. Fetches connected social media accounts from PostFast and keeps only accounts that match the selected platforms. Uses OpenAI (gpt-4o-mini) to generate a JSON response containing a caption and a matching image prompt. Requests pre-signed PostFast upload URLs (one per target account) and uses OpenAI (gpt-image-1) to render a 1024×1024 PNG image. 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 Install and enable the verified PostFast community node (n8n-nodes-postfast) and add your PostFast API key credentials. Add your OpenAI credentials for both the text generation (gpt-4o-mini) and image generation (gpt-image-1) steps. Update the brand name, image style, topic list, and platform filter values in the brand configuration so they match your posting strategy. Connect the desired social accounts in PostFast and ensure no more than eight connected accounts match the platform filter per run. An n8n automation workflow template by Petar Georgiev.

Author

Petar Georgiev

Platform

web

Pricing model

free

Categories

Automation
AI

Tags

n8n
workflow
http-request
code
openai

Capabilities

  • 3 nodes
  • 1 views