Waiting for n8n verification

Google Drive to Facebook with n8n

Every new image in a Google Drive folder is published on Facebook, with the file name as the caption.

  • FacebookFacebook

Free workflow file. Import it with Workflows > Import from File.

Last updated

What you need

  • Self-hosted n8n with the n8n-nodes-bundlesocial node
  • A Google Drive credential in n8n
  • A Facebook Page connected to a bundle.social team
  • Works on the Free plan (20 posts a month)

How the workflow works

Each step is a node in the workflow, under the same name.

  1. 01

    New file in Drive folder

    The Google Drive Trigger checks the folder you pick every minute and passes on each file created since the last check.
  2. 02

    Only images

    An IF node keeps files whose MIME type starts with image/ and drops everything else, so a stray PDF never reaches Facebook.
  3. 03

    Download file

    Google Drive downloads the file into the binary field data.
  4. 04

    Upload to bundle.social

    Upload File sends the image to bundle.social and returns an upload id.
  5. 05

    Create post

    The bundle.social node creates a Facebook Page post with the image and the file name as the text.

Set it up

Credentials and troubleshooting are on the n8n integration page.

  1. On self-hosted n8n, open Settings > Community Nodes, install n8n-nodes-bundlesocial, and accept the notice.
  2. Download the workflow file and import it with Workflows > Import from File.
  3. Add a bundle.social API credential with a key from bundle.social > Organization > API Keys.
  4. Add a Google Drive credential and pick the folder to watch in New file in Drive folder.
  5. In Create post, pick the team that has the Facebook account connected.
  6. Activate the workflow, then drop a file into the folder to test it.

Related templates

Import this template

Create a free account, copy an API key, and connect the accounts this template posts to.