Activate and Deactivate rules from an external system
Last modified: Thursday June 08, 2023.
When creating a rule, you can configure an external trigger to activate and deactivate the rule.
- For example, you could arm an alarm system that sends data to a webhook in Alta Video that activates one or more rules.
- Disarming the alarm system could send data to the same webhook, deactivating the same rules if they are active.
- To activate or deactivate multiple rules at the same time, associate each rule with the same trigger in Alta Video.
Task — Create an external trigger in Alta Video
- Choose
New tool > Rules . - Select .
- Click .
- Enter a name.
- Choose
Add . - Copy down the
Webhook address andToken string.- Important: The token string is only available during this step.
- Click
Done . - Use the webhook URL and token to configure your external system. For more information, see Using external triggers and webhooks.
Task — Edit an external trigger in Alta Video
- Choose
New tool > Rules . - Select .
- Click and select
Edit trigger . - If required, click
Generate new webhook .- Copy down the
Webhook address andToken . - Click
Done . - Use the new webhook URL and token to update your external system. For more information, see Using external triggers and webhooks.
- Copy down the
Task — Delete an external trigger in Alta Video
- Choose
New tool > Rules . - Select .
- Click and select
Delete trigger . - If the trigger is in use, select another trigger for those rules.
- Choose
Delete .
Task — Configure a rule to use an external trigger
- Choose
New tool > Rules . - Follow the instructions to configure the relevant type of rule.
See Alta Video rule types. - When you create the rule, associate it with an external trigger:
- Go to
When and selectActivate/Deactivate by External Trigger . - Select the required trigger from the drop-down list.
- Go to
- To activate or deactivate multiple rules at the same time, associate each rule with the same trigger.