If you’re a developer who understands the importance of building a consistent flow, Filestack’s Workflows can help. This feature has built-in processes that allows developers to automate assets and customize everything from business rules to conditional logic that saves time and resources.
What does the Workflows feature do? Workflows allows developers to wire up conditional logic and image processing to enforce business processes, automate ingest, and save valuable development time. Once you’ve configured a workflow, it can be called with a single reference in your upload code.
With this feature, developers can create a set of tasks and logic to properly execute what you want. Here are four main components:
These are actions that automatically execute when the job starts.
Workflows support three categories of tasks:
- Transformations – all standard image/document/audio/video transformation available in Filestack’s Processing API
- Advanced Transformations – advanced image enhancement conversion
- Intelligence: Image tagging, Safe for Work, Copyright detection, OCR and Virus detection
Once specific tasks end, they create logic that helps start the execution of additional tasks. When configuring workflow rules, the user must understand the structure of the data. This requires correct use of the path field, using the dot notation and comparison operators.
Triggered by file upload, this is a single run of the workflow. Uploads are located in the File Picker. In order to trigger workflow job for each upload, you must attach your workflow ID to the storeTo options.
Webhooks need specific configuration to receive accurate results of the job. Workflows are asynchronous. A webhook needs a “Workflow” type for the application where job results will be placed. Webhooks are configured in the Developer Portal.
How do I create a workflow?
Creating workflows is easy. After logging into the Developer Portal, there is a standard menu accessible on the page. By accessing “Workflows,” users will be directed to the management page to view, edit, delete or create new ones. There are three different task categories within the workflow space: transformations, advanced transformations and intelligence. This area controls image tagging, copyright detection, virus/malware detection and more.
As a safe and secure tool, users will not have to worry about whether or not viruses or malicious files are able to penetrate the system. One of the attractive features in the workflows section is app security. The workflow feature is limited when app security is enabled, requiring policy calls. A call array should contain those calls. If these are not set, every call will be allowed.
Workflows help developers work smarter and more efficiently. As the only secure digital content platform, end-to-end workflows helps upload, moderate, transform, inspect and deliver at the highest levels. Filestack offers dev-to-dev support with no maintenance required, and developers have a number of SDKs to work with.
For more information on the virus detection feature in Filestack, contact an expert to integrate these features into your app development projects today.
Read More →