Power Platform Developer Exam: Two Activities to Create a PVA Bot for Email-Based Weather Queries

PVA Bot Creation Activities

Question

You create a PVA bot.

You want the bot to check your email messages and answer the questions about local weather.

Please select two activities that can help you accomplish your goal.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

Correct Answers: B and E

You can extend your bot's functionality by adding actions using Power Automate and new conversational topics by adding the Bot Framework Skills.

Power Automate flows provide to a bot relatively simple one-turn actions, like local weather.

The skills can add complex and multi-turn operations, like check email messages and read selective messages.

Power Automate provides a trigger and action for PVA bots.

If a bot needs to access the local weather information, you can build an Instant flow that a bot's call would trigger.

Environment

Power Apps | Test Studio (Preview) - Northwind Orders (Canvas) & (Coen)

sb Move down Hl Insert step above |“ Bi Insert step below | \ Iii] Delete Save E} Publish [> Play © Copy play link
= | Tests x 3 2
Suite 2
Result steps applied EA View
oe New suite Enter a suite description
Ek Test
Ess Case
Suite Enter a case description
Case —
Order Step Screen Action Play status
Oo 1. Set 'ComboBox1'Selecteditems to Table({'n... yb: Screen1 SetProperty('ComboBox1'.SelectedItems, Table({'nwind_productsi... :
2 Select ‘ComboBox1" Ny Move down ee comnaba y -

8 insert step above >) Assert

3. Set 'TextInputt ‘Text to "24" Input1'.Text, "24") -

Insert step below | >} SetProperty

4 Select ‘icon! Ti] Delete Select

Trace

5. Enter a step description 6

Using the "Call an action" node within a topic, you can call the "Local Weather" trigger to start the flow.

Message : sree

Authenticate
e S

Go to Manage > Security > Authentication to configure

Create a flow

@ Ei Launches Power Automate in a new window
[a Ask a question
Local Weather
4 Callanaction View flow details [4
[1 Show a message @
@ Go to another topic >

End the conversation t

The Power Automate returns the results of the flow execution for the bot to consume.

Currently, the Bot Framework provides out-of-the-box Calendar, Email, ToDo, and Point of interest skills.

You can add them to your bot using the PVA portal Manage/Skills menu item.

The skills are the conversational bots that automated the series of actions.

You can connect the skill bots with other bots.

Power Virtual Agents | WLBot
_ 1 .
=> ++ Add skill | Qy Provide ID for allow list
Home .
Skills

Topics

@

=

ES Entities
2 Analytics
a

Publish

~~ Manage @ A
Details
Channels

Security

| Skills © Add your first skill

Al capabilities

Skills extend your bot's conversational capabilities by automating a series of actions
within a topic. They enable the bot to book an appointment, send a confirmation email,
manage tasks, and more.

Add skill Learn More

All other options are incorrect.

For more information about extending the Power Virtual Agents bots, please visit the below URLs:

To accomplish the goal of checking email messages and answering questions about the local weather in a PVA bot, you would need to use two activities: Automated Flow and Skills.

  1. Automated Flow: An automated flow is a sequence of actions that automate a process. You can use automated flows to perform actions on data in Microsoft Power Platform, such as creating a new record in Dynamics 365 or sending an email. You can use an automated flow to connect to your email account and retrieve messages, then use the weather API to get the local weather and send the answer back to the user. This way, the bot can perform the task of checking email messages and answering questions about the local weather without human intervention.

  2. Skills: A skill is a pre-built conversational experience that can be integrated into a PVA bot. Microsoft provides pre-built skills for various tasks, such as booking a flight or ordering food. You can use a pre-built weather skill to answer questions about the local weather in your bot. This way, the bot can respond to the user's request without the need for any custom development.

Business process flow, business rules, and instant flow are not relevant activities to accomplish the goal of checking email messages and answering questions about the local weather in a PVA bot. Business process flow is used to guide users through a process, while business rules are used to enforce data validation and enforce business policies. Instant flow is used to perform an action in response to an event in real-time, but it is not necessary for the given scenario.