PowerFlows
Last updated: Jul-15-2025
Overview
A PowerFlow is a set of functional blocks that you connect together, creating step-by-step actions to execute. You can use blocks for a variety of actions, from interacting with media in Cloudinary, to sending notification emails. You can trigger flows in a number of different ways, for example, using webhooks, on a schedule, on asset upload, and more.
PowerFlow templates
To get started with PowerFlows, you can either start from scratch or use a template. Templates can serve as an inspiration and help you discover the various use cases that PowerFlows can solve. Choose any PowerFlow template and personalize it according to your specific requirements.
To view all the templates, from the MediaFlows Home page, click the All Templates -> link.
You can then search for templates in the dialog:
After selecting a template, the canvas opens allowing you to view and build your flow.
Use AI to build a PowerFlow
There are two ways to use AI to build your PowerFlow:
- Use the AI Powered Assistant within the PowerFlow templates.
- Connect an MCP client to the MediaFlows MCP server.
Using either of these, you can describe the flow you want to build and it'll be generated automatically.
Sample PowerFlows
Take a look at these PowerFlows to get an idea of how they're built and what they can do:
- Marketplace products sample project for an in-depth walkthrough of a flow that moderates user-generated content.
- Delete temporary UGC assets for an in-depth walkthrough of a flow that periodically searches for and deletes user-generated content that's no longer required.
PowerFlow variables
There are four types of variables you can use in PowerFlows:
- Environment variables - accessible to any of your PowerFlows
-
Flow variables - accessible to the specific PowerFlow in which they're defined
- Flow secrets - accessible to the specific PowerFlow in which they're defined (for sensitive data)
- Response values from previous blocks - output data from blocks that have already executed in the flow
The first three types are variables that you define and set yourself. Response values are automatically generated as blocks execute.
Environment variables
Environment variables are accessible to any of your PowerFlows.
You can set them as key/value pairs in the Variables page:
Flow variables
Flow variables are accessible to the PowerFlow in which they're defined.
You can set them via the (3-dots) options menu for the PowerFlow in the Flows page, or from the drop-down menu at the top of the PowerFlow canvas. Selecting the Flow Variables option opens the Flow Variables dialog:
Flow secrets
Flow secrets are accessible to the PowerFlow in which they're defined. You should use them to store sensitive data, such as API keys and secrets.
You can set them via the (3-dots) options menu for the PowerFlow in the Flows page, or from the drop-down menu at the top of the PowerFlow canvas. Selecting the Flow Secrets option opens the Flow Secrets dialog: