How to create a trigger after a insert

Hi, I have a registration web form and I want to pull a trigger when the user save this form, so it takes the email and insert on other doctype and send a email. Is that possible?

Hi there,

There are a number of ways to do what you’re describing, but a Server Script would perhaps be the most straightforward approach.

https://docs.erpnext.com/docs/v13/user/manual/en/customize-erpnext/server-script

1 Like