In this article, We will see how to create a new record in Web apps through Power Platform with HTTP Post method.
In previous article, We saw how to read data from Webapp and display in Power Apps.
Here is the link for previous article HTTP Get from Web app to Power platform
This is the overall structure of Power Automate.

Step 1 : Use the Power App to get data
Step 2 : HTTP Post method.
Post method will insert a new record in the system.

Here you have to provide the Odata URL and API key
In the Body section, Add exact field name from Webapp.
This can be easily get from odata. See below.
{"@odata.context":"https://xxx.azurewebsites.net/odata/$metadata#SkillTypes",
"value":[{"Id":"4213e260-22c0-46ab-bd86-f551fd53ed35","SkillTypeCode":"Teamwork","Description":"Team work","Status":true,"SourceTypeId":"Talent"}]}
In Body section, Get the Value from Dynamic content and select “Ask in Power App”

Step 3 : Respond to Power App.
Here, I am just assigning the status code

Step 4 : Save the Power Automate.
Step 5 : Go to Power App.
Create an icon for +
Go to Actions > Power Automate > Add your Power Automate here
OnSelect Property = PUTodatafromWebapp.Run(txtskill.Text,txtdesc.Text)
txtskill.Text,txtdesc.Text – This is your input text field
Run the Power app
Enter the data and click on +

Step 6 : Validate the data in Webapp

The record is created in Webapp.
In this way, We can create a record in Webapp through Power Platform using HTTP Post method.
In next article, We will see how to use Patch method to edit/update data in Web app through Power Platform.
If you like this article, feel free to share it with others who might find it helpful! If you have any questions, feel free to reach out to me.
1 Comment
[…] Here is the link for previous article. HTTP Post from Power platform to Web app […]