Generate Instagram Content from Top Trends with AI

n8n Content Creation Social Media Management Marketing

Contributed by Sabrina Ramonov 🍄. From the community directory at agents.sabrina.dev, republished with permission and full credit.

How it works

This automated workflow discovers trending Instagram posts and creates similar AI-generated content. Here's the high-level process:

1. Content Discovery & Analysis

- Scrapes trending posts from specific hashtags

- Analyzes visual elements using AI

- Filters out videos and duplicates

2. AI Content Generation

- Creates unique images based on trending content

- Generates engaging captions with relevant hashtags

- Maintains brand consistency while being original

3. Automated Publishing

- Posts content directly to Instagram

- Monitors publication status

- Sends notifications via TelegramSet up steps

Setting up this workflow takes approximately 15-20 minutes:

1. API Configuration (7-10 minutes)

- Instagram Business Account setup

- Telegram Bot creation

- API key generation (OpenAI, Replicate, Rapid API)

2. Database Setup (3-5 minutes)

- Create required database table

- Configure PostgreSQL credentials

3. Workflow Configuration (5-7 minutes)

- Set scheduling preferences

- Configure notification settings

- Test connection and permissions

Detailed technical specifications and configurations are available in sticky notes within the workflow.

Tools used: OpenAI, Telegram

Download the workflow template (JSON)

Original tutorial

Want this running in your business? KOBA42 builds and operates automations like this one.