1. Start a Project
  2. Collect Media
    • Ingest

  3. Organize Content
  4. Find Content
  5. Edit Projects
  6. Reviews
  7. Remote Collaboration
  8. Deliver Content
  9. Manage Digital Rights
  10. Using AI
Page Contents

Home › Media Managers › Automate › Search & Execute

Using Search & Execute Framework for Automation

Triggering actions when metadata on assets in changed in Zoom is what the Search & Execute automation framework is about. You can code actions in your choice of programming language: Python, NodeJS, Perl, Ruby etc. Zoom will periodically callback your registered action with the list of affected assets when the metadata conditions are met. 

Procedure

Step 1: Save a Search

Before you can attach an action, you must define a metadata driven search, that applies the metadata condition to return a list of matching assets. Use the Asset Browser > Advanced Search to create a saved search with as many metadata conditions as needed:

Be sure to name the search and mark it as a periodic search in Asset Browser:

Once you have marked it as a periodic search, you can now attach actions to it in the Asset Browser or the Web Administration Console. You may need your Media Manager to access the console.

Step 2: Upload Action

First upload your action such as a Python script or an executable to the Zoom server’s script deploy directory. You can open the Search & Execute configuration panel in Web Administration Console by clicking:

Step 3: Attach Action

Enable the periodic saved search in the Search & Execute settings and chose the action you wish to trigger when the metadata in your saved search matches one or more assets. For example, to insert links to published videos in a CMS, a developer can attach a Python action that constructs the Asset ID URL for each asset marked as published and then uses the CMS APIs to insert a link. This can be done in the Asset Browser on the saved search itself or in the Web Administration Console:

Writing your action

Your script will receive a single parameter as input. This will be a path to a CSV or a TAB delimited report file as configured in the Search & Execute settings. The file will contain the metadata field values in each column. The order of the metadata field is controlled by you when you setup the metadata fields under Report Customizations in Search & Execute settings.

You can iterate over the rows in the report to fetch fields like Asset ID, File Path etc to construct your business logic that uses Zoom REST APIs or an external system’s API to take action.

Since the action is invoked periodically, you will need to ensure the business logic is short lived. A common design pattern would be to invoke the action to enqueue a job or an event in your job framework of choice.

Next Steps

Getting Started Guide For Creators

Learn how to install desktop browser, Adobe CC plugins & more »

Getting Started Guide For Media Managers

Learn how to manage content, metadata, users roles & much more »

Zoom for Business Owners

Learn how Zoom helps Business Owners track job approvals, generate reports »

External Collaboration

Collaborate with Clients, Review & Approvals

Internal Collaboration

Producer-Editor collaboration, repurpose finished content

Reports

Trends, Analytics in Real-time from your Content Repository

User Adoption & ROI

Zoom user adoption process, Return on investment

Zoom for Media Manager

Learn how Zoom helps Media Managers acquire, manage & administer their content »

Acquire Media

Migrate archives, Ingest New Media Every Day

Organize Content

Folders, Working Copies, Smart Links Change Thumbnail

Secure Content

Manage Users & Roles, Protect On-premises Storage

Manage Content

Transcoding, Digital Rights, Cleanup, Previews

Archive Content

Configure Cloud Archives, LTO, Auto Tiering Policies

Reports

KPI Trends, Periodic Reports, Export CSV

Automate

Zapier, REST API, Search & Execute Actions

Distribute Content

Download Media, Cloud to Cloud Transfers Links

Administer

Context Indexing, Configure, Logs, Monitor

Zoom for Creators

Learn how Zoom helps Content Creators, Editors & Artists speed up their workflows »

Start a Project

Create New Project, Clone Existing Project

Collect Media

Ingest & Link with Images, High-res Media, Graphics

Organize Content

Folders, Working Copies, Smart Links, Change Thumbnail

Find Content

Ingest & Link with Images, High-res Media, Graphics

Edit Projects

Check-out files, Lock, Sync Projects & links, Check-in Revisions

Review Content

Collaborate with Business Owners, Review & Approvals

Remote Collaboration

Work from home, Remote Ingest, Edit with Low-res Proxies

Deliver Content

Export Projects, Render, Final Conform to High-res media

Using AI

Search using AI, Automatically Create Video Sequences