Wait for a trigger during the execution

The idea is:

to be able to wait for an event (a trigger ideally) in the middle of an execution. Close to the current Wait block, we want to pause the execution and wait for the trigger to happen (filtered by a correlation key to select the right execution to resume) before going to the next node.

I think it would be beneficial to add this because:

It is useful to enable event-driven development and complex orchestration flows. It will allow to use n8n and (and his high level of abstraction) with the power of a tool like Camunda which can execute BPMN file.

Any resources to support this?

Are you willing to work on this?

I can help if needed