cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fernandosilva
Helper V
Helper V

Submit button

Hi there,

 

I have a form on Bot Framework Composer and now I can use it on PVA.

 

Since the form has  a Submit button, I would like to know how can I address the submit button to send the form information to my email?

 

Thanks in advance,

 

Fernando

1 ACCEPTED SOLUTION

Accepted Solutions
Monkeyman
Resolver III
Resolver III

Sure.

 

Create a new topic using the Open in Bot Framework Composer option in PVA:

 

Monkeyman_0-1647512046407.png

 

Create a new dialog, and then make sure you are on parent dialog inside left left hand menu, and then click on the arrow on the right by Dialog Interface to expand it:

 

Monkeyman_1-1647515075791.png

 

Once expanded click on Add New underneath "Output"

 

Monkeyman_2-1647515159633.png

 

Give it a name and a type i.e. string and an optional description:

 

Monkeyman_3-1647515204398.png

 

Then in your dialog, you can set the property of this output variable by using the Set properties action:

 

Monkeyman_4-1647523037340.png

Publish the bot.

 

When you then call this topic in Power Virtual Agents, you will see the output variable it has provided back to the topic.  You must redirect to the topic from another topic to be able to see the variable.

 

Monkeyman_0-1647523278470.png

 

If I have solved this for you, please accept this reply as a solution.

 

Thanks.

View solution in original post

4 REPLIES 4
Monkeyman
Resolver III
Resolver III

You could create dialog.result output variables, and then pass those variables back to Power Virtual Agents, then call a power automate cloud flow to email you what you need?

@Monkeyman 

 

That would be great to achieve. Do you have an example where I can follow?

That's what I have at the moment:

form.jpg

 

Cheers,


Fernando

 

Monkeyman
Resolver III
Resolver III

Sure.

 

Create a new topic using the Open in Bot Framework Composer option in PVA:

 

Monkeyman_0-1647512046407.png

 

Create a new dialog, and then make sure you are on parent dialog inside left left hand menu, and then click on the arrow on the right by Dialog Interface to expand it:

 

Monkeyman_1-1647515075791.png

 

Once expanded click on Add New underneath "Output"

 

Monkeyman_2-1647515159633.png

 

Give it a name and a type i.e. string and an optional description:

 

Monkeyman_3-1647515204398.png

 

Then in your dialog, you can set the property of this output variable by using the Set properties action:

 

Monkeyman_4-1647523037340.png

Publish the bot.

 

When you then call this topic in Power Virtual Agents, you will see the output variable it has provided back to the topic.  You must redirect to the topic from another topic to be able to see the variable.

 

Monkeyman_0-1647523278470.png

 

If I have solved this for you, please accept this reply as a solution.

 

Thanks.

Perfect!

Helpful resources

Announcements
Register for a free PVA chatbot creation workshop

Register for a free PVA chatbot creation workshop

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,378)