The flow
Starts it 2Logic 13Service 6
The steps in the order they run, from what starts it.
- 1Manual Trigger (Historical Backfill)Manual triggerStarts it
- 2Schedule Trigger (Incremental)Schedule triggerStarts it
- 3Set Date Range (Historical Backfill)SetLogic
- 4Set Incremental Range (Last 7 Days)SetLogic
- 5Generate Weekly PeriodsCodeLogic
- 6Loop Over Periods (Account A)Split In BatchesLogic
- 7Loop Over Periods (Account B)Split In BatchesLogic
- 8Fetch Meta Insights (Account A)Http RequestService
- 9Fetch Meta Insights (Account B)Http RequestService
- 10Valid Response? (Account A)IfLogic
- 11Valid Response? (Account B)IfLogic
- 12Split API Response (Account A)CodeLogic
- 13Log Skipped Period (Account A)SetLogic
- 14Split API Response (Account B)CodeLogic
- 15Log Skipped Period (Account B)SetLogic
- 16If Spend not 0 (Account A)IfLogic
- 17Append to Log Sheet (Account A)Google SheetsService
- 18If Spend not 0 (Account B)IfLogic
- 19Append to Log Sheet (Account B)Google SheetsService
- 20Append to Sheet (Account A)Google SheetsService
- 21Append to Sheet (Account B)Google SheetsService