Integration Module 2.0 for Medusa is outRead the announcement
A

Automations

Automations plugin for Medusa v2 by Vicacha Devs.

npm install @vicacha-devs/medusa-plugin-automations
Category
Built by
Version
0.2.1
Last updated
4 days ago
Monthly downloads
Loading downloads

Rule-based trigger → condition → action automation engine for Medusa v2 (), built as an ESM-only package with an optional zero-hard-dependency bridge to .


Key Features

  • Triggers:
    • Commerce Events: , , , , , , (via ).
    • Scheduled & Manual Triggers: Cron-ready rule definitions plus manual execution via .
  • Prototype-Safe Condition Evaluator ():
    • Resolves nested dot/array paths (, , ) while blocking , , and .
    • Supports 12 operators: , , , , , , , , , , , .
  • Built-in & Extensible Action Handlers ():
    • : Dispatches via Medusa's built-in (, , , , ).
    • : Optional bridge to (falls back to when standalone).
    • : SSRF-guarded outgoing JSON ( in production; loopback allowed in non-production).
    • Register custom handlers via or .

Installation & Configuration


Data Models & REST API

  • Models: () and ().
  • Admin Endpoints:
    • ·
    • · ·
  • Admin UI: route for viewing, toggling, and manually triggering rules.

Development & Testing