is there a way to send a welcome email to the user...
# prisma-whats-new
s
is there a way to send a welcome email to the user?
v
I should think this is what you’re looking for: https://www.graph.cool/docs/tutorials/functions/hook-functions-zeez7aiph3
s
I used this, with the on-line console.graph.cool service I'm getting all errors in the code.
p
I'm sending emails to users on different event
I have a type, let's say
MyType
, whenever someone creates new node (instance) of that
MyType
a function is triggered, and in that function I'm sending an email using mailgun API
we are using
subsription functions
to achieve that