What Are File Processing Workflows?
Filestack Workflows run a set of processing tasks on a file in the background, with rules that decide which tasks run based on earlier results. You build a workflow in the Developer Portal and start it with one reference in your code.
Workflow Concepts
- Tasks: the actions a workflow runs, such as a transformation or an intelligence task
- Logic: rules that use a task’s result to decide which tasks run next, for example
sfw eq false - Job: one run of the workflow on one file
- Webhooks: the results of each job are sent to your URL
Task Categories
- Transformations: the image, document, audio and video transformations of the Processing API
- Advanced Transformations: image enhancement
- Intelligence: image tagging, image SFW, image captioning, video tagging, video SFW, copyright detection, OCR, document detection and virus detection
Starting a Workflow
- On upload: add the workflow ID to the File Picker’s
storeTooptions:storeTo: { workflows: ["YOUR_WORKFLOW_ID"] } - On existing files: call the Workflows API with
run_workflow=id:WORKFLOW_IDand a handle, external URL or storage alias
Security
When security is turned on for the application, the policy must allow the runWorkflow and convert calls.
Related terms
Processing Pipeline
Automated workflow system that applies sequential operations to files.
Webhooks
Event-driven communication mechanism for asynchronous operations.
Intelligence (AI) Service
Machine learning tasks that tag, caption, moderate, scan and read files.
File Picker
Filestack’s customizable upload widget with multiple source options.
More in Workflows
This page is one of 94 terms in the Filestack glossary.
Browse all terms