Создавайте гибкие автоматизации в Medusa
Automation plugin for Medusa v2 with rule-based triggers and actions for notifications and workflows.
Add to your :
The plugin includes database migrations for automation models. Run migrations to set up the required tables:
medusa migrations runSee Database Migrations for more details about the created tables.
Navigate to Notifications > Automations in your Medusa Admin dashboard, or directly access:
/app/notifications/automationsAutomations are triggered by:
See Available Subscribers for a complete list of supported events.
Each automation can have multiple rules that define when actions should be executed. Rules support primitive fields, relations (arrays), nested objects, and various operators for complex conditions.
For detailed information, see:
When automation rules pass, actions are executed. Supported action types include:
See Actions and Slack Notification Provider in the configuration documentation for details on configuring and extending actions.
Email and Slack templates are rendered by .
Access the automations management interface in Medusa Admin at . See Admin Panel Documentation for details.
The plugin exports the following:
Automations management interface in Medusa Admin
For email and Slack template rendering, see @codee-sh/medusa-plugin-notification-emails.
MIT
Codee Team - https://codee.dev
1npm install @codee-sh/medusa-plugin-automations2# or3yarn add @codee-sh/medusa-plugin-automations1module.exports = defineConfig({2 plugins: [3 "@codee-sh/medusa-plugin-automations"4 ]5})