The flow
Starts it 2Model 1Logic 15Service 14
The steps in the order they run, from what starts it.
- 1When CRM Lead Added to NotionNotion triggerStarts it
- 2When Gmail Bounce DetectedGmail triggerStarts it
- 3Check Valid Email FormatIfLogic
- 4If Bounce Notification ExistsIfLogic
- 5Fetch Sent Mail from Account 3GmailService
- 6Fetch Sent Mail from AccountGmailService
- 7Extract Bounced Email AddressOpen AiModel
- 8Merge Sent Emails ResultsMergeLogic
- 9Fetch All CRM LeadsNotionService
- 10Flag as Previously EmailedCodeLogic
- 11Find Matching Bounced LeadIfLogic
- 12If Previously EmailedIfLogic
- 13Update Notion for Bounced LeadNotionService
- 14Process Already Emailed LeadIfLogic
- 15Wait 7 SecondsWaitLogic
- 16Update Notion for Already EmailedNotionService
- 17Download Proposal PDF from DriveGoogle DriveService
- 18Download Specs PDF from Google DriveGoogle DriveService
- 19Merge Attachment PDFsMergeLogic
- 20Convert to Attachment BinariesCodeLogic
- 21Check Draft Review DomainIfLogic
- 22Create Gmail Draft for ApprovalGmailService
- 23Determine Contact NameIfLogic
- 24Notify Rep via TwilioTwilioService
- 25Send Generic Email via GmailGmailService
- 26Send Personalized Email via GmailGmailService
- 27Wait for Bounce NotificationWaitLogic
- 28Fetch Bounce Emails in GmailGmailService
- 29If Bounce DetectedIfLogic
- 30Update Notion for Invalid EmailNotionService
- 31If Can Update Lead StatusIfLogic
- 32Update Notion for Emailed LeadNotionService