Process incoming events with MultiFlexi
Find a file
CyberVitexus 85ffeb60b8 Add FlowInterpreter to execute Node-RED-designed graphs.
Eventor starts flow_run from webhook triggers, advances map/switch/runtemplate steps, and no longer depends on Node-RED for chain execution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-21 00:16:27 +02:00
debian chore(debian): enable debian:forky and backport chown fix 2026-09-11 11:49:29 +02:00
nbproject Migrace na Debian PHP autoloader systém 2026-03-03 23:31:42 +01:00
src Add FlowInterpreter to execute Node-RED-designed graphs. 2026-09-21 00:16:27 +02:00
tests/MultiFlexi feat: Node-RED bridge, event source/rule classes, contrib nodes 2026-06-09 09:31:15 +02:00
.env.example feat: push MultiFlexi config catalog to Node-RED 2026-06-11 19:06:50 +02:00
.gitignore feat: Initial implementation of multiflexi-event-processor 2026-02-26 21:03:58 +01:00
.php-cs-fixer.dist.php feat: Initial implementation of multiflexi-event-processor 2026-02-26 21:03:58 +01:00
AGENTS.md feat: Node-RED bridge, event source/rule classes, contrib nodes 2026-06-09 09:31:15 +02:00
composer.json feat: Initial implementation of multiflexi-event-processor 2026-02-26 21:03:58 +01:00
composer.lock fix(service): depend on network-online; DB ordering via drop-in 2026-06-24 16:02:55 +02:00
eu.multiflexi.multiflexi_eventor.metainfo.xml Add AppStream MetaInfo for service component 2026-03-10 22:58:47 +01:00
LICENSE Initial commit 2026-02-26 19:06:26 +01:00
Makefile feat: Initial implementation of multiflexi-event-processor 2026-02-26 21:03:58 +01:00
multiflexi-eventor.svg Add AppStream stock icon and install metainfo/icon 2026-05-05 22:06:51 +02:00
phpstan-default.neon.dist feat: Initial implementation of multiflexi-event-processor 2026-02-26 21:03:58 +01:00
phpunit.xml feat: Initial implementation of multiflexi-event-processor 2026-02-26 21:03:58 +01:00
README.md Add FlowInterpreter to execute Node-RED-designed graphs. 2026-09-21 00:16:27 +02:00

multiflexi-event-processor

License: MIT Packaging: deb

Event-driven job triggering daemon for the MultiFlexi suite.

Overview

Bridges external webhook adapters (e.g. abraflexi-webhook-acceptor) with MultiFlexi's job execution engine:

  1. Reads unprocessed changes from adapter databases (changes_cache table)
  2. Matches changes against configured EventRules and stored Node-RED flows
  3. Schedules MultiFlexi jobs via multiflexi-cli / advances FlowInterpreter steps

Flow interpreter

Graphs designed in Node-RED are stored as flow / flow_version / flow_node / flow_wire and executed here without Node-RED running (map, switch, delay, RunTemplate wait). Legacy pairwise event_rule chaining remains available.

Installation

sudo apt install multiflexi-eventor

The daemon runs as multiflexi-eventor.service under the multiflexi user.

Configuration

Event sources and rules are managed via the MultiFlexi web UI (⚡ Events menu) or CLI:

# Create an event source
multiflexi-cli eventsource create --name "AbraFlexi Webhooks" --adapter_type abraflexi-webhook-acceptor --db_database webhooks_db

# Create an event rule
multiflexi-cli eventrule create --event_source_id 1 --evidence faktura-vydana --operation create --runtemplate_id 42

Development

make vendor    # Install dependencies
make tests     # Run PHPUnit tests
make cs        # Fix coding standards

MultiFlexi

multiflexi-event-processor is part of the MultiFlexi suite.

MultiFlexi

License

MIT