AI Caption & Hashtag Generator — Free n8n Workflow Template
Upload an image or describe your post topic, and this workflow uses OpenAI's vision and text models to generate engaging captions for each platform, along with a research-backed hashtag set. Results drop into a spreadsheet ready for scheduling.
Instant download · No signup · MIT license
Workflow nodes
Apps used
Setup guide
Requirements
- An n8n instance (Cloud or self-hosted)
- OpenAI API key (GPT-4o or later for vision)
Credentials
| App | Type | Where to get it |
|---|---|---|
| OpenAI | API key | platform.openai.com → API keys |
- 1
Import the workflow
Download and import the JSON into n8n.
- 2
Add OpenAI credentials
Open the OpenAI nodes and connect your API key.
- 3
Set your brand voice
Edit the system prompt in the caption node with your brand tone, preferred emoji style and hashtag count.
- 4
Connect your spreadsheet
Link the Google Sheets node to store generated captions for each platform.
- 5
Test and use
Send a test image or topic via the webhook and review the generated captions.
Frequently asked questions
Does it analyze the image content?+
Yes. It uses OpenAI's vision capability to describe the image, then generates relevant captions based on what it sees.
Can I customize for different platforms?+
The prompt generates separate captions for Instagram (with hashtags), LinkedIn (professional tone), X (short and punchy) and Facebook.
How many hashtags does it generate?+
By default it generates 20-30 hashtags per post. Edit the prompt to adjust the count or focus on specific niches.
Related templates
AI Blog Autopilot
Turns keywords or RSS items into AI-written blog drafts and posts them to WordPress.
GSC Weekly Report
Sends a weekly Google Search Console performance summary to email or Slack.
Keyword Rank Tracker
Tracks keyword rankings daily and logs positions to Google Sheets.
Want us to set it up for you?
We install the workflow on your n8n instance, connect credentials, and leave you with a running automation.
Get setup help