The flow
Starts it 1Logic 15Service 9
The steps in the order they run, from what starts it.
- 1Read Niches from SheetsGoogle SheetsService
- 2Scheduled Email TriggerSchedule triggerStarts it
- 3Filter Pending Niches2FilterLogic
- 4Read Master Sheet DataGoogle SheetsService
- 5Batch Niches for ProcessingSplit In BatchesLogic
- 6Filter Leads Ready to SendFilterLogic
- 7Post to Google Maps APIHttp RequestService
- 8Batch Leads for SendingSplit In BatchesLogic
- 9Process Business DataCodeLogic
- 10Random Delay 20-40 SecondsWaitLogic
- 11Batch Businesses for ProcessingSplit In BatchesLogic
- 12Download from Google DriveGoogle DriveService
- 13Filter by Website PresenceFilterLogic
- 14Post to Google Search APIHttp RequestService
- 15Prepare Email ContentCodeLogic
- 16Batch Process LeadsSplit In BatchesLogic
- 17Extract Contact InformationCodeLogic
- 18Send Gmail EmailGmailService
- 19Check Email PresenceIfLogic
- 20Update Email Sent StatusGoogle SheetsService
- 21Create Outreach EmailCodeLogic
- 22Check Contact Info AvailableIfLogic
- 23Update Master Sheet with LeadsGoogle SheetsService
- 24Generate Outreach Messages2CodeLogic
- 25Append to Master SheetGoogle SheetsService