Creating an Action Flow with a Trigger
Before you begin
You must be an analyst with access to the Celonis Platform Studio.
You must have “edit permissions” on a package or need to create a new package.
You must have an existing Knowledge Model.
Make sure you already have a Trigger created. If not, create one before starting this task. See Creating Triggers using records.
To create an Action Flow with a Trigger:
Create a new Action Flow:
In Studio, click the plus icon on your package, and select Action Flow.
Give your Action Flow a name and click Create.
Add the Trigger module to the Action Flow:
Click the plus icon to add a new module.
From the list of modules, select Celonis > Watch Trigger.
In your module details, add a new webhook:
Next to the webhook list, click Add.
Give your webhook a name.
Select the connection type.
Note
We recommend that you use the App Key connection type for this. The App Key must have the following permissions:
"Use" permission to the Data Model that underlies the Knowledge Model.
"Edit" permission to the package that contains the Knowledge Model.
Select the Knowledge Model.
Select the Trigger you want to use with this Action Flow.
Click Save.
Build the rest of your Action Flow
Note
You can use any attributes of the record defined in the Knowledge Model as the output of the Watch Trigger.
[Optional] Test the Action Flow you’ve just built and the Trigger connection:
At the top of the page, click Run once.
Go to the Trigger overview page.
Select the Trigger you used in the Action Flow.
In the upper-right corner of the Trigger details screen, click the Trigger status.
Click Test Action Flow.
A record item that meets your triggering criteria is picked and sent to the Action Flow to allow you to test your configuration".
For all your changes to take effect, click Publish Package.
In your dedicated Action Flow screen, switch the Active toggle.
[Optional] As a best practice, activate incomplete executions.
Whenever the trigger detects a new record item, the Action Flow will be triggered.