Flow Manager Extension Updates

:tada: Hey everyone!

I’m excited to share that the Flow Manager Extension just got a shiny new update — v1.4.12 is out now! :rocket:

Here’s what’s new:
:sparkles: Added the ability to get the last error of a flow (debugging just got easier!)
:wrench: Fixed the flow run counter (no more sneaky miscounts)
:brain: Improved the logic for running flows without confirmation dialogs

Go check it out — hope this update makes your flow life smoother than ever! :grinning_face_with_smiling_eyes::dashing_away:
NPM Link https://www.npmjs.com/package/directus-extension-flow-manager
Github Link GitHub - baguse/directus-extension-flow-manager: A directus custom module extension for managing directus flow includes backup/restore, duplication and grouping the flow.


4 Likes

Hi @baguse, thank you very much for sharing your updates with us, these are great to see. The latest updates are also showing in the extensions marketplace: directus-extension-flow-manager - Directus Extensions

Hi @Beth , thank you. I hope it can be helpful to the community. AFAIK, the Directus Cloud can only install trusted extensions. Is it true?

Hey @baguse, I’ve just upgraded to Directus v11.13.3 this morning, and now when I open Flow Manager I’m getting a popup error message saying this:

Settings

[Error] Flow Manager fields are not configured. By clicking the ‘Configure’ button, you will create the necessary fields or re-create the existing fields.

Fields to be re-created:

  • flow_manager_last_run_message on directus_flows

It doesn’t actually seem to affect anything, and I’m able to just close the popup and everything seems to work as normal, it’s just annoying that it pops up every time.
I’ve tried uninstalling and reinstalling it, but still get the same thing. Not sure which “Configure” button the error message is referring to.
Any ideas? Thanks!

Hi @Burvs, sorry for the inconvenience. Do the pop-ups still appear after you click the Configure button?

Actually, the change is about the data type of flow_manager_last_run_message field from varchar(255) to text. Because there is an issue when the message is more than 255 chars

Hey @baguse yes it’s sorted now thanks after I just read your other reply on Github. But posting the process here in case anyone else is following:

I had to go into the Directus settings → Data Model, show the System Collections, go into the directus_flows collection, and delete the flow_manager_last_run_message field.
Then I went back to Flow Manager, and the error popup then had a Configure button which recreated the field, and it’s all good now.

It just wasn’t clear what I needed to do. There was no “Configure” button on the error popup until I manually went and deleted that field.

Thanks for the walkthrough. The bug is on the Configure button. Actually, v1.4.14 already fixed the issue

2 Likes

Sneak peek!! :partying_face:

I’m developing a new feature so we can have a dashboard to view the total success count/failed count. The features include:

  • View the chart for all flows related to success count and failed count
  • View flow detail, you can view the execution result like the native one, with a refresh button, so you don’t need to do a hard refresh

Please let me know if you have any additions! Thanks!
Here are some screenshots



1 Like

Released!!

:rocket: Sneak Peek: What’s Coming to Directus Flow Manager (v1.5.4 ➔ Next)

Hey Directus community! :waving_hand:

Since our v1.5.4 release, I’ve been working on significant features, visual tools, and developer ergonomics for Directus Flow Manager.

Managing 100+ automation flows across multiple environments shouldn’t feel like navigating a maze. Here is a sneak peek at everything new, overhauled, and battle-tested since our last stable release!

:glowing_star: 1. The Big One: Flow Recipes Marketplace (“Templates”)

Developers often recreate the exact same automation pipelines across different projects (Stripe webhooks, AI content moderation, incident pagers, cron retention purges).

You can now browse, preview, export, and install production-ready Flow Recipes in one click!

  • Multi-Source Catalog: Access official built-in starters, drop in any .recipe.json file from local storage, or connect to a private organization hub.
  • Pre-Install Pipeline Architecture Preview: Inspect the visual flowchart, trigger mechanisms, and execution branching paths (On Resolve ➔ / On Reject ➔) before installing.
  • Parameter & Collection Remapping: Flows aren’t hardcoded anymore. Variables ({{parameters.YOUR_KEY}}) and collections ({{collections.YOUR_COL}}) are dynamically interpolated upon installation.
  • Live Secret Detector: The export engine deep-scans flows for API keys, Bearer tokens, and basic auth headers so credentials are never leaked accidentally.

:package: Included Production Starters Out of the Box:

  1. :credit_card: Stripe Checkout Fulfillment: Multi-operation pipeline with idempotency checks, order insertion, and Slack sales announcements.
  2. :robot: Google Gemini 1.5 AI Content Safety: Automatic text sanitization, LLM structured JSON evaluation, auto-quarantining, and Slack escalation.
  3. :police_car_light: P1/P2 Incident Alert Escalation: Severity classification, Twilio Voice/SMS on-call paging for critical outages, and channel broadcasts.
  4. :broom: Audit Retention & Activity Purge: Scheduled cron maintenance pipeline with batch activity log deletion.
  5. :loudspeaker: GitHub Release Announcer: Webhook verification, release notes bulletin generator, and Discord/Slack dispatches.
  6. :bust_in_silhouette: Customer Onboarding Provisioner: User signup triggers, profile setup, and welcome transactional emails.

:test_tube: 2. Flow Sandbox & Simulation (Alpha)

Ever hesitated before turning a flow active in production?

  • Dry-Run Sandbox: Simulate executions with custom JSON payloads directly from the module.
  • Execution Trace: Step through individual operation outputs, inspecting payload transformations and mock outputs without modifying actual collection data or calling third-party APIs.

:spider_web: 3. Visual Dependency Graph & Impact Analysis

Automations rarely live in isolation.

  • Interactive Dependency Graph: Powered by @vue-flow, visualize your entire flow ecosystem on an interactive canvas.
  • Blast Radius & Impact Checks: See which collections trigger which flows, how flows call sub-flows, and identify potential recursion loops before you deploy.

:stopwatch: 4. Cron Scheduler Timeline & Conflict Detector

When running dozens of scheduled cron jobs, scheduling overlap is a silent performance killer.

  • Gantt / Timeline View: Visualize all scheduled cron flows across a 24-hour timeline.
  • Collision Detection: Pinpoint overlapping jobs competing for database locks.
  • Human-Readable Cron Parser: Built-in cron expressions editor and translator in the Flow Edit dialog.

:hourglass_not_done: 5. Time Traveler & Git-Friendly Snapshots

  • Flow Snapshots: Create named restore points before making major refactors.
  • Push-to-Cloud with Visual Diff: Moving flows from Staging to Production? Compare configurations side-by-side with color-coded syntax diffing and granular merge controls.

:shield: 6. Safety Lock & Archive System

  • Flow Safety Lock: Protect mission-critical flows against accidental edits, status toggles, or deletions. Requires an explicit unlock confirmation.
  • Soft Archiving: Declutter your flow workspace without losing historical execution logs or database references.

:bar_chart: 7. Dashboard & Remote Instance Ergonomics

  • Unified Multi-Instance Dashboard: Monitor health metrics, total run counts, and error rates across local and remote Directus instances.
  • Directus Insights Panels: Includes custom Flow Manager panels (Health Panel, Activity Panel, Trigger Panel) you can embed directly into your Directus analytics dashboards.
  • Encrypted Credential Storage: Secured remote instance credentials stored in a dedicated schema collection.
  • Table View Upgrades: Client-side pagination, column reordering, custom header resizing, and undo-able deletions.