<?xml version="1.0" encoding="UTF-8" ?><!-- generator=Zoho Sites --><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><atom:link href="https://www.customerconsulting.com.au/blogs/tag/approvals/feed" rel="self" type="application/rss+xml"/><title>Customer Consulting Group - Blog #Approvals</title><description>Customer Consulting Group - Blog #Approvals</description><link>https://www.customerconsulting.com.au/blogs/tag/approvals</link><lastBuildDate>Fri, 14 Nov 2025 03:38:50 -0800</lastBuildDate><generator>http://zoho.com/sites/</generator><item><title><![CDATA[Power Virtual Agents and Power Automate Better Together]]></title><link>https://www.customerconsulting.com.au/blogs/post/power-virtual-agents-and-power-automate-better-together</link><description><![CDATA[<img align="left" hspace="5" src="https://www.customerconsulting.com.au/Images/General/shutterstock_1576352020_medium.jpg"/>Discover how processes such as obtaining approval for leave can be streamlined by leveraging the native integration between Microsoft Power Virtual Agents (PVA) and Microsoft Power Automate.]]></description><content:encoded><![CDATA[<div class="zpcontent-container blogpost-container "><div data-element-id="elm_C9N6pdyZQuuHQP9gVn1huA" data-element-type="section" class="zpsection "><style type="text/css"></style><div class="zpcontainer-fluid zpcontainer"><div data-element-id="elm_pZnjcg3BR-SSbwNHu8kdJQ" data-element-type="row" class="zprow zprow-container zpalign-items- zpjustify-content- " data-equal-column=""><style type="text/css"></style><div data-element-id="elm_xKXaVpsCQ2CTl9rHFSZt-A" data-element-type="column" class="zpelem-col zpcol-12 zpcol-md-12 zpcol-sm-12 zpalign-self- "><style type="text/css"></style><div data-element-id="elm_82_jWpn7QuGgZ1avplzurw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_82_jWpn7QuGgZ1avplzurw"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-center " data-editor="true"><div style="text-align:justify;"><div><span style="color:rgb(0, 0, 0);">In the previous blog of this series,&nbsp;</span><span style="color:rgb(0, 0, 0);">we started with the basics of Power Virtual Agents and we ended up building our very first bot. This post is building on top of that so if you haven't had the chance to read the post,&nbsp;</span><span style="color:inherit;"><a href="https://www.customerconsulting.com.au/blogs/post/getting-started-with-microsoft-power-virtual-agent" title="Getting Started with Microsoft Power Virtual Agents" target="_blank" rel="">Getting Started with Microsoft Power Virtual Agents</a></span><span style="color:rgb(0, 0, 0);">, we highly recommend you have a look before diving in this one.&nbsp;</span></div></div><div style="text-align:justify;"><br></div><div><div><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">In this blog we are going to build a bot that simplifies the requests for annual leave. Our bot &quot;Brian&quot; will ask the user for some basic information such as name, how many days off they are applying for, and for which days. Then our bot will pass that information to Microsoft Power Automate, where we are going to use the Approvals action which will send a request to the HR team to approve or reject the request.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Let's dive in!<br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">First we need to create a topic and specify trigger phrases (have a look at Part 2). Below you can see that I only have four trigger phrases, but this is more than enough for our scenario. Hover just below the Trigger Phrases and press Add Node:</span></div></div></div></div></div>
</div><div data-element-id="elm_PEVIHVQJQmPtCX2lVPY4bw" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_PEVIHVQJQmPtCX2lVPY4bw"] .zpimage-container figure img { width: 384px !important ; height: 231px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_PEVIHVQJQmPtCX2lVPY4bw"] .zpimage-container figure img { width:384px ; height:231px ; } } @media (max-width: 767px) { [data-element-id="elm_PEVIHVQJQmPtCX2lVPY4bw"] .zpimage-container figure img { width:384px ; height:231px ; } } [data-element-id="elm_PEVIHVQJQmPtCX2lVPY4bw"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Trigger%20Phases%20v2.png" width="384" height="231" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_nqf9TRrX8lEeejxXxCHwQA" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_nqf9TRrX8lEeejxXxCHwQA"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:justify;"><span style="color:rgb(0, 0, 0);">As discussed last time it's a best practice to start with a message. So let's welcome the user and share what type of bot are we. Select <span style="font-weight:bold;">Show a message</span> and then introduce your bot (see example below):</span><br></p></div>
</div><div data-element-id="elm_ObkHk3Hqw7chT5Ezahkwcw" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_ObkHk3Hqw7chT5Ezahkwcw"] .zpimage-container figure img { width: 370px !important ; height: 192px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_ObkHk3Hqw7chT5Ezahkwcw"] .zpimage-container figure img { width:370px ; height:192px ; } } @media (max-width: 767px) { [data-element-id="elm_ObkHk3Hqw7chT5Ezahkwcw"] .zpimage-container figure img { width:370px ; height:192px ; } } [data-element-id="elm_ObkHk3Hqw7chT5Ezahkwcw"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Steps.png" width="370" height="192" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_Xf0lUhKEDN1Mp2NA92wYAw" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_Xf0lUhKEDN1Mp2NA92wYAw"] .zpimage-container figure img { width: 368px !important ; height: 147px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_Xf0lUhKEDN1Mp2NA92wYAw"] .zpimage-container figure img { width:368px ; height:147px ; } } @media (max-width: 767px) { [data-element-id="elm_Xf0lUhKEDN1Mp2NA92wYAw"] .zpimage-container figure img { width:368px ; height:147px ; } } [data-element-id="elm_Xf0lUhKEDN1Mp2NA92wYAw"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Message%20v2.png" width="368" height="147" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_NT5wA-YUQfsAySxPZ5QtSQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_NT5wA-YUQfsAySxPZ5QtSQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div><span style="color:rgb(0, 0, 0);">Now we are ready to proceed with questions. We can ask the user their name, the number of days they want to take off, and of course the starting date for their annual leave. Hover under the message we just created, and this time select the <span style="font-weight:bold;">Ask a question</span> option. You should get the below question template. Now let's start building our question and have a look at a new feature we haven’t yet covered - <span style="font-weight:bold;">Variable</span>.</span></div><div><br></div><div><div><span style="color:rgb(0, 0, 0);">Type your question and under Identify select <span style="font-weight:bold;">Person name</span>. The Identify area holds the <a href="https://docs.microsoft.com/en-us/power-virtual-agents/advanced-entities-slot-filling#%3A%7E%3Atext=In%20Power%20Virtual%20Agents%2C%20go%20to%20the%20Entities%2Clist%20entity%20or%20a%20Regular%20expression%20%28regex%29%20entity." title="Entities" rel="">Entities</a> that the Virtual Agent uses when creating a bot.</span></div></div></div></div>
</div><div data-element-id="elm_E2R70C8gXJf9gAnDHvSKvA" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_E2R70C8gXJf9gAnDHvSKvA"] .zpimage-container figure img { width: 321px !important ; height: 282px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_E2R70C8gXJf9gAnDHvSKvA"] .zpimage-container figure img { width:321px ; height:282px ; } } @media (max-width: 767px) { [data-element-id="elm_E2R70C8gXJf9gAnDHvSKvA"] .zpimage-container figure img { width:321px ; height:282px ; } } [data-element-id="elm_E2R70C8gXJf9gAnDHvSKvA"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Variable.png" width="321" height="282" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_6PL5B47Fggjx_qGWwksxVg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_6PL5B47Fggjx_qGWwksxVg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Notice that Power Virtual Agent has the ability to store the answers in variables. This is a very useful feature that allows us to use those answers and make the whole bot more interactive and engaging. Click on the pencil and rename the Variable to something more user friendly.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">As you can see below, once we clicked on the pencil the Variable properties panel appeared on the right-hand side of the screen and we renamed the variable to <span style="font-weight:bold;">Name</span>.</span></div></div></div>
</div><div data-element-id="elm_hyAmWpZSWKkk6VfEvW6RmA" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_hyAmWpZSWKkk6VfEvW6RmA"] .zpimage-container figure img { width: 602px !important ; height: 457px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_hyAmWpZSWKkk6VfEvW6RmA"] .zpimage-container figure img { width:602px ; height:457px ; } } @media (max-width: 767px) { [data-element-id="elm_hyAmWpZSWKkk6VfEvW6RmA"] .zpimage-container figure img { width:602px ; height:457px ; } } [data-element-id="elm_hyAmWpZSWKkk6VfEvW6RmA"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Variable%20Properties.png" width="602" height="457" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_IyRmrUDSAgvPR-RIsfTt8w" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_IyRmrUDSAgvPR-RIsfTt8w"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:rgb(0, 0, 0);">This is how this step should look like after the above edits.&nbsp;</span><br></p></div>
</div><div data-element-id="elm_T_sG9H4fnvZPG8Z3pitddg" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_T_sG9H4fnvZPG8Z3pitddg"] .zpimage-container figure img { width: 378px !important ; height: 340px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_T_sG9H4fnvZPG8Z3pitddg"] .zpimage-container figure img { width:378px ; height:340px ; } } @media (max-width: 767px) { [data-element-id="elm_T_sG9H4fnvZPG8Z3pitddg"] .zpimage-container figure img { width:378px ; height:340px ; } } [data-element-id="elm_T_sG9H4fnvZPG8Z3pitddg"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Variable%20v2.png" width="378" height="340" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_Mmq1GsDvaoTBJkJdx5-q0g" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_Mmq1GsDvaoTBJkJdx5-q0g"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Now repeat the above steps and create a few more questions, one to get the number of days and another to get the starting date. Also, don’t forget to rename your variables to something meaningful. We are going to use them later when building our first Power Automate Flow. Once you are done you should have something similar to the below:</span><br></p></div>
</div><div data-element-id="elm_pTzGJZYBdJnh_YHEkCYc6w" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_pTzGJZYBdJnh_YHEkCYc6w"] .zpimage-container figure img { width: 349px !important ; height: 704px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_pTzGJZYBdJnh_YHEkCYc6w"] .zpimage-container figure img { width:349px ; height:704px ; } } @media (max-width: 767px) { [data-element-id="elm_pTzGJZYBdJnh_YHEkCYc6w"] .zpimage-container figure img { width:349px ; height:704px ; } } [data-element-id="elm_pTzGJZYBdJnh_YHEkCYc6w"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Questions.png" width="349" height="704" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_rQbMFB4l3-ajWudv6BfXEg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_rQbMFB4l3-ajWudv6BfXEg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Now that we are ready with the questions, let’s pass them on to our well-trusted Microsoft Power Automate and see how can we leverage the capabilities of Microsoft Power Virtual Agents with flows. You know the drill, add a node under the last question but this time select <span style="font-weight:bold;">Call an action</span>.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">As you can see we have various Flows there we can use, but let's click on <span style="font-weight:bold;">Create a flow</span> to build on from scratch.</span><span style="color:inherit;">&nbsp;</span></div></div></div>
</div><div data-element-id="elm_msbQY-yB4Auly1ytWZBxPA" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_msbQY-yB4Auly1ytWZBxPA"] .zpimage-container figure img { width: 602px !important ; height: 434px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_msbQY-yB4Auly1ytWZBxPA"] .zpimage-container figure img { width:602px ; height:434px ; } } @media (max-width: 767px) { [data-element-id="elm_msbQY-yB4Auly1ytWZBxPA"] .zpimage-container figure img { width:602px ; height:434px ; } } [data-element-id="elm_msbQY-yB4Auly1ytWZBxPA"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Create%20a%20Flow.png" width="602" height="434" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_1c-EfWDmCuMYnsvDC0r49Q" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_1c-EfWDmCuMYnsvDC0r49Q"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">When you click on it a separate browser window will pop up and you will be navigated to the Microsoft Power Automate area where will be building our flow. Important here is to understand the Input and Output parameters and how we can use those.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">The Input parameters are placeholders where we are going to pass the data coming from the bot and the output parameters are what we are using to pass the data back to the bot.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Let's start by creating an Input parameter corresponding to the questions we asked earlier to the user. We have simply here added three Input parameters for Name of the user, Days requested and the Date to start the annual leave. Once ready click on the plus sign and add an action.&nbsp;</span></div></div></div>
</div><div data-element-id="elm_FbFVP_KvWDulkYKSEcFbBQ" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_FbFVP_KvWDulkYKSEcFbBQ"] .zpimage-container figure img { width: 513px !important ; height: 312px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_FbFVP_KvWDulkYKSEcFbBQ"] .zpimage-container figure img { width:513px ; height:312px ; } } @media (max-width: 767px) { [data-element-id="elm_FbFVP_KvWDulkYKSEcFbBQ"] .zpimage-container figure img { width:513px ; height:312px ; } } [data-element-id="elm_FbFVP_KvWDulkYKSEcFbBQ"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Inputs.png" width="513" height="312" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_YXjCkgwLS7bwifwm3iN_dg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_YXjCkgwLS7bwifwm3iN_dg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Type <span style="font-weight:bold;">Approvals </span>in the search bar and select the Start and Wait for approval action. Approvals is a very popular action and it allows us to create and send approval requests. At the end of the blog you will see how the approval email is structured.</span><br></p></div>
</div><div data-element-id="elm_z40KHlxwP3E2G_LTAnMVVg" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_z40KHlxwP3E2G_LTAnMVVg"] .zpimage-container figure img { width: 602px !important ; height: 688px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_z40KHlxwP3E2G_LTAnMVVg"] .zpimage-container figure img { width:602px ; height:688px ; } } @media (max-width: 767px) { [data-element-id="elm_z40KHlxwP3E2G_LTAnMVVg"] .zpimage-container figure img { width:602px ; height:688px ; } } [data-element-id="elm_z40KHlxwP3E2G_LTAnMVVg"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Automate%20Actions.png" width="602" height="688" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_ijqjgGRUa6xM4XIvAwu-6Q" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_ijqjgGRUa6xM4XIvAwu-6Q"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">As <span style="font-weight:bold;">Approval Type</span> select Approve/Reject - First to respond, for <span style="font-weight:bold;">Title </span>we have Annual Leave, but the important ones here are the next two areas. First you want to make sure you populate the <span style="font-weight:bold;">Assigned To</span> section. This will define who is responsible for approving this request. Also, another important area to fill is the <span style="font-weight:bold;">Details </span>section. It's important to share the information with the approver, making sure they have everything required to make their decision.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Click in the Details section and start typing your message. Notice that we also used variables from the previous step to make the content more dynamic.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Once you click on the Details section you will get the same pop-up as you see in the screen below. Simply type your message and when you need to use dynamic data the only thing you have to do is to click on it and it will show up in the details section (just as shown below):</span></div></div></div>
</div><div data-element-id="elm_kA-JjYbj_UdRbCvd8dcR0A" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_kA-JjYbj_UdRbCvd8dcR0A"] .zpimage-container figure img { width: 602px !important ; height: 386px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_kA-JjYbj_UdRbCvd8dcR0A"] .zpimage-container figure img { width:602px ; height:386px ; } } @media (max-width: 767px) { [data-element-id="elm_kA-JjYbj_UdRbCvd8dcR0A"] .zpimage-container figure img { width:602px ; height:386px ; } } [data-element-id="elm_kA-JjYbj_UdRbCvd8dcR0A"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Automate%20Approvals.png" width="602" height="386" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_zumLicGy_TVksdFonlHmPQ" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_zumLicGy_TVksdFonlHmPQ"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:rgb(0, 0, 0);">Finally, give your flow a meaningful name and make sure the Outcome is in the Output parameter.</span><br></p></div>
</div><div data-element-id="elm_YJd_jxsvG55DOztpct0nFQ" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_YJd_jxsvG55DOztpct0nFQ"] .zpimage-container figure img { width: 602px !important ; height: 330px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_YJd_jxsvG55DOztpct0nFQ"] .zpimage-container figure img { width:602px ; height:330px ; } } @media (max-width: 767px) { [data-element-id="elm_YJd_jxsvG55DOztpct0nFQ"] .zpimage-container figure img { width:602px ; height:330px ; } } [data-element-id="elm_YJd_jxsvG55DOztpct0nFQ"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Automate%20Outcome.png" width="602" height="330" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_ooqMsNarmWPyXPpjDQO96Q" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_ooqMsNarmWPyXPpjDQO96Q"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:justify;"><span style="color:rgb(0, 0, 0);">We are almost there. Now that we have the flow we need to map the Input parameters with our variables and create a Message that will return to the user the outcome from the approval. If you followed the steps above, the mapping should look like the below screenshot:</span><br></p></div>
</div><div data-element-id="elm_sF8tbSTYvcany4W8P1EIyg" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_sF8tbSTYvcany4W8P1EIyg"] .zpimage-container figure img { width: 307px !important ; height: 399px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_sF8tbSTYvcany4W8P1EIyg"] .zpimage-container figure img { width:307px ; height:399px ; } } @media (max-width: 767px) { [data-element-id="elm_sF8tbSTYvcany4W8P1EIyg"] .zpimage-container figure img { width:307px ; height:399px ; } } [data-element-id="elm_sF8tbSTYvcany4W8P1EIyg"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Mapping.png" width="307" height="399" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_6XdV9Ou7TtQAf2LVg5382A" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_6XdV9Ou7TtQAf2LVg5382A"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">As a last step create a message and click on the Variables. There you can select the Outcome variable which was just returned back from the flow.&nbsp;</span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);"><br></span></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Once this is done we are ready to test the flow. Go to your test bot and write a trigger phrase:</span></div></div></div>
</div><div data-element-id="elm_bWiruf5qlGBP4Nl71dYmYg" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_bWiruf5qlGBP4Nl71dYmYg"] .zpimage-container figure img { width: 416px !important ; height: 250px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_bWiruf5qlGBP4Nl71dYmYg"] .zpimage-container figure img { width:416px ; height:250px ; } } @media (max-width: 767px) { [data-element-id="elm_bWiruf5qlGBP4Nl71dYmYg"] .zpimage-container figure img { width:416px ; height:250px ; } } [data-element-id="elm_bWiruf5qlGBP4Nl71dYmYg"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Message%20v3.png" width="416" height="250" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_uAh_gq_dP6jc7w1dkR7RPw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_uAh_gq_dP6jc7w1dkR7RPw"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p><span style="color:rgb(0, 0, 0);">This is how the approval email looks:</span><br></p></div>
</div><div data-element-id="elm_vh8oQg5XXds17NEVP1M7iQ" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_vh8oQg5XXds17NEVP1M7iQ"] .zpimage-container figure img { width: 1070px ; height: 381.75px ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_vh8oQg5XXds17NEVP1M7iQ"] .zpimage-container figure img { width:723px ; height:257.95px ; } } @media (max-width: 767px) { [data-element-id="elm_vh8oQg5XXds17NEVP1M7iQ"] .zpimage-container figure img { width:415px ; height:148.06px ; } } [data-element-id="elm_vh8oQg5XXds17NEVP1M7iQ"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-fit zpimage-tablet-fallback-fit zpimage-mobile-fallback-fit hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Automate%20Approval%20Email.png" width="415" height="148.06" loading="lazy" size="fit" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_oebGxNm0hrH-0e4Krtc5Pg" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_oebGxNm0hrH-0e4Krtc5Pg"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><div><div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">Testing the flow we can see that it works nicely and it returns the approval for our day off request bac to the bot.</span></div><div style="text-align:justify;"><br></div><div style="text-align:justify;"><span style="color:rgb(0, 0, 0);">As a final tip when working with variables remember to always check the <span style="font-weight:bold;">Topic Variable Values</span>, which nicely summarises all the values we passed to variables while chatting to the bot.</span></div></div></div></div>
</div><div data-element-id="elm_-MqchFvCYH2_vkUtGzUVRw" data-element-type="image" class="zpelement zpelem-image "><style> @media (min-width: 992px) { [data-element-id="elm_-MqchFvCYH2_vkUtGzUVRw"] .zpimage-container figure img { width: 581px !important ; height: 598px !important ; } } @media (max-width: 991px) and (min-width: 768px) { [data-element-id="elm_-MqchFvCYH2_vkUtGzUVRw"] .zpimage-container figure img { width:581px ; height:598px ; } } @media (max-width: 767px) { [data-element-id="elm_-MqchFvCYH2_vkUtGzUVRw"] .zpimage-container figure img { width:581px ; height:598px ; } } [data-element-id="elm_-MqchFvCYH2_vkUtGzUVRw"].zpelem-image { border-radius:1px; } </style><div data-caption-color="" data-size-tablet="" data-size-mobile="" data-align="center" data-tablet-image-separate="false" data-mobile-image-separate="false" class="zpimage-container zpimage-align-center zpimage-size-original zpimage-tablet-fallback-original zpimage-mobile-fallback-original hb-lightbox " data-lightbox-options="
                type:fullscreen,
                theme:dark"><figure role="none" class="zpimage-data-ref"><span class="zpimage-anchor" role="link" tabindex="0" aria-label="Open Lightbox" style="cursor:pointer;"><picture><img class="zpimage zpimage-style-none zpimage-space-none " src="/Images/Screen%20Shots/Microsoft%20Power%20Virtual%20Agents%20Topic%20Variable%20Values.png" width="581" height="598" loading="lazy" size="original" data-lightbox="true"/></picture></span></figure></div>
</div><div data-element-id="elm_vx_i9KnGeJOBAxF4pWxncw" data-element-type="text" class="zpelement zpelem-text "><style> [data-element-id="elm_vx_i9KnGeJOBAxF4pWxncw"].zpelem-text { border-radius:1px; } </style><div class="zptext zptext-align-left " data-editor="true"><p style="text-align:justify;"><span style="color:rgb(0, 0, 0);">This is all for today, we hope that you enjoyed the blog. As we are going deeper now and investigate many new areas you will realise that Microsoft Power Virtual Agents is much stronger when combined with Microsoft Power Automate capabilities. Reach out if you have any questions!</span><br></p></div>
</div></div></div></div></div></div> ]]></content:encoded><pubDate>Wed, 23 Mar 2022 17:23:19 +1100</pubDate></item></channel></rss>