Automations

Post processing, Webhooks & Workflows

Automations allow automated actions (background removal, AI-tagging, detecting brand logos, etc.) to be applied to uploaded assets during or after the upload process or by sending the uploaded asset's metadata to an external API endpoint.

The Automation settings are accessible from Settings > DAM > Automations

Upload post-processes

Automate and enhance asset management with custom tasks triggered on asset upload. Upload post processes are actions that are triggered for a given asset upon its upload into DAM. Post-processing involves running various algorithms and ML models on an asset (e.g., detecting if it contains inappropriate content, counting the number of faces in an image, determining the dominant colours, removing the image background, and many others).

Post-process tasks are automated actions that can be performed in two modes:

  • Synchronous - The results are evaluated before accepting the upload and returned in the response. The use of this mode is generally preferred in user-generated content (UGC) scenarios where user-uploaded images and videos must be moderated automatically based on several pre-defined criteria.

  • Asynchronous - The results are evaluated in the background (in a non-blocking manner) after the file has been uploaded. In some cases, depending on the specified post-process type, the result will be appended to the asset's information, tags or metadata.

Post processing tasks

The following table is a summary of all available post-processing actions:

Applicable to Image Assets:

ProcessAPI nameSupported modesDescription

Calculate blurhash*

blurhash

async

Generates a blurhash (compact representation that can be used as a placeholder) of the image. The result is added to the asset's information.

Count faces*

face-count

sync / async

Returns the number of face(s) detected in the image. Can be used for classification or to ensure the presence / absence of face(s) upon upload.

Extract brand logo *

brand-detect

sync / async

Detects the presence of logos from a database containing thousand of popular brands. The list of recognized brands is included in the file information.

Extract dominant colors*

dominant-color

sync / async

Analyzes the image and returns a palette consisting of the most prominent colors in the image.

Index for face clustering *

face-clustering

async

Adds the image to an index for face clustering.

Index for image similarity search

image-similarities

async

Adds the image to an index for similarity search.

Not Safe For Work*

nsfw

sync / async

Detects adult or explicit content within the image.

Plate number blurring *

plate-blurring

async

Finds and automatically blurs vehicle license plate numbers in the image.

Recognize number plate *

plate-recognition

sync / async

Detects and recognizes car license plates in the image. The result is included in the asset information.

Recognize text (OCR) *

ocr

sync / async

Extracts any text readable in the image.

Remove artifacts (Quality improvement) *

remove-artifacts

async

Removes any JPEG artifacts and improves the quality of the image.

Remove background *

remove-background

sync / async

Removes the background of the image. Useful for products, portraits, etc.

Scene classification *

scene-classification

sync / async

Detects scene categories, attributes and type of environment in the image.

Sport classification *

sport-classification

async

Detect if the provided image depicts a sport activity and add its name to metadata.

Tag with AI *

autotag

async

Performs automatic tag generation for the image.

Validate image properties*

image-properties

sync

Validates if the image meets any number of predefined criteria.

Applicable to Video assets:

ProcessAPI nameSupported modesDescription

Compress video *

compress

async

Changes the video bitrate and resolution.

Convert video *

convert

async

Converts the video file to another format.

Transcode video *

transcode

sync

Converts the video into adaptive streaming formats (HLS/DASH).

Trim video *

trim

async

Trims the video file based on provided time intervals.

Validate video properties*

video-properties

sync

Validates if the video meets any number of predefined criteria.

Post processes marked with a * require Visual AI credits in order to be executed.

Additional details are available on the tasks' respective pages in the Scaleflex Visual AI section.

Webhooks

Trigger API calls on events, automate workflows and collaborate effortlessly.

Overview

Webhooks are a powerful feature in modern web development and API integrations. They allow applications to communicate and exchange data in real-time.

They enable users to trigger API calls to third-party endpoints upon specific events and send relevant asset information.

The concept behind webhooks is based on the "push" model of communication, where data is actively sent to a predefined endpoint, as opposed to the usual "pull" model, where applications need to actively request data from a server.

In the context of DAM, webhooks allow users to integrate external systems, automate workflows, and stay informed about changes and, more generally, actions performed on their assets. When a relevant event takes place, such as a new file upload, file renaming, or file movement, the webhook is triggered, and a POST request is sent to a third-party endpoint, providing details about the affected asset.

This mechanism allows seamless connections with other applications, which enhances collaboration capabilities.

Using webhooks simplifies the delivery of personalized notifications or alerts to assigned recipients whenever essential actions are executed on critical assets. This facilitates prompt responses and efficient communication.

They can also be integrated with project management tools to automatically create tasks, assign responsibilities and track progress whenever assets are uploaded to or moved within the DAM.

Last updated

Logo

©2024 Scaleflex SAS