Generate trending Instagram content with AI-powered images
Workflow Description
Scheduled automation that creates on-trend Instagram content by leveraging AI models to generate high-quality images, store data in a relational database, and distribute notifications across multiple channels including Telegram and social platforms.
How it works
- 1.Scheduled trigger executes the workflow at regular intervals
- 2.Generate content concepts using OpenAI's language models
- 3.Create visuals through AI image generation capabilities
- 4.Process data in batches and persist to Postgres database
- 5.Send notifications via Telegram and post to social platforms
Use cases
- Digital agencies and marketers: produce consistent, high-quality content without manual effort
- E-commerce businesses: automatically display products with compelling visuals on Instagram
- Content creators: reclaim production time to focus on strategy rather than execution
Requirements
- Active OpenAI account with sufficient API credits
Service Value
Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.
Apps Used
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (44)
If media status is finished
If
If media status is finished1
If
Telegram
Set
Telegram1
Set
Telegram2
Set
Loop Over Items
Split In Batches
Schedule Trigger1
Schedule Trigger
Telegram Params
Set
Instagram params
Set
Sticky Note2
Sticky Note
Rapid Api params
Set
filter the image content
Code
get top trends on instagram #blender3d
HTTP Request
get top trends on instagram #isometric
HTTP Request
merge the array content
Merge
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note
Sticky Note7
Sticky Note
Sticky Note8
Sticky Note
Check Data on Database Is Exist
Postgres
If Data is Exist
If
Sticky Note9
Sticky Note
send error message to telegram
Set
insert data on db
Postgres
Analyze Image and give the content
OpenAI
Analyze Content And Generate Instagram Caption
OpenAI
Sticky Note
Sticky Note
Prepare data on Instagram
Facebook Graph Api
Check Status Of Media Before Uploaded
Facebook Graph Api
Publish Media on Instagram
Facebook Graph Api
Check status of post
Facebook Graph Api
Sticky Note1
Sticky Note
Sticky Note10
Sticky Note
filter the image content-2
Code
Sticky Note11
Sticky Note
Replicate params
Set
Generate image on flux
HTTP Request
Sticky Note12
Sticky Note
Sticky Note13
Sticky Note
Sticky Note14
Sticky Note
Sticky Note15
Sticky Note
Sticky Note16
Sticky Note