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

Notifications

Announcements

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 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2025 Season 2

#2
Expiscornovus Profile Picture

Expiscornovus 207 Most Valuable Professional

#3
trice602 Profile Picture

trice602 185 Super User 2025 Season 2

Last 30 days Overall leaderboard