Commerce Chatbot

Solution Idea

If you'd like to see us expand this article with more information (implementation details, pricing guidance, code examples, etc), let us know with GitHub Feedback!

Together, the Azure Bot Service and Language Understanding service enable developers to create conversational interfaces for various scenarios like banking, travel, and entertainment. For example, a hotel's concierge can use a bot to enhance traditional e-mail and phone call interactions by validating a customer via Azure Active Directory and using Cognitive Services to better contextually process customer requests using text and voice. The Speech recognition service can be added to support voice commands.

Architecture

Architecture diagram Download an SVG of this architecture.

Data Flow

  1. Customer uses your mobile app
  2. Using Azure AD B2C, the user authenticates
  3. Using the custom Application Bot, user requests information
  4. Cognitive Services helps process the natural language request
  5. Response is reviewed by customer who can refine the question using natural conversation
  6. Once the user is happy with the results, the Application Bot updates the customer's reservation
  7. Application insights gathers runtime telemetry to help development with Bot performance and usage