web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / generate an array as a...
Power Automate
Answered

generate an array as a return to the copilots Chatbot in the form of a button

(0) ShareShare
ReportReport
Posted on by 8

I would like help, I need to create a flow that returns from power automate to copilots, a list in the form of a button.
Example:
I need to return 3 dates for the user to select in the chatbot.
I can already do the entire return flow, just the part of transforming this return into a button that I can't do.
ps: sorry for the bad English.

Categories:
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Dracarys 

     

    Not expert in Copilot studio, try if you can pass the adaptive card via flow and show the same in copilot studio, The adaptive card display the date like this 

    Nived_Nambiar_0-1716642509402.png

     

     

    Hope this gives you some direction 🙂

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Dracarys Profile Picture
    8 on at

    This is exactly what I wanted to do, but I'm frantically looking for how to transform the items in my array into separate buttons via json and send them to copilots;

  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Dracarys 

     

    This can be achieved using adaptive cards- refer the video for better idea 

    https://youtu.be/LUPC_5b_nQA?feature=shared

     

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Dracarys Profile Picture
    8 on at

    thank you very much @Nived_Nambiar 

     

    Excellent, the video helped a lot, but I need great help, so that the json creates buttons according to the number of items in my array...


    From what I saw, the adaptive card doesn't accept javascript, now I'm seeing how to make it dynamic just using json

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @Dracarys 

     

    I did not understand what help u need around that - could you please clarify ?

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

     

  • Dracarys Profile Picture
    8 on at

    imagine that I have an adaptive card where my array returns in a button.
    data example:

    202401,202402,202403

    I would like each "," to create a different button

    ending up like this:
    button 1 -> 201401
    button 2 -> 202402...

    dynamically, because depending on my filter I return from the database 1 to 4 items within the array

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard