Skip to main content


Copilot Studio - General

Looping over values stored in string variable

Posted on by


I am new to power virtual agents and I am trying to build a chat bot for my personal use but I am stuck with a very silly problem.


I have a power automate flow that returns a string variable called comp = Abc, xyz, pqr

I return this variable back to my pva teams bot. Now what I want to do is to loop over the values present in this variable and create dynamic question. I don't have the access to Adaptive cards.


Can anyone suggest anything?




Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…


WarrenBelz Profile Picture

WarrenBelz 138,030

RandyHayes Profile Picture

RandyHayes 76,308

Pstork1 Profile Picture

Pstork1 63,085