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 / PAD Custom Action Retu...
Power Automate
Suggested Answer

PAD Custom Action Return Object

(1) ShareShare
ReportReport
Posted on by 45
Hello Power Automate Masters,
 
I'm writing a PAD custom action and I want it to return an object, say a Dictionary<string, List<string>>. Currently my workaround is output a JSON string and use a Convert JSON string to custom object action following that. I'm wondering how to cast the Dictionary to a PAD recognizable custom object in the custom action codes?
 
Thank you.
I have the same question (0)
  • Suggested answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at
    Hi there,
    Do not complicate your custom action. Simply use a string as your output data type and return the in JSON format.
     
    Once you deploy and start using your custom object in Power Automate Desktop, you will receive the JSON output as a string you can then convert into a custom object.

    Thanks,
    Deenuji Loganathan 👩‍💻
    Power Automate Desktop Community Champion 🤖
    ------------------------------------------------------------------------------------------------------------
    Please consider marking this suggestion as a verified answer if it is useful to you and click on the heart button.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard