STEP 2 - Choose the event that triggers the worker

Workers: Creating your First Worker - A Step By Step Example

AuthorFullName__c
Christopher Milazzo, Ravit Shapira, Sean pratt
articleNumber
000005917
ft:sourceType
Salesforce
FirstPublishedDate
2023-11-28T08:25:43Z
lastModifiedDate
2023-11-28
VersionNumber
8
We want to create a worker that checks an upload path before a file is uploaded. 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 on the “Add” button inside the card dedicated to the “BEFORE_UPLOAD” action:

User-added image
Figure 4 - How to start creating a new Worker.