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

  1. Choose Tools New tool > Rules Rules.
  2. Select External Triggers.
  3. Click add new trigger.
  4. Enter a name.
  5. Choose Add.
  6. Copy down the Webhook address and Token string.
    1. Important: The token string is only available during this step.
  7. Click Done.
  8. 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

  1. Choose Tools New tool > Rules Rules.
  2. Select External Triggers.
  3. Click trigger options button and select Edit trigger.
  4. If required, click Generate new webhook.
    1. Copy down the Webhook address and Token.
    2. Click Done.
    3. 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

  1. Choose Tools New tool > Rules Rules.
  2. Select External Triggers.
  3. Click trigger options button and select Delete trigger.
  4. If the trigger is in use, select another trigger for those rules.
  5. Choose Delete.

Task — Configure a rule to use an external trigger

  1. Choose Tools New tool > Rules Rules.
  2. Follow the instructions to configure the relevant type of rule.
    See Alta Video rule types.
  3. When you create the rule, associate it with an external trigger:
    1. Go to When and select Activate/Deactivate by External Trigger.
    2. Select the required trigger from the drop-down list.
  4. To activate or deactivate multiple rules at the same time, associate each rule with the same trigger.