https://github.com/n8n-io/n8n/tree/master/packages/core/src/execution-engine

There are two ways to implement executions -

1. Simple executor that does everything in one go

Screenshot 2025-09-16 at 4.27.05 PM.png

2. Complex executor (queueing)

Screenshot 2025-09-16 at 4.30.24 PM.png