The flow
Starts it 2Logic 12Service 21
The steps in the order they run, from what starts it.
- 1When New Telegram MessageTelegram triggerStarts it
- 2Schedule Daily Compliance CheckSchedule triggerStarts it
- 3Route by Message TypeSwitchLogic
- 4Fetch Pending Onboarding RecordsNotionService
- 5Set Employee FieldsSetLogic
- 6Download Document from TelegramTelegramService
- 7Find Policy Page in NotionNotionService
- 8Send Help MessageTelegramService
- 9Filter Overdue Records (48hrs)FilterLogic
- 10Find Existing Record in NotionNotionService
- 11Check Document File TypeIfLogic
- 12Update Notion Policy StatusNotionService
- 13Send Reminder to EmployeeTelegramService
- 14Alert Manager of Overdue DocsTelegramService
- 15Normalize Existing Record CheckCodeLogic
- 16Extract Text from PDFExtract From FileService
- 17Convert Doc to Base64CodeLogic
- 18Send Shift ScheduleTelegramService
- 19Check If Returning EmployeeIfLogic
- 20Prepare Text for DeepSeek ExtractionCodeLogic
- 21Post to DeepSeek APIHttp RequestService
- 22Notify Manager of ProgressTelegramService
- 23Send Welcome Back TelegramTelegramService
- 24Create Notion Onboarding RecordNotionService
- 25Parse DeepSeek ResponseCodeLogic
- 26Send Welcome and ChecklistTelegramService
- 27Find Notion Page Using ChatIdNotionService
- 28Update Notion Status to SubmittedNotionService
- 29Create File Upload RequestCodeLogic
- 30Send Doc Received ConfirmationTelegramService
- 31Post File Upload to NotionHttp RequestService
- 32Attach Binary Data for UploadCodeLogic
- 33Post File Content to NotionHttp RequestService
- 34Build Notion Attach BlockCodeLogic
- 35Attach File Block to NotionHttp RequestService