Hi everyone, it's my first post here, i'm glad to be with you guys.
So, the point is, i'm trying to find a way to trigger my nodeJS application every time a user receives a new message, i'd made something like this for a group chat last week using outgoing for a trigger word.
I made a research and i didn't find any post usefull so, i'm here to ask for your help.
Is it possible to user the outgoing method to this case or i need to make something like a fork that checks for a new message every second?
Thanks
Rui