Introduction to Microsoft Copilot : Collecting User Input Using Questions in Microsoft Copilot Studio.
Hello Guys,
In our previous blog, we learnt how to create Topics. Today will se how we can collect information from user.
Do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends.
In our previous blog, we created a topic called "Plan My Trip" for our Ravisha travel agent. Now, let's enhance the conversation by collecting information from users through questions.
As you can see, we have already displayed a welcome message to the user. The next step is to gather the information required to plan their trip.
Adding Questions
To collect user input, click the + button and select Ask a Question.
Configure the question as shown below.
Since we want to capture text entered by the user, we are using a String variable to store the response.
For example, you can ask questions such as:
- Where would you like to travel?
- When are you planning to travel?
- How many days would you like to stay?
- What is your approximate budget?
Each answer provided by the user is stored in a variable, which can be used later in the conversation.
Creating Multiple Questions
Using the same approach, create the remaining questions required for your trip-planning process.
As shown in the image above, we have created a total of four questions to collect the necessary travel details from the user.
These responses are now stored and ready to be used within the topic flow.
What's Next?
In the next blog, we'll learn how to use the values captured from these questions, work with variables, and generate personalized responses based on the user's inputs. This will allow our Ravisha travel agent to provide a more interactive and customized travel planning experience.
Hope it helps...

Comments
Post a Comment