Category: Power Platform

Why use emojis in Power Virtual Agents?

Hello Everyone

Hope everyone is keeping safe!

In this blog we are going to talk about emojis in Power Virtual Agents. We will also touch upon GIFs and images but mostly Emojis. First of all, if you were not aware that you can use emojis in PVA, I am telling you can and that too #thecodeway. Watch the video to see it working.

If your question is why am I talking about something which is available Out of the box and is a no brainer; my answer would be:

  • I have not seen emojis being used yet in PVAs (Silly side of me)
  • Main reason: User Experience (UX) is the reason I am writing this blog.
  • Add some emotional intelligence to your PVA
  • It saves your canvas in your PVA.

Emojis are used by more than 3 billion people (and growing) which makes it the most spoken language in the world. One picture is worth ten thousand words.

For good UX your bot needs to react to different types of messages not just text.Knowing that PVA is still new in the market and is being continuously updated, there might be some emojis which you can’t use (No, I haven’t tested all 20,000 of them 😀)

Using emojis can be a great way of defining your chatbots personality and it can make the conversation casual increasing the engagement rate.

In terms of using a GIF or Image as your PVAs response, use the following and it will be shown to the user. Yes, I am also waiting for the adaptive cards #thenocodeway.

![](public URL of your GIF or Image)

Let’s watch the video, if this interests you. Following is covered in the video:

  • Creating topics with Emojis
  • Creating entities with Emojis
  • Sending response with Emojis
  • Sending response with GIF and Image

Video here:

Hope it helps!

Thanks!

Agent, Power Virtual Agent – Episode 7: Customer Identification Process In PVA

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This is the last episode of Agent, Power Virtual Agent series. Playlist here

This episode of Power Virtual Agents (PVA) is about how to identify and verify your customers in PVA. In Episode 5 we looked at authenticating internal users but what if we want to verify customers before providing them in any information.

We are going to achieve this with the help of a Power Automate Flow and PVA variables.

Video here:

Hope it helps!

Stay Safe.

Agent, Power Virtual Agent – Episode 6: Configuring Channels (Custom Website & Microsoft Teams)

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This episode of Power Virtual Agents (PVA) is about how to configure channels in your PVA.

This is #thenocodeway to leverage the power platform. Following steps are required:

Custom Website

  • Go to Channels –Custom Wesbite
  • Copy embed code
  • Go to your website and paste it on the desired page

Microsoft Teams

  • Go to Channels
    • Teams
    • Generate App ID by clicking ‘add’
  • Go to admin.teams.Microsoft.com
    • Teams apps
    • Permission policies
    • Third party apps- allow
  • Go to Teams app-Create a channel if you need to
  • Go to app studio (https://aka.ms/InstallTeamsAppStudio _Install App Studio)
    • Go to manifest editor and click create a new app
    • Enter app details
    • Then go to capabilities–bots
    • Set up an existing bot uEnter App ID generated by PVA
    • Go to finish and test your bot (Either download and upload file or just install and add)

Video here:

Hope it helps!

Stay safe!

Agent, Power Virtual Agent – Episode 5: Step by Step Authentication

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This episode of Power Virtual Agents (PVA) is about how to authenticate users in your PVA.

This is #thenocodeway to leverage the power platform. Following steps are required:

  • Go to Manage and click ‘Authentication’
  • Pre-filled and optional fields on the authentication form:
    • Service Provider
    • Scopes
  • Copy information from docs.microsoft.com for the following fields:
    • Authorisation URL query string template – ?client_id={ClientId}&response_type=code&redirect_uri={RedirectUrl}&scope={Scopes}&state={State}
    • Token URL query string template “?”
    • Refresh URL query string template “?”
    • Refresh body template -refresh_token={RefreshToken}&redirect_uri={RedirectUrl}&grant_type=refresh_token&client_id={ClientId}&client_secret={ClientSecret}
    • Scope list delimiter “,”
    • Token body template -code={Code}&grant_type=authorization_code&redirect_uri={RedirectUrl}&client_id={ClientId}&client_secret={ClientSecret}
  • Azure portal– App registration
  • Register App and get your Client ID
  • Remaining fields for authorisation configuration
    • Authorisation URL template- Overview>>Endpoints>>OAuth2.0 authorisation endpoint 2.0 (copy)
    • Token URL template-Overview>>Endpoints>>OAuth2.0 token endpoint 2.0 (copy)
    • Refresh URL template- same as token URL template
    • Scope- Your DB URL/user_impersonation

Video here:

Hope it helps!

Stay safe!

Agent, Power Virtual Agent- Episode 4: Variables and Power Automate Actions

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This episode of Power Virtual Agents (PVA) is about understanding ‘Variables’ and ‘Calling an Action’ using Power Automate in PVA.

This is #thenocodeway to leverage the power platform. Following is covered in the video:

Variables

Dynamics content like office location, brand names

Save responses as variables

Bot can use it in a response too

Variables are always associated to entities

Power Automate

  • Build Power Automate from within PVA as actions
  • Watch TGIF (Thank God it’s Flow!)
  • Input expression-
  • first(body(‘List_records’)?[‘value’])
  • Output expression-
  • outputs(‘Compose’)?[‘field schema name’]

Video here:

Hope it helps!

Stay safe!

Agent, Power Virtual Agent- Episode 3: Understanding Entities

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This episode of Power Virtual Agents (PVA) is about understanding ‘Entities’ in PVA.

This is for us #nocodemonkeys to leverage the power platform. Following is covered in the video:

  • Entities in PVA
    • To better understand a user’s intent
    • Think of it as an information unit like age, gender, shirt size, city, post code etc.
    • Prebuilt entities in PVA
    • Custom entities in PVA
  • Creating a custom entity
    • Enter name
    • List method preselected
    • Smart matching
    • Synonyms
  • Entities in a conversation
    • Identify
    • User options
  • Slot filling
    • Extracted values in an object

See you in the next episode.

Hope it helps!

Stay safe!

Agent, Power Virtual Agent- Episode 2: Understanding Topics

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This episode of Power Virtual Agents (PVA) is about understanding ‘Topics’ in PVA.

This is for us #nocodemonkeys to leverage the power platform. Following is covered in the video:

  • What are topics?
    • How do you want the conversation to play out is completely dependent on how you are authoring topics. This is the core of your bot.
  • Authoring Topics
    • Create a topic
    • Design the conversation path
    • Trigger phrases
    • Suggest topics
  • Nodes and it’s types
    • Show a message
    • Ask a question
    • End the conversation
    • Call an action
    • Go to another topic
  • System Fallback
    • When your bot is unable to determine the intent of the user

See you in the next episode.

Hope it helps!

Stay safe!

Agent, Power Virtual Agent- Episode 1: Getting Started

Hello Everyone

Hope you’re all keeping safe. For information on how to keep yourself safe from COVID-19 visit https://www.who.int/emergencies/diseases/novel-coronavirus-2019/advice-for-public

This episode of Power Virtual Agents (PVA) is about how to get started?

This is going to be a short episode as Microsoft makes it easier to build chatbots for people who don’t know programming (like Python), basically for us #thenocodemonkeys. We are covering the following topics:

  • What is Power Virtual Agent?
    • Part of Power Platform
    • No code bots
    • Allows SMEs to build a bot
    • Allow bots to take actions
  • Licensing
  • Sign up
  • Navigation
    • Home
    • Topics
    • Entities
    • Analytics
    • Publish
    • Manage

Sign up free or start free for 30 days here

Download Licensing guide here

Start your journey with this episode of Agent, Power Virtual Agent.

See you in the next episode.

Hope it helps!

Stay safe!

Agent, Power Virtual Agent- New Series

Hello DIY Fam

It’s been a while since I made my last video, 3 weeks and 3 days to be precise.

With what’s going on currently in the world, I thought it might be a good time to learn about the new member of Power Platform together. Yes, the Power Virtual Agents. New series coming soon with all new 8 episodes to get you started with PVAs.

Power Virtual Agent is super easy to make, configure and automate which makes it a super smart agent not just for us #nocodemonkeys but everyone. Remember the super smart agent Bond, James Bond yeah that’s how I thought of the name Agent, Power Virtual Agent. First episode coming up next week.

Enjoy the promo here:

Looking forward to it.

Let’s keep sharing!

Plot Multiple Map Points In Power Apps (Canvas Apps) with Dynamic Filters

Hi Everyone

In this vlog we will see how to see multiple points/pushpins on a map in canvas app. As always, this is a no code solution and fairly basic.

I have came across this requirement so many times in Dynamics 365 for e.g. show all customers on a map or contacts on a map or even appointments on a map. Many solutions are available for Dynamics 365 CE including add ons like Maplytics. But for canvas app, following issues persists:

  • No map components
  • Static bing/google maps can be inserted by inserting an image and then providing URL
  • Bing or Google maps API is required
  • Hard code latitude and longitude
  • If you want to show more than one push pin, you need to hard code all coordinates
  • You can’t apply dynamic filters on your maps

To me all of the above are not easy to use solution and that’s why I decided to look for something which all our #nocodemonkeys can use. This can be the fastest way you can plot all your customers on a map within canvas apps.

Prerequisites:

  • Access to Power Apps
  • Access to Power BI (Desktop and Web)
  • Super Basic Knowledge of how to create a chart/report in Power BI
  • Basic understanding of Power Apps formulas
  • Entity (accounts/contacts/appointments) must have Latitude and Longitude filled (otherwise it won’t be shown on maps

Note: You can get latitude and longitude by create a flow in Power Automate

Step 1-7 for Power BI and Step 8-12 Power Apps

Step 1: Go to your Power BI Desktop>>Create a connection>>Get data (e.g. Accounts)

Step 2: Once your data is loaded>>click on report icon and then add the visualisation type as shown below:

Step 3: Add data fields

Step 4: Save your Power BI report by clicking on the disk button on top left

Step 5: Login to Power BI web https://app.powerbi.com/

Step 6: Click on ‘Workspace’ in the left navigation and then click reports (this is where you can find the report you created in above steps)

Step 7: Click on the report to open and then click pin visual

Step 8: Login to Power Apps https://make.powerapps.com/ and pick your existing app or create a new canvas app

Step 9: Click Insert then ‘Power BI tile’

Step 10: Select Workspace, Dashboard and Tile

Dynamic Filtering- Step 11 & 12

Step 11: Apply dynamic filtering by adding new components like Text Input or Drop Downs. In my case, I have two drop downs and one text input; names below:

StateDropDown- With 5 values (you can have any values here)

CityDropDown-With 5 values (you can have any values here)

txtPostCode- Text input for ZIP/Postal Code

Step 12: Update the ‘TileURL’ of Power BI tile. Use the following sub-steps based on how many filters you need as it can go to Nth level (I am only showing three)

12a. One field filter

“Power BI TileURL” & If(!IsBlank(txtPostCode.Text),
“&$filter=accounts/address1_postalcode eq ‘” & txtPostCode.Text & “‘”)

12b. Two fields filter

“Power BI TileURL” & If(!IsBlank(txtPostCode.Text),
“&$filter=accounts/address1_postalcode eq ‘” & txtPostCode.Text & “‘”,
!IsBlank(CityDropdown.SelectedText.Value),
“&$filter=accounts/address1_city eq ‘” & CityDropdown.SelectedText.Value & “‘”)

12c. Three fields filter

https://app.powerbi.com/embed?dashboardId=ed06a838-8b0f-4445-a582-1890699df2d3&tileId=401efbc1-2194-4807-a07e-7e89567e49ce&config=eyJjbHVzdGVyVXJsIjoiaHR0cHM6Ly9XQUJJLUFVU1RSQUxJQS1FQVNULUEtUFJJTUFSWS1yZWRpcmVjdC5hbmFseXNpcy53aW5kb3dzLm5ldCJ9” & If(
!IsBlank(txtPostCode.Text),
“&$filter=accounts/address1_postalcode eq ‘” & txtPostCode.Text & “‘”,
!IsBlank(CityDropdown.SelectedText.Value),
“&$filter=accounts/address1_city eq ‘” & CityDropdown.SelectedText.Value & “‘”,
!IsBlank(StateDropdown.SelectedText.Value),
“&$filter=accounts/address1_stateorprovince eq ‘” & StateDropdown.SelectedText.Value & “‘”
)

Note: Screenshot below for better understanding

Result after dynamic filters

Video here:

Hope it helps!

Subscribe to my channel and follow my blog.

Thanks!

Let’s keep sharing!