Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

Return Multiple values as a String from Apply to each loop

(0) ShareShare
ReportReport
Posted on by 31

Hi, 
I have a apply to each step which is used to filter an Json Array and filter that array using another array within the loop. I wanted to know if there is anyway to return/join the multiple values I am getting from the apply to each loop i.e -

ikhan_24_0-1657557036080.png

ikhan_24_1-1657557072819.png

Is there a way to join the PS, NY value together to return as a string for my chatbot. Any help will be greatly appreciated.

 

 

Categories:
  • Expiscornovus Profile Picture
    Expiscornovus 31,081 on at
    Re: Return Multiple values as a String from Apply to each loop

    Hi @ikhan_24,

     

    If you want to filter an array the Filter Array action might be useful in this setup. Can you share a couple of screenshots of the configuration of your condition actions?

     

    Are you also able to share a sample payload of your array json values? Obviously obfuscate/anonymize the sample, if needed.

     

    This way I can make some suggestions for your specific setup.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,434

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,722

Leaderboard

Featured topics