Hello, I am working on a "Subscribe to a newsletter" form in Statamic v3 and once users submit their emails I would love to do some additional processing:

  1. Check if they are not already in our DB;
  2. Send them an email with a confirmation.

Back in v2 my approach was:

  1. Create an Event Listener addon;
  2. Listen for Form.submission.creating event.
  3. Voila.

What is the suggested approach in v3? I found some info about events in documentation, but I'm not sure what event I should be listening for.

Thanks in advance for any help.

Answered by Duncan McClean! Go to answer.