I have a couple of flows that will send out emails for approvals, but I am running into a slight problem. The flow will send the email, with the response, but I need to update the corresponding SQL record with the response. Is this possible? The initiating app is a PowerApp, and the flow is set to run after the patch statement is executed.
Hi @AthenaDepper,
How is your flow triggered?
Please try to use the action Update row to update an existing row in a table. Note, a primary key is required when using Update row action.
If your flow is triggered by a PowerApps button, you could specify the required Row id and Id from PowerApps, then update the email response to the table.
If you are using SQL Azure Database table, you could consider using triggers in the SQL connector, so that your flow could be triggered when an item is created, then update the corresponding item with the email response.
Please take a try with it on your side.
The following docs for your reference:
Introducing triggers in the SQL Connector
Best regards,
Mabel
WarrenBelz
146,618
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,957
Most Valuable Professional