The flow
Starts it 3Logic 3Service 27
The steps in the order they run, from what starts it.
- 1Watch contracts folder in DriveGoogle Drive triggerStarts it
- 2Every morningSchedule triggerStarts it
- 3Agreement reached a final stateTurbo Docx triggerStarts it
- 4Post batch started to SlackSlackService
- 5Get outstanding agreements from AirtableAirtableService
- 6Find the Airtable row by document IDAirtableService
- 7Get contracts ready to send from AirtableAirtableService
- 8Keep only unsigned for 3+ daysCodeLogic
- 9Signed or killed?IfLogic
- 10Loop over each contractSplit In BatchesLogic
- 11Send reminder with TurboDocxTurbo DocxService
- 12Download signed agreementTurbo DocxService
- 13Mark declined in AirtableAirtableService
- 14Generate agreement with TurboDocxTurbo DocxService
- 15Record reminder in AirtableAirtableService
- 16File signed agreement in DriveGoogle DriveService
- 17Post declined to SlackSlackService
- 18Mark generated in AirtableAirtableService
- 19Post send failure to SlackSlackService
- 20Post reminder sent to SlackSlackService
- 21Get audit trailTurbo DocxService
- 22Post document generated to SlackSlackService
- 23Mark failed in AirtableAirtableService
- 24Convert audit trail to a fileConvert To FileService
- 25Download the agreement as PDFTurbo DocxService
- 26File audit trail in DriveGoogle DriveService
- 27Send agreement for signatureTurbo DocxService
- 28Mark signed in AirtableAirtableService
- 29Mark sent for signature in AirtableAirtableService
- 30Post signed to SlackSlackService
- 31Post sent for signature to SlackSlackService
- 32Fetch signed PDF for the emailTurbo DocxService
- 33Email accounting the executed contractGmailService