Power Apps Patch
The Power Apps Patch function can be used to create or update data. for example, you can use the Power Apps Patch function to create a SharePoint list item.
This is quite easy and well documented on the Patch function page.
Get the created item
But what do you do if you now want to get the details of the item that you just created. It would be helpful if you could collect the data created without having to query your data source.
Today I discovered that the Power Apps Patch function returns the item created. So that means that I can set a variable.
This variable can then be used to get the ID of the list item.
You could now for example use this item id to update another datasource with the ID in SharePoint without the need to query the item that was created by your Power App.