Triggers
Create or update a trigger
Creates a new trigger instance or updates an existing one with the same configuration. Triggers listen for events from external services (webhooks or polling) and can invoke your workflows. If a matching trigger already exists and is disabled, it will be re-enabled. Provide either a connected_account_id to pin a specific user connection, or a user_id to auto-resolve the first active connection for that user and the trigger's toolkit.
post/api/v3.1/trigger_instances/{slug}/upsert
Path parameters
slugstring required
The slug of the trigger instance. Case-insensitive (internally normalized to uppercase).
The slug of the trigger instance. Case-insensitive (internally normalized to uppercase).
Request body
Example request
{
"version": "latest"
}Response
Successfully upserted trigger instance