How to integrate Moengage in Node js API's to send email notification on user action?

53 Views Asked by At

Is there any way to integrate Moengage in Node Js API's to send notification to the user on user event?

I go through the Moengage API docs but didn't get any relevant information to integrate Moengage in Node Js API? Is there any step by step guide to user Moengage in node js API?

1

There are 1 best solutions below

0
Roshan Hadal On

MoEngage does not have NodeJS SDK currently. If you have a web application or mobile application, then you can integrate the SDK and automate this logic in the MoEngage dashboard using the Event Triggered campaigns.

If you have to invoke through your NodeJS code, then you will have to either use the transactional API called Inform or call their Data API to send the events (similar to the SDKs sending it). In the case of Data API, you need to configure the Event Triggered campaign using the MoEngage dashboard. My recommendation would be to use Inform API, especially if the use case is transactional in nature, like order created, OTP, etc.