Re: Delete SQL Row when Task is removed from the Planner list of tasks
Hi @hadibook ,
Please refer to screenshot below to create the flow:

Please make sure there is a column has the same value with the Id of the task, and the column value would be unique, then you could check from each row in the sql table, to see if there is a task in the planner has the same id with the row in the Filter Array action, and if no, delete the row in the sql table.
The length expression in the flow as below:
length(body('Filter_array'))
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.