zeba_academy_auto_flow 0.0.1 copy "zeba_academy_auto_flow: ^0.0.1" to clipboard
zeba_academy_auto_flow: ^0.0.1 copied to clipboard

Reusable workflow automation engine with triggers, pipelines, and visual debugging.

๐Ÿš€ zeba_academy_auto_flow #

Reusable workflow automation engine for Flutter โ€” build powerful trigger-based pipelines, automate logic flows, and debug execution visually.


โœจ Features #

โœ… Define reusable workflows โœ… Trigger-based execution system โœ… Automation pipelines with sequential steps โœ… Lightweight and scalable architecture โœ… Debug logging system โœ… Visual flow debugging support


๐Ÿ“ฆ Installation #

Add this to your pubspec.yaml:

dependencies:
  zeba_academy_auto_flow: ^0.0.1

๐Ÿš€ Getting Started #

import 'package:zeba_academy_auto_flow/zeba_academy_auto_flow.dart';

void main() async {
  final context = FlowContext();
  final engine = FlowEngine();

  final pipeline = FlowPipeline();

  pipeline.addNode(
    FlowNode(
      id: "step1",
      action: (ctx) async {
        print("Step 1 executed");
        ctx.set("value", 10);
      },
    ),
  );

  pipeline.addNode(
    FlowNode(
      id: "step2",
      action: (ctx) async {
        print("Step 2 executed with ${ctx.get("value")}");
      },
    ),
  );

  final trigger = FlowTrigger(
    name: "start_trigger",
    condition: (ctx) => true,
    pipeline: pipeline,
  );

  engine.registerTrigger(trigger);

  await engine.run(context);
}

๐Ÿง  Core Concepts #

๐Ÿ”น FlowContext #

Stores shared state across the workflow.

๐Ÿ”น FlowNode #

Represents a single executable step.

๐Ÿ”น FlowPipeline #

Chains multiple nodes into a reusable workflow.

๐Ÿ”น FlowTrigger #

Executes pipelines based on conditions.

๐Ÿ”น FlowEngine #

Manages and runs all triggers.

๐Ÿ”น FlowDebugger #

Tracks logs for debugging and visualization.


๐Ÿงช Testing #

Run tests using:

flutter test

๐Ÿ“Š Use Cases #

  • ๐Ÿ”„ Automation pipelines
  • โš™๏ธ Background workflow execution
  • ๐Ÿ“Š Event-driven systems
  • ๐Ÿงฉ Modular business logic orchestration
  • ๐Ÿง  Low-code / no-code builders

๐Ÿ”ฅ Roadmap #

  • โŒ Conditional branching (if/else)
  • โŒ Parallel execution
  • โŒ Retry & error handling
  • โŒ JSON workflow builder
  • โŒ Drag & drop visual flow editor
  • โŒ Remote config support

๐Ÿค Contributing #

Contributions are welcome! Feel free to open issues and submit pull requests.


๐Ÿ“„ License #

This project is licensed under the GNU General Public License v3.0 (GPL-3.0).


๐Ÿ‘จโ€๐Ÿ’ป About Me #

โœจ Iโ€™m Sufyan bin Uzayr, an open-source developer passionate about building and sharing meaningful projects. You can learn more about me and my work at sufyanism.com or connect with me on Linkedin


๐ŸŒ Your all-in-one no-bloat hub! #

๐Ÿš€ Explore cutting-edge resources in coding, tech, and development at zeba.academy and code.zeba.academy. Empower yourself with practical skills through curated directives, real-world projects, and hands-on experience. Level up your tech game today! ๐Ÿ’ปโœจ

Zeba Academy is a learning platform dedicated to coding, technology, and development.

โžก Visit our main site: https://zeba.academy โžก Explore hands-on courses: https://code.zeba.academy โžก YouTube: https://www.youtube.com/@zeba.academy โžก Instagram: https://www.instagram.com/zeba.academy/


โค๏ธ Support #

If you like this project, consider giving it a โญ on GitHub!


Thank you for visiting!

0
likes
140
points
41
downloads

Documentation

API reference

Publisher

verified publisherzeba.academy

Weekly Downloads

Reusable workflow automation engine with triggers, pipelines, and visual debugging.

Homepage

License

GPL-3.0 (license)

Dependencies

collection, flutter, uuid

More

Packages that depend on zeba_academy_auto_flow