Skip to main content

Notifications

Copilot Studio - Topic Creation & Management
Answered

Using a variable that comes from an external source in a topic in power virtual agents

(0) ShareShare
ReportReport
Posted on by 2

i take a payload from viber and send the below payload to the power virtual agents bot to trigger the start of the conversation. the payload:

{
type: 'event',
from: { id: '' },
name: 'startConversation',
context: '10'
}

 

so what i want is to take the 'context' and use it in a topic. for example in the system topic that is triggered at the start of the conversation.

and i want the message that appears at the start of the conversation to be for example:
"Is this message about the number {context}?" where {context} i want the value of the variable context. so how do i do that?

  • Verified answer
    remidyon Profile Picture
    remidyon on at
    Re: Using a variable that comes from an external source in a topic in power virtual agents

    Hi @Bill2027 

    I have made that work in web context - maybe that same logic applies to the Viber payload. Have a look at this tutorial: (2) The Secret Power of Virtual Agents | LinkedIn

    Hope that helps-

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics