← All N8N workflows
AI & researchFacebook Graph ApiGoogle DriveGoogle Drive TriggerGoogle SheetsOpen Ai

Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up)

Configured with Facebook Graph Api, Google Drive, Google Drive Trigger, Google Sheets, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
IntegrationFinally Post toInstagramFacebook Graph ApiTriggerPost File Upload inGoogle Drive Folder…Google Drive TriggerFiles / mediaPost File Download inN8N (Google Drive Node)Google DriveAI & modelsAI Caption generated byOpenAIOpen AiData storePost File Save inGoogle SheetsGoogle SheetsIntegrationConnect Facebook APIfor Publishing…Facebook Graph Api

Node categories in this workflow

  • Integration
  • Trigger
  • Files / media
  • AI & models
  • Data store

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Finally Post to InstagramIntegrationFacebook Graph ApiSee node parameters
Post File Upload in Google Drive Folder TriggerTriggerGoogle Drive TriggerSee node parameters
Post File Download in N8N (Google Drive Node)Files / mediaGoogle Drivedownload
AI Caption generated by OpenAIAI & modelsOpen AiSee node parameters
Post File Save in Google SheetsData storeGoogle SheetsappendOrUpdate
Connect Facebook API for Publishing Instagram Post using N8NIntegrationFacebook Graph ApiSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • facebookGraphApi
  • googleDriveOAuth2Api
  • googleSheetsOAuth2Api
  • openAiApi

Workflow notes

Sticky Note1

👈 Set up Google Drive credentials.

When a new photo/video or carousel is uploaded to the selected folder in Google Drive for posting on Instagram, this trigger will be activated.

Follow the steps (YouTube video): https://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n

Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up)

Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up)

(Easy to set-up)

Sticky Note

👈 Set up Google Drive credentials.

This node will download the posting file in the n8n workflow.

Follow the steps (YouTube video): https://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n

Sticky Note5

👈 Set up OpenAI Message Model.

Set up credentials.

This node will create captions for the post.

Follow the steps (YouTube video): https://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n

Sticky Note6

👈 Set up Google Sheets Node.

Set up credentials.

Create a new sheet in Google Sheets (e.g., Instagram posts).

Create 3 columns: Name, Caption, and Image/Reel Link. Connect the Google sheet with this node. & connect the columns with the Google Drive Node (Name Column & Url Column with 2 parameters of Google Drive Node) and captions column with one OpenAI parameter.

Follow the steps (YouTube video): https://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n

Sticky Note7

👈 Hardest Step (Facebook Graph API):

Set up Facebook Graph API Node.

Set up credentials.

Connect query parameters with Google Sheets parameters.

This node will access your post file from Google Sheets with captions.

Follow the steps (YouTube video): https://youtu.be/L3NUp2XP_h0?si=KAjHYEZ-qedIM-n

Sticky Note8

👈

  1. Set-up Facebook Graph API) Node
  2. Set-Up Credentials

3.This Node will Directly post on your instagram.

Follow the Steps (Youtube Video) https://youtu.be/L3NUp2XP_h0?si=KAtjHYE2-qedlM-n

Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up)

Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up)

Purpose and structure

This folder contains the Automate instagram posts with Google Drive, AI Captions & Facebook Graph API Agent (Easy to Set-Up) workflow. Its executable nodes use facebookGraphApi, googleDrive, googleDriveTrigger, googleSheets, openAi. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Post File Upload in Google Drive Folder Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Googledrive/0839_GoogleDrive_GoogleSheets_Create_Triggered.json MIT; preserve source notices.

More in AI & research