#PowerAutomate – Flow to use Open Trivia Database questions in a Microsoft Teams bot πŸ€– 3/N

Hi !

In previous posts we request a Trivia quesion using the Open Trivia Database API, and sent a mesage to teams so an user can read the question and pick an answer. In today’s post, les process the user’ answer.

The flow is simple:

  • Create a new variable [strQuizResponse] to store the response for the user.
  • Validate the user answer vs the correct answer and complete the string [strQuizResponse] with CORRECT or INCORRECT.
  • Display the response to the user.
Create a new variable [strQuizResponse] to store the response for the user.

Validate the user answer vs the correct answer and complete the string [strQuizResponse] with CORRECT or INCORRECT.

Display the response to the user.

Once the flow is running, we can see in the history how the variables, conditions and responses are processed.

In example, in this question in the bot, with an incorrect answer.

question in the bot, with an incorrect answer.

This is the flow history.

We are almost there ! However, we can improve still this flow a lot πŸ˜€

And important: Join me in this 2-week FREE program @MSFTReactor
and we will learn together about Microsoft Power Pages.
We will also cover fundamentals of Power Pages architecture, components, features, and tooling.

https://aka.ms/DecPowerPagesBootcamp

Starting on Dec 05

Happy coding!

Greetings

El Bruno

More posts in my blog ElBruno.com.


Leave a comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: