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 / Custom Connector - How...
Power Automate
Unanswered

Custom Connector - How to get the JSON from the user and place it in the body of the request?

(0) ShareShare
ReportReport
Posted on by 62

Hello,

 

I am building a custom connector for an application. One of the POST endpoint requires a JSON body as

 

{
"itemData": {
"Name": "string",
"Priority": "High",
"SpecificContent": {
"additionalProp1": {},
"additionalProp2": {},
"additionalProp3": {}
},
"DeferDate": "2021-07-28T13:07:46.546Z",
"DueDate": "2021-07-28T13:07:46.546Z",
"RiskSlaDate": "2021-07-28T13:07:46.546Z",
"Reference": "string",
"Progress": "string"
}
}

 

When i import from a sample, All parameters are recognized and added to the parameters except SpecificContent which is a JSON object and dynamic. How do i make this as one of the input field to accept JSON from the user?

 

Thanks

Categories:
I have the same question (0)
  • Dinesh Profile Picture
    62 on at

    Thanks for your reply!

     

    Currently it getting handled in that way. Additional prop 1, 2 and 3 are getting defined as input from the sample. But my JSON for specific content is dynamic. The properties in specific content will vary in each case. So, looking for an option to accept the specific content object from user

     

    Ex:

    {
    "itemData": {
    "Name": "string",
    "Priority": "High",
    "SpecificContent": {
    "additionalProp3": "Test"
    },
    "DeferDate": "2021-07-28T13:07:46.546Z",
    "DueDate": "2021-07-28T13:07:46.546Z",
    "RiskSlaDate": "2021-07-28T13:07:46.546Z",
    "Reference": "string",
    "Progress": "string"
    }
    }

     

    Example 2:

    {
    "itemData": {
    "Name": "string",
    "Priority": "High",
    "SpecificContent": {
    "Name": "Dinesh",
    "City": "London"
    },
    "DeferDate": "2021-07-28T13:07:46.546Z",
    "DueDate": "2021-07-28T13:07:46.546Z",
    "RiskSlaDate": "2021-07-28T13:07:46.546Z",
    "Reference": "string",
    "Progress": "string"
    }
    }

  • Dinesh Profile Picture
    62 on at

    Sorry.. for the late reply

     

    How did you mange to get the collection as Input? what is the datatype to be chosen for this?

  • HEATFreight Profile Picture
    1,024 on at

    He's doing that in Power Automate. You add a new action to a flow and select the >Custom tab and your custom connector should be there.

  • HEATFreight Profile Picture
    1,024 on at

    You should be able to pass in a JSON object from Power Apps using the JSON function.

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard