Quick overview
This workflow runs daily at 19:00, reads the next Scheduled post from Google Sheets, retrieves the matching media from Google Drive, publishes the post to LinkedIn, X, and Instagram via the Facebook Graph API, and then marks the row as Uploaded.
How it works
- Runs every day at 19:00 on a schedule.
- Reads the first row in Google Sheets where the Status column equals Scheduled.
- Searches a specified Google Drive folder for a file whose name matches the sheet’s File name value and downloads it.
- Posts the content to LinkedIn as an organization update with the image attached, using the sheet’s Links field as the post text.
- Posts the same Links text to X.
- Creates and publishes an Instagram image post via the Facebook Graph API using the sheet’s file url and Links caption.
- Updates the original Google Sheets row by setting Status to Uploaded so it is not posted again.
Setup
- Connect credentials for Google Sheets, Google Drive, LinkedIn, X (Twitter), and Facebook Graph API (Instagram Business/Creator).
- Select the target Google Sheets document and sheet in both Google Sheets nodes, and ensure columns exist for Status, File name, Links, row_number, and file url.
- Set the Google Drive folder to search and make sure file names in the sheet exactly match the media file names in that folder.
- Enter your LinkedIn organization ID (posting as an organization) and your Instagram Business account ID (Graph API node/target).
- Adjust the schedule time (triggerAtHour) if you want to post at a different hour.