Skip to main content

Notifications

Copilot Studio - General
Answered

Concatenating variables - PVA with Microsoft 365 subscriptions

Posted on by 9

Hi,

I'm developing a bot within Teams, through our M365 license.

 

I want to concatenate two variables, before I send them to an action. For instance here, I would like to send "bot.question + bot.answer" to this action, instead of strickly "bot.question":

Samuel_AI_0-1696014754095.png

 

Is there any way to achieve this with the M365 license? With the regular PVA license, I would be able to concatenate variables using the "Set variable" action, but this option does not appear to be available in the PVA for M365 license.   

 

Thanks!

Categories:
  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    The PVA web app version has all the latest capabilities while PVA For Teams is still limited to the classic version. I would highly encourage to evaluate going for the full version of PVA.

    You have an overview of what changes in this version here: Unified authoring canvas migration guidance - Power Virtual Agents | Microsoft Learn

  • Samuel_AI Profile Picture
    Samuel_AI 9 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Understood. I've deployed an Open AI GPT4 service as an API, so I guess I will need to premium PVA license to call it. 

  • Pstork1 Profile Picture
    Pstork1 63,059 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    The regular HTTP connector is Premium. But there are some actions in other connectors that will allow the use of certain HTTP calls. For example there is an action to send an HTTP REST call to SharePoint that is Standard. 

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    The available capabilities included in PVA for Teams, as part of select Microsoft 365, are described here: Get access to Power Virtual Agents - Power Virtual Agents | Microsoft Learn

    As far as I know, HTTP connector is a premium one (they show up with a diamond icon in the UI).

    The standard connectors are listed here: List of all Standard tier connectors | Microsoft Learn

  • Pstork1 Profile Picture
    Pstork1 63,059 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    As @HenryJammes mentioned the only way to make a call to anything other than a standard connector is to have a Premium license. Then you can use a custom connector in Power Automate or one of the HTTP actions. But you can do things like REST calls to SharePoint or any of the other standard actions.

  • Samuel_AI Profile Picture
    Samuel_AI 9 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    I see. @HenryJammes, so there's no way to make a call to an API through PVA for Teams? 

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Yes, like @Pstork1 , with 2 input parameters.

    That being said, PVA for Teams only covers the use of Power Automate with non-premium connectors, so, I'm not sure you can connect to OpenAI (through a connector or by making an HTTP request) @Samuel_AI 

  • Verified answer
    Pstork1 Profile Picture
    Pstork1 63,059 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    If you define two parameters in the Trigger inside the flow the PVA action will prompt you to submit two parameters.  You can then concatenate them in a Compose inside the flow.

  • Samuel_AI Profile Picture
    Samuel_AI 9 on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Thanks Henry. I thought about this as well. That said, can you let me know how I can pass two variables to Power automate?

  • HenryJammes Profile Picture
    HenryJammes on at
    Re: Concatenating variables - PVA with Microsoft 365 subscriptions

    Don't think it's possible with PVA for Teams. You could use Bot Framework Composer dialogs, but these require premium licenses. The only way to achieve this in my opinion is to do the concatenate on the Power Automate side, once you've passed the 2 variables.

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,006

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard