How to configure custom connector to accept text instead of json in body

| Muhammad Hassan

Custom connector is an amazing way of connecting Power Platform to third party systems. We can use custom connectors in Power Automate as well as Power Apps. But sometimes the third party API’s are not configured in a proper way which makes it difficult to configure them in a Custom Connector. In this article I’ll give a walk-through of a scenario where the API accepts string in body while custom connector only allows json objects to be configured in the body.

So, first we need to configure the body of the action to accept json object. You can add any sample json object as we will delete it anyways. After updating the custom connector now turn on Swagger editor.

In the swagger editor, go to the action and search for the body.

Now remove all the properties under the body and set the schema to string.

Now you are good to send text in the body.

Join us next time, as we continue our journey of learning canvas apps.Click here to learn more about Imperium's Power Apps Services. We hope this information was useful, and we look forward to sharing more insights into the Power Platform world.


M
Chief Architect, Founder, and CEO - a Microsoft recognized Power Platform solution architect.

About The Blog

Stay updated with what is happening in the Microsoft Business Applications world and initiatives Imperium is taking to ease digital transformation for customers.


More About Us

We provide guidance and strategic oversight to C-Suite and IT Directors for on-going implementations. Feel free to give us a call.

1 331 250 27 17
Send A Message

Ready to Start?

Get a personalized consultation for your project.

Book a Meeting