Skip to main content

triggers:write scope

Create new Platform triggers

Usage info​

Triggers can be added to your workflows either via the CLI or at runtime.

Triggers created via the CLI use the CLI token. New tokens have the triggers:write scope. Old tokens will fail with instructions to log out and log back in. The following sections describe how to create triggers using the CLI:

Triggers created at runtime by custom functions use your app’s bot token. In this case, your app must have the triggers:write scope defined within your app's manifest in order to use a trigger at runtime.