Skip to content
Get Friday PicksSubmit

Generate Instagram Content from Top Trends with AI Image Generation

Free n8n template by mustafa kendigüzel. Connects Facebook, OpenAI, Postgres, Telegram; import it and run it.

In short: Free n8n template by mustafa kendigüzel. Connects Facebook, OpenAI, Postgres, Telegram; import it and run it. It is for n8n users who want a ready-made social & content workflow they can copy and run.

Checked on · Added

Works with

Agent / toolAccess / costLink
n8nFree self-hosted / paid cloudn8n.io
n8n templateTemplate is free. Self-hosted n8n is free; AI and API calls (OpenAI, Gemini etc.) are billed by those providers.n8n.io

What they did

mustafa kendigüzel published this as a ready-made n8n workflow. It chains these steps: Code, Facebook Graph API, HTTP Request, OpenAI, Postgres, Telegram. You import it, connect your accounts and it runs on a trigger or schedule.

How it went

Live on the official n8n template library, free to use, 71,977 views so far. Checked 2026-10-15.

How the workflow works

Good for: Instagram account owners who want a scheduled pipeline that watches what is trending under their hashtags and drafts new image posts in the same spirit.

  1. A Schedule Trigger starts the run at the times you choose.
  2. It fetches trending posts for set hashtags (the template ships with #blender3d and #isometric; change them to yours) through a third-party Instagram data API on RapidAPI, then drops videos and posts it has already handled. A Postgres table remembers what was processed.
  3. OpenAI looks at each trending image and describes what makes it work: subject, style and layout.
  4. A Flux image model on Replicate creates a new picture from that description, and OpenAI writes a caption with hashtags.
  5. The post is published to your Instagram Business account through the Facebook Graph API. The workflow checks the publishing status and sends you a Telegram message with the result.
  6. Setup takes about fifteen to twenty minutes by the author's estimate, and the sticky notes inside the workflow hold the details, including the table to create.

What you need: An Instagram Business account linked to a Facebook page, a Telegram bot, keys for OpenAI, Replicate and RapidAPI (paid per call), and a PostgreSQL database. Pulling posts through an unofficial API can break or go against Instagram's terms, and new images should be clearly your own, not copies of other creators' work.

Summarised in our own words from the template's page in the official n8n library.

Step by step

  1. Open the template on n8n.io and click "Use for free" (or copy the workflow JSON).
  2. Import it into your n8n. Self-hosted n8n is free; n8n Cloud is paid.
  3. Connect the accounts it needs: Facebook, OpenAI, Postgres, Telegram.
  4. Run it once with test data and check every node's output.
  5. Turn it on (activate) and review the first real results before trusting it fully.

Watch out for

Templates call paid APIs with your own keys. Set usage limits first and keep a human check before anything is posted or sent.

Common questions

What is this n8n use case?

Free n8n template by mustafa kendigüzel. Connects Facebook, OpenAI, Postgres, Telegram; import it and run it. mustafa kendigüzel published this as a ready-made n8n workflow. It chains these steps: Code, Facebook Graph API, HTTP Request, OpenAI, Postgres, Telegram. You import it, connect your accounts and it runs on a trigger or schedule.

How did it go?

Live on the official n8n template library, free to use, 71,977 views so far. Checked 2026-10-15.

What do I need to try it?

n8n. Cost: Template is free. Self-hosted n8n is free; AI and API calls (OpenAI, Gemini etc.) are billed by those providers. Then follow the 5 steps on this page.

Sources & credit

All credit to the original authors. We rewrite in our own words and link back. Something wrong? Report it.

Related skills and use cases in Social & Content

See all Social & Content entries →

Related

Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram thumbnailAGENT USE CASE

Generate AI Viral Videos with Seedance and Upload to TikTok, YouTube & Instagram

Free n8n template by Dr. Firas. Connects Google Sheets, OpenAI; import it and run it.

n8n logon8n
Automate Multi-Platform Social Media Content Creation with AI thumbnailAGENT USE CASE

Automate Multi-Platform Social Media Content Creation with AI

Free n8n template by Joseph LePage. Connects Facebook, Gmail, Google Gemini, LinkedIn; import it and run it.

n8n logon8n
Generate & Auto-post AI Videos to Social Media with Veo3 and Blotato thumbnailAGENT USE CASE

Generate & Auto-post AI Videos to Social Media with Veo3 and Blotato

Free n8n template by Dr. Firas. Connects Google Sheets, OpenAI; import it and run it.

n8n logon8n
Automated Social Media Content Publishing Factory + System Prompt Composition thumbnailAGENT USE CASE

Automated Social Media Content Publishing Factory + System Prompt Composition

Free n8n template by Joseph LePage. Connects Facebook, Gmail, Google Docs, Google Drive; import it and run it.

n8n logon8n
Publish WordPress Posts to Social Media X, Facebook, LinkedIn, Instagram with AI thumbnailAGENT USE CASE

Publish WordPress Posts to Social Media X, Facebook, LinkedIn, Instagram with AI

Free n8n template by Davide Boizza. Connects Facebook, Google Sheets, LinkedIn, OpenAI; import it and run it.

n8n logon8n
Automated AI Content Creation & Instagram Publishing from Google Sheets thumbnailAGENT USE CASE

Automated AI Content Creation & Instagram Publishing from Google Sheets

Free n8n template by Onur. Connects Facebook, Google Gemini, Google Sheets; import it and run it.

n8n logon8n

Free newsletter

Friday Picks

New AI tools you can use right away, in plain words. Every Friday.

Free. No spam. Unsubscribe anytime.