The flow
Starts it 1Model 6Logic 25Service 14
The steps in the order they run, from what starts it.
- 1OpenAI Chat Model2Lm Chat Open AiModel
- 2Call n8n Workflow ToolTool WorkflowModel
- 3Structured Output ParserOutput Parser StructuredModel
- 4Telegram triggerTelegram triggerStarts it
- 5AI AgentAgentModel
- 6Merge callback dataMergeLogic
- 7SwitchSwitchLogic
- 8Switch order typeSwitchLogic
- 9Switch callback actionSwitchLogic
- 10Download audio fileTelegramService
- 11Introduce to the serviceTelegramService
- 12Pass through message textSetLogic
- 13Convert callback data to commandSetLogic
- 14Prepare limit order bodySetLogic
- 15Prepare market order bodySetLogic
- 16Reply with order type errorTelegramService
- 17Prepare cancel order requestSetLogic
- 18Answer to callbackTelegramService
- 19OpenAI transcriberOpen AiModel
- 20Reply with file download errorTelegramService
- 21Normalize text fieldSetLogic
- 22Extract callback command entitiesSetLogic
- 23Prepare post order requestSetLogic
- 24Cancel an orderExecute WorkflowLogic
- 25OpenAI intents parserOpen AiModel
- 26Place an orderExecute WorkflowLogic
- 27If cancelledIfLogic
- 28Switch intentSwitchLogic
- 29If order was placedIfLogic
- 30Reply to cancel order with success messageTelegramService
- 31Reply to cancel order with OKX API result TelegramService
- 32Prepare list orders requestSetLogic
- 33Prepare list assets requestSetLogic
- 34Reply with intent parsing errorTelegramService
- 35Format order data2CodeLogic
- 36Reply to command with OKX error messageTelegramService
- 37Delete order info from the chatTelegramService
- 38List ordersExecute WorkflowLogic
- 39List assetsExecute WorkflowLogic
- 40Reply to command with OKX API resultTelegramService
- 41Split out ordersSplit OutLogic
- 42Reply with assets listingTelegramService
- 43IfIfLogic
- 44Format order data1CodeLogic
- 45Reply with empty orders messageTelegramService
- 46Reply with order dataTelegramService