The flow
Starts it 1Logic 12Service 24
The steps in the order they run, from what starts it.
- 1Telegram TriggerTelegram triggerStarts it
- 2Variables TGSetLogic
- 3InitializationSetLogic
- 4Start?IfLogic
- 5Referal?IfLogic
- 6Button?IfLogic
- 7Welcome message ReferalTelegramService
- 8Welcome message ManagerTelegramService
- 9ButtonsSwitchLogic
- 10Get Bot StatusPostgresService
- 11Update bot status and referalPostgresService
- 12Upsert bot status on STARTPostgresService
- 13Update bot status on GIVEAWAY RUNPostgresService
- 14Define flowSwitchLogic
- 15Add participant in GiveawayPostgresService
- 16Create GiveawayTelegramService
- 17CommandsSwitchLogic
- 18Add channelPostgresService
- 19Define Step GiveawaySwitchLogic
- 20List ChannelsTelegramService
- 21Request New ChannelTelegramService
- 22Channel ExistsTelegramService
- 23Get ParticipantsPostgresService
- 24Update bot status on GIVEAWAY REQUEST CHANNELPostgresService
- 25Random ParticipantsSortLogic
- 26Get ChannelsPostgresService
- 27TelegramTelegramService
- 28Union StatusesAggregateLogic
- 29Check Success?IfLogic
- 30Check SuccessTelegramService
- 31SMS for WinnerTelegramService
- 32Check FailedTelegramService
- 33SMS for ManagerTelegramService
- 34Delete ChannelsPostgresService
- 35Delete ParticipantsPostgresService
- 36Update bot status on START PostgresService
- 37End MessageTelegramService