Generate branded social captions and images with OpenAI and PostFast
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs on a schedule (every week at 07:00). Along the way it connects OpenAI and Postfast (community).
How it runs
Trigger: On a schedule (every week at 07:00).
- Set Brand and Style (Edit Fields (Set)): sets 4 fields: brandName, imageStyle, topics…
- Fetch PostFast Accounts (Post Fast): work with social account
- Filter Target Accounts (Code): runs custom JavaScript code
- Write Caption and Image Prompt (OpenAI): uses OpenAI
- Get Upload URL (Post Fast): work with file
- Generate Post Image (OpenAI): work with image
- Prepare Uploads (Code): runs custom JavaScript code
- Upload Image to S (HTTP Request): calls an HTTP API (PUT)
- Build Posts per Account (Code): runs custom JavaScript code
- Post Fast: uses Post Fast
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-postfast is verified or supports 3.0 (used in Fetch PostFast Accounts, Get Upload URL, PostFast Scheduler).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Post Fast
n8n-nodes-postfast.postFast - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - HTTP Request
n8n-nodes-base.httpRequest
From the author
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…