Copilot Studio
QnA
-
How to set or define a list variable in Copilot Studio?
- Using
Variable managementselectSet a variable value. - Then inside
Set variableclickCreate newbutton - Then inside
To valueselectFormulatab then infxyou can define list as follows
Type Value Text List ["value1","value2","value3"]Number List [1,2,3]Table (List of Records) Table({Name:"Akash"},{Name:"Aditya"}) - Using
-
How to save inputs from Adaptive Card into Dataverse Table?
- Click on
+Icon in the flow, and selectAdd a tool - Here search for
New agent flowand select the same option - This will redirect you to the
Agent flows>Designerpage. - Here set the trigger as
When an agent calls the flow. - Then in the same block, use
Add an inputbutton to define all the variables that the agent flow will receive. These variables will hold the data to be saved in the Dataverse table row. - Again click on
+Icon in the flow, and selectAdd a new row. - Here if the setup is done already you can directly set the value for
Table nameand insert the value for respective columns. - If any column is not visible, click on
Advanced parametersdropdown and search for the column there. - Now at last again click on
+Icon in the flow, and selectRespond to copilot. - And you are done. Now you can use this flow from your Agent flow.
- Click on
-
How to convert a
choicetype tostringin Copilot Studio?- Use
Text()function - Example:
Text(Topic.VarChoice)
- Use
-
How to delete a column in Dataverse Table (encountering dependency issue)
- A common cause for this issue is a dependency in one of the table views.
- Go to your Table, and click on Columns
- Now find the column you want to delete and try deleting, if it fails then click on 3 dots, and select
Advanced>Show dependencies - Here you will see the Views if any that are blocking the delete operations
- Now go to the ‘Views’ section for the table, select the view that is causing the block, and remove the column from it.
- Select the column dropdown and click on
Removebutton. - Now retry deleting the column.
-
In Copilot Studio can you connect 2 topics?
- Yes, you can redirect from one topic to another using the “Go to another topic” node inside “Topic Management” section.
-
How to add variable to text block of adaptive card?
- In the Adaptive Card properties, use the drop-down to select either
Formula cardorJSON card. - For now only
Formula cardwill allow variable. So selectFormula card - Now go to the
textproperty of the element where you want to add the variable. - Now to add a variable you need to append it as
& Topic.Variable - Example:
text :"Thank You. Stay safe"becomestext: "Thank You " & Topic.Variable & ". Stay safe"
- In the Adaptive Card properties, use the drop-down to select either
-
Why do i see different welcome messages?
- Every agent has two types of Topics:
- Custom Topics
- System Topics
- Some of these topics are enabled by default.
- Therefore, you need to manually disable any topics you don’t need.
- Every agent has two types of Topics: