USER FLOWS (SCENARIOS)
Scenario A: Currency Exchange (Happy Path)
- User opens Bot -> Clicks "Start".
- Typebot shows menu: [💱 Exchange] [📊 Rates] [🆘 Support].
- User clicks "Exchange".
- Typebot asks: "Select City" (Buttons: Phuket, Bangkok).
- Typebot asks: "Give Currency" (Buttons: RUB, USDT).
- Typebot asks: "Amount" (Input: 100000).
- Typebot sends data to n8n
calc_rate webhook.
- n8n returns: "Rate: 34.5, You get: 2898 THB".
- Typebot shows calculation and asks "Confirm?".
- User clicks "Confirm".
- n8n creates Order in Supabase (status:
pending).
- User receives message: "Wait for operator confirmation".
Scenario B: Manager Approval
- Manager opens Admin Panel (Refine).
- Sees new order in "Pending" tab.
- Checks limits and reserves.
- Clicks "Approve".
- System (n8n) sends Telegram message to User: "Deal Approved! Here are the details...".