I don't find an action in logic app or a rest api of excel which can delete all of the rows directly. So I think we can just loop " Delete a row " action to delete the rows one by one. Please refer to my logic app as below:
1. First I use "List rows present in a table" action to list all of the rows.
2. Then my logic app show as this:
The "Condition" inside the "For each" is to judge if Column1
is null. If the value of Column1
is null, the " Delete a row " action will show error message.
In "Delete a row" action, I choose Column1
as " Key Column " and put param Column1
into " Key Value " box.
3. After running the logic app, all of the rows will be deleted. You can add these steps under your " Send an email(v2) " action. Or if you want to do it in another logic app, you can use " When a new email arrives (V3) " as the trigger of the logic app.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.