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
- From the toolbar, open
> Rules . - Select
.
- Click
.
- Enter a name.
- Choose .
- Copy down the Webhook address and Token string.
- Important: The token string is only available during this step.
- Click .
- 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
- From the toolbar, open
> Rules . - Select
.
- Click
and select .
- If required, click Update webhook.
- Copy down the Webhook address and Token.
- Click .
- Use the new webhook URL and token to update your external system. For more information, see Using external triggers and webhooks.
Task — Delete an external trigger in Alta Video
- From the toolbar, open
> Rules . - Select
.
- Click
and select .
- If the trigger is in use, select another trigger for those rules.
- Choose Delete.
Task — Configure a rule to use an external trigger
- From the toolbar, open
> 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 and select Activate/Deactivate by external trigger.
- Select the required trigger from the drop-down list.
- To activate or deactivate multiple rules at the same time, associate each rule with the same trigger.