Generate social posts and images from form inputs with OpenAI
Ready for 3.0What this workflow does
This AI workflow has 8 nodes and runs when someone submits an n8n form (“WorkflowAI Mini — Free Content Generator”). Along the way it connects OpenAI.
How it runs
Trigger: When someone submits an n8n form (“WorkflowAI Mini — Free Content Generator”).
- Code: runs custom JavaScript code
- OpenAI: uses OpenAI
- Code: runs custom JavaScript code
- OpenAI: work with image
- Finalize Post and Image (Code): runs custom JavaScript code
- Code: runs custom JavaScript code
- Display Final Result (n8n Form): shows the next form page
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (4)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - OpenAI
@n8n/n8n-nodes-langchain.openAi - n8n Form
n8n-nodes-base.form
From the author
Quick overview This workflow collects a business and topic via an n8n form, uses OpenAI to generate a ready-to-publish social post plus an image prompt, creates a matching image with OpenAI, and returns an HTML preview with the text and embedded image. How it…