Moleculer Trigger icon

Moleculer Trigger

Moleculer Trigger

Actions2

Overview

This node acts as a trigger for Moleculer microservices, allowing workflows to start based on Moleculer actions or events. It is useful for integrating Moleculer-based services with n8n automation, enabling workflows to respond to specific service actions or emitted events. For example, it can trigger a workflow when a particular event occurs in a Moleculer service or when an action is called.

Use Case Examples

  1. Trigger a workflow when a user registration event is emitted by a Moleculer service.
  2. Start a workflow when a specific Moleculer action completes, such as processing an order.

Output

JSON

  • eventData - Data payload received from the Moleculer event or action trigger

Dependencies

  • Requires a Moleculer API credential for authentication to connect to the Moleculer services.

Troubleshooting

  • Ensure the Moleculer API credential is correctly configured and has the necessary permissions.
  • Verify that the specified event or action names match those defined in the Moleculer services.
  • Check network connectivity to the Moleculer broker or service endpoints.

Links

  • Moleculer Framework - Official documentation and resources for the Moleculer microservices framework.

Discussion