Workflow to delete all the people
Hi, is there any way we can select a company, delete it, and also delete all the people associated with that company? I’m using the latest version that includes the iterator option in the workflow
8 Replies
By deleting you mean soft deleting or destroying them all together?
Hello there
Not natively from the UI but using a workflow yes you could
Yes soft delete
How is that possible ?
I'll explain in a while after I figure out the workaround
Thanks
Found solution, probably over-engineered but working
To put it simply, you need 2 workflows: one with launch manually trigger with bulk option and one with webhook
First workflow should look like on first screenshot, second like on second screenshot, code node in first workflow has code below
There's small caveat with SERVERLESS_FUNCTION_EXECUTION_LIMIT_REACHED but that's probably only me testing different things with extensibility


Appreciate your time let me try and get back to you thanks