How to create a Chatbot using Power Platform within 1 hour and call it a day๐Ÿ˜๐Ÿ˜

ยท

3 min read

How to create a Chatbot using Power Platform within 1 hour and call it a day๐Ÿ˜๐Ÿ˜

Howdy Comrades,

Hey Tech savvy, You

Yes YOU...! Let's witness greatness of the horizon together ๐Ÿ˜Š

Savvy

Power Platform - Let the force be with you

Well the year was late 2019, Microsoft's CEO Sathya Nadella speaks about a new way to integration of all the dots (services) together under one hood to make a great productive environment for the organizations around the globe who already part of Office 365. They introduced Power Platform, to develop and build complex business solutions, analyze, and draw data visualizations, automate a business process, or build virtual agents for communication.

Microsoft's slogan for Power Platform

Better together

Power Platform is of 4 main components

  • Power Apps
  • Power Automate
  • Power BI
  • Power Virtual Agent

#Well it's Microsoft (Ofcourse NOT free)

Money

Pre-requisite

  • Work/Office/College email ID to sign up for Power Platform
  • Power Platform even though it's under Dynamic 365 it's separate license
  • NO coding knowledge required to use Power Apps
  • Web Browser (Duh!)

How to create Chatbot using Power Platform

The Chatbot is an automated response "Virtual agent" to provide solution to the end-user. Well, in Power Platform we use a service called Power Virtual Agent to make this possible.

Disclaimer - Power Virtual Agent works only when your organization also has license for this service too and you must have privilege to access this service by your Active Directory admin.

Follow the below guide to create your own Chatbot

Step-1: Login to Power Virtual agent Portal using your Office 365 credentials

Power VA Portal

Step-2:

Create a new Project and select your desired language (Even Hindi available)

image.png

If you see this image your Project is in creating phase.. So wait for a while

image.png

Step-3:

Toggle Dark mode on (Mandatory one)

Click on cogwheel icon (settings) on the top right and click on General setting

image.png

Step-4:

I created Project called "Lens store" and this is the Project dashboard.

image.png

Step-5:

Create a new topic for your current project.

image.png

Step-6:

Define the topic and provide the trigger phrases which are the first stage for triggering the Virtual agent.

Don't forget to save it...

image.png

Go to Authoring Canvas for the next step (Important step)

Step-7:

The basic components for a virtual agent in the authoring canvas is

  • Topic (Must)
  • Question node
  • Message Node
  • Condition Node

image.png

Step-8: Canvas is open and your imagination is endless

Do create as per your requirement how your Chatbot should respond to customer's query and provide a solution accordingly.

Define required node as intended to forge a seamless experience for your customer.

image.png

Step-9:

Get the email from the user to call the action. Call an action wherever needed to make it intuitive. Action must be defined in Power Automate( Which is easy way to connect to 100+ service and will create a new blog on this one too!)

image.png

image.png

Step-10: Don't forget to do Topic Checker and save your topic

image.png

Step-11: Publish your bot to a demo site

image.png

The Chatbot for Lens Store

Finally!! We can see how our chatbot response to our queries and responds based on our inputs

image.png

image.png

Now I will receive an email from the site (real-time) for what I entered in the body section in the flow of the Power Automate. image.png

Yes!!! Got the email...

mail

image.png

My Chatbot Topic heirarchy sample canvas

image.png

image.png

Finally we done it

So, that's a bit of a stretch but it's worth a shot as you only take 1 hour to create a fully functional responsive chatbot for your need.

If you are seeing this message

You are awesome!!

Don't go gentle into that good night...

Bob

ย