PICKED FROM N8N.IO · MARKETING & REVIEWS

When a new image or video lands in a chosen Google Drive folder, this workflow downloads it, asks OpenAI to write a caption, saves the details in Google Sheets and publishes the post to Instagram through the Facebook Graph API. It needs an Instagram Business or Creator account linked to a Facebook Page.

Template by Sagar · 11.2k views on n8n.io · listed there as “Automate Instagram posts with Google Drive, AI captions & Facebook API”

THE WORKFLOW6 NODES
FFinally Post toInstagram▲Post File Uploadin Google Drive …▲Post FileDownload in N8N …OAI Captiongenerated by Ope…▦Post File Save inGoogle SheetsFConnect FacebookAPI for Publishi…
DIFFICULTY
Intermediate
NODES
6
USES AI
Yes
PUBLISHED
April 2025

001 / WHAT HAPPENS

  1. 01

    A Google Drive trigger fires when a new file is added to the chosen folder.

  2. 02

    The file is downloaded into n8n using the Google Drive node.

  3. 03

    OpenAI writes a caption for the post.

  4. 04

    The file and caption details are saved to a Google Sheet.

  5. 05

    The Facebook Graph API nodes upload the media and publish it to Instagram.

WHO IT SUITS

Suits a retailer, venue or service business whose team drops finished photos into a shared folder and wants them posted without extra steps.

CONNECTS

  • Google Drive
  • Google Sheets
  • OpenAI
  • Instagram

002 / BEFORE YOU USE IT HERE

  • !Posts go live on Instagram with no approval step. Add a review stage or test on a spare account first, and check every caption for accuracy.
  • !Needs a Facebook Developer app and Instagram Graph API access. Setup is fiddly, and Meta may need to review the app before it can post.
  • !Uses the older OpenAI node and the Facebook Graph API, so check both still work on your n8n version before relying on them.
  • !Customer or staff details are sent to OpenAI in the US, which is a cross-border disclosure under APP 8 of the Privacy Act, so say so in your privacy policy.

LOCAL SWAP

Swap Google Drive for the Dropbox or Microsoft OneDrive node if that is where your team keeps images.

Need n8n and the AI hosted in Australia? →

004 / QUESTIONS

Anything else is quicker to answer on a call. Thirty minutes, free, with the people who would build it.

Yes. Every template on this list is free on n8n.io. You need an n8n account (n8n Cloud or self-hosted) and accounts for the apps it connects to, some of which charge for API use.

We adapt templates to your systems, add approval steps where customers are involved, host n8n in Australia when the data calls for it and hand it over documented.

Book a free call→