6b1c6929d1
Migrate existing endpoints to the new structure
...
[MAILPOET-4207]
2022-04-20 15:30:50 +02:00
fc16bacadc
Add "core" automation integration & implement wait action
...
The "core" integration will provide triggers, actions, and subjects
that are not specific to any 3rd party integration.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
0c8c86c0a8
Add basic workflow step runner service
...
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
a191c691f5
Add hook and basic handler for automation triggers
...
For now trigger keys are stored in the workflow as a JSON array.
This is not optimal in case someone has many workflows but as
workflows are user-created it's unlinkely someone will have thousands
of them. We can consider adding a workflow_triggers table as well.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
933ee0c8c8
Call "registerHooks" method for all triggers of all active workflows
...
This is needed so the triggers actually work – their hooks need to be
registered when the triggers are in some active workflows.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
55a25427fc
Add initialize hook to register automation integrations
...
Those need to be registered after Automation engine is initialized.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00
da2621230d
Move automation engine code under "Engine" namespace
...
This is to separate the engine itself from "integrations" that will be
built on top of the engine.
[MAILPOET-4136]
2022-03-14 09:36:21 +01:00