The flow
Starts it 2Logic 15Service 13
The steps in the order they run, from what starts it.
- 1Webhook to call for Slack commandWebhookStarts it
- 2Command workflow triggerExecute Workflow triggerStarts it
- 3REPLACE ME WITH TRIGGERSetLogic
- 4Set varsSetLogic
- 5Reply to user directlyHttp RequestService
- 6if has flagIfLogic
- 7Replying to threadSlackService
- 8Delete user here for examplePostgresService
- 9Set configSetLogic
- 10If matches env variableIfLogic
- 11Confirm user was deletedSlackService
- 12Validate webhook signatureCodeLogic
- 13Get user here for examplePostgresService
- 14Validate Slack tokenIfLogic
- 15Format data into nice structureCodeLogic
- 16Reply to user that command was receivedHttp RequestService
- 17parse commandCodeLogic
- 18Found userHttp RequestService
- 19if has workflowIfLogic
- 20if create threadIfLogic
- 21Handle other commandsSwitchLogic
- 22Start threadSlackService
- 23Alert user that thread was createdHttp RequestService
- 24Add thread infoMergeLogic
- 25Send debug urlHttp RequestService
- 26Execute target workflowExecute WorkflowLogic
- 27send helpHttp RequestService
- 28Unknown commandHttp RequestService
- 29Add debug infoSlackService
- 30Set thread infoSetLogic