| Overview | Sample |
|---|---|
| This template is the first of its kind: it automatically generates both the caption and the image for your Instagram posts by analysing your existing feed, with zero spreadsheets or manual steps. <br><br> Once configured, the workflow runs on a schedule, fetches your past posts, and uses a custom AI agent to craft a new caption and image prompt. Then creates the image via OpenRouter (Nano Banana) and stores everything in Airtable. A Telegram message gives you one‑tap control to confirm, regenerate or cancel; if confirmed, the post is published directly to Instagram. <br><br>Perfect for creators and marketers who want fresh, on‑brand content without daily manual effort. | ![]() |
Scheduling: A schedule trigger initiates the workflow at your chosen time.
Feed Analysis: The workflow uses your Instagram business account ID and access token to fetch past posts.
AI Content Generation: A custom AI agent analyses your captions, applies category tag, and writes a new caption and a detailed image prompt. If there is no content it will be based on the category to create something new.
Image Creation: The prompt is sent to the Nano Banana model on OpenRouter to generate a new image. The binary is converted to JPEG and stored in Airtable wih the caption and prompt.
Approval via Telegram: A Telegram bot sends you the generated image, caption and three inline buttons: Confirm, Regenerate and Cancel.
Publishing: When confirmed, the workflow uses the image’s public URL (generated in Airtable and served via an n8n webhook) to create and publish the post on Instagram.
id, img_prompt, caption, data_binary, action, mime_type, created_at.Define Category node to steer the content theme (e.g. natural landscapes, urban fashion).instagram_basic and instagram_content_publish permissions)