We have document libraries with important folders that should not be deleted. Rather than removing inheritance on all folders, I'm trying to set up a notification alert when certain folders are deleted.
I've set up the flow as follows, and I'm using the folder 'Test' to test the flow, but the notifications are skipped with the condition trying to only trigger with certain folders being deleted. The flow works fine without the condition steps that name the folders.
I'm new to Power Automate and would appreciate it if someone can tell me where I'm going wrong with the expression to name the folders.
The start of the flow:
The condition:
The expression I'm using to identify folders is - string(triggerOutputs()?['body/Name'])
Thanks