We want to create a worker that checks an upload path before a file is uploaded.
Start creating an Event Driven Worker by clicking on the corresponding button (see Figure 3)
Figure 3 - Start creating an “Event Driven Worker” from the empty state (left) or from a populated state (right).
We see that there is a worker type that is triggered before the file-upload action, named Before upload. So we will create a worker of this type by clicking “Add” inside the card dedicated to the upload action:
Figure 4 - Create a new Worker that reacts to an upload.