Getting Started with Triggers
Triggers monitor specific events in apps like GitHub or Gmail and notify your agents via webhooks. When triggered, they send relevant data that your agents can act upon
Enabling & Disabling Triggers
You can enable a trigger by specifying the trigger enum, available on the dashboard
Get Config Parameters
View the required configuration parameters for enabling a trigger by using the show command. For example, this will display what parameters are needed for Github’s new star event trigger:
Enable Trigger
You need to pass the trigger enum to enable a trigger & you’ll be prompted to enter the required parameters.
Disable Trigger
You need to pass the trigger id to disable a trigger. You can get the trigger id from logs (when you enable a trigger) or from the dashboard.
Listening to Triggers
Trigger event payload for GitHub’s GITHUB_STAR_ADDED_EVENT trigger:
Listing Triggers
Deleting Triggers
Was this page helpful?