The flow
Starts it 2Logic 11Service 23
The steps in the order they run, from what starts it.
- 1Trigger: every 5 minutes (Instagram)Schedule triggerStarts it
- 2Trigger: every 5 minutes (Facebook)Schedule triggerStarts it
- 3Read pending posts from sheetGoogle SheetsService
- 4Read pending posts from sheet (Facebook)Google SheetsService
- 5Skip if already posted to InstagramIfLogic
- 6Skip if already posted to FacebookIfLogic
- 7Is this a video or carousel? (Instagram)IfLogic
- 8Is this a video or album? (Facebook)IfLogic
- 9List images in Google Drive folder (Instagram)Google DriveService
- 10Download video from Google Drive (Instagram)Google DriveService
- 11List images in Google Drive folder (Facebook)Google DriveService
- 12Download video from Google Drive (Facebook)Google DriveService
- 13Download image from Google Drive (Instagram carousel)Http RequestService
- 14Upload video to Cloudinary (Instagram)Http RequestService
- 15Download image from Google Drive (Facebook)Http RequestService
- 16Setup Facebook credentials (video)SetLogic
- 17Upload image to Cloudinary (Instagram)Http RequestService
- 18Setup Instagram credentials (video)SetLogic
- 19Upload image to Cloudinary (Facebook)Http RequestService
- 20Upload and publish video to FacebookHttp RequestService
- 21Setup Instagram credentials (carousel)SetLogic
- 22Create Instagram Reel containerHttp RequestService
- 23Setup Facebook credentials (images)SetLogic
- 24Mark Facebook video as doneGoogle SheetsService
- 25Create Instagram image containerHttp RequestService
- 26Wait for Instagram video processingWaitLogic
- 27Stage photo on Facebook page (unpublished)Http RequestService
- 28Collect all Instagram image container IDsAggregateLogic
- 29Publish Instagram videoHttp RequestService
- 30Collect all Facebook photo IDsAggregateLogic
- 31Create Instagram carousel containerHttp RequestService
- 32Mark Instagram video as doneGoogle SheetsService
- 33Publish Facebook photo albumHttp RequestService
- 34Publish Instagram carouselHttp RequestService
- 35Mark Facebook album as doneGoogle SheetsService
- 36Mark Instagram carousel as doneGoogle SheetsService