How to create a Table Variable in Copilot Studio
Hey Everyone,
This video explains how to create a table variable using formula. As a bonus, I'll show how you can also do this using For Each in the open code editor feature.
Table of contents
Introduction 00:00
Creating a topic 00:37
Adding a table variable 01:15
How to add table variable in a message 05:56
Using open code editor 07:53
Adding code for ForEach 09:10
Final demo 12:23
Conclusion 13:23
#CopilotStudio #Copilot #OpenCode #CodeEditor
Helpful Link
https://adoption.microsoft.com/en-us/...
Snippets-
-------------------------------------------------------------------------------------------------------------------------
[
{},
{}
]
-------------------------------------------------------------------------------------------------------------------------
[
{ Id: 1, Name: "Power Apps", Description: "Low-Code service to build desktop and mobile apps" },
{ Id: 2, Name: "Power Automate", Description: "Automate processes on cloud and desktop" },
{ Id: 3, Name: "Power Pages", Description: "Build beautiful websites with multiple pages" },
{ Id: 4, Name: "Fabric", Description: "An end-to-end analytics and data platform designed for enterprises " },
{ Id: 5, Name: "Copilot Studio", Description: "Create custom Copilot both as online web app and in Microsoft Teams" }
]
-------------------------------------------------------------------------------------------------------------------------
kind: Foreach
id: Foreach_GOFWYp
items: =Topic.varTable
value: Topic.CurrentItem
actions:
kind: SendActivity
id: sendActivity_uoiLTo
activity: |-
*{Topic.CurrentItem.Name}*
{Topic.CurrentItem.Description}
-------------------------------------------------------------------------------------------------------------------------
Contact information:
Twitter: / dchristian19
Facebook: / www1.christianfamily.biz
Instagram: / dan.christian.33
LinkedIn: / danchristian19
Join this channel to get access to perks:
/ @danielchristian19
Watch video How to create a Table Variable in Copilot Studio online without registration, duration hours minute second in high quality. This video was added by user Daniel Christian 19 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,339 once and liked it 68 people.