medusa-subscribers

Installation
SKILL.md

Medusa v2 Subscribers and Scheduled Jobs

Before writing code

Fetch live docs:

  1. Fetch https://docs.medusajs.com/learn/fundamentals/events-and-subscribers for subscriber overview
  2. Web-search site:docs.medusajs.com subscriber handler function for handler API
  3. Web-search site:docs.medusajs.com scheduled jobs cron for scheduled job patterns
  4. Web-search site:docs.medusajs.com event module redis for event bus configuration
  5. Web-search site:docs.medusajs.com built-in events list for available event names

Subscriber Concept

Subscribers react to events emitted by Medusa workflows and services:

  • Asynchronous by default -- do not block the emitting operation
  • Registered as files in src/subscribers/
  • Each file exports a default handler function and a config object
  • Events follow a naming convention: {entity}.{action} (e.g., product.created)
Related skills
Installs
2
GitHub Stars
29
First Seen
Mar 31, 2026