Commerce Chatbot

Active Directory External Identities
App Service
Bot Service
Language Understanding

Solution Idea

If you'd like to see us expand this article with more information, implementation details, pricing guidance, or code examples, 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 diagram Download an SVG of this architecture.

Data Flow

  1. The customer uses your mobile app.
  2. Using Azure AD B2C, the user authenticates.
  3. Using the custom Application Bot, the user requests information.
  4. Cognitive Services helps process the natural language request.
  5. The response is reviewed by the 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.


Key technologies used to implement this architecture:

Next Steps

Fully deployable architectures: