Enabling Push/Email Notifications from Wix Database

Wondering if it’s possible to enable push or email notifications any time someone completes a user input on my site. Whether the trigger is the submit button or the actual entry into the database, I’m just looking to be notified every time someone submits a new entry to a form on my site.

Thanks for help in advance!!

Hey Vincent,

There is currently no built in solution for email or push notifications, but you can use the fetch api to trigger any other http-based service that implements it.
See the fetch api docs here: wix-fetch - Velo API Reference - Wix.com

For triggering the fetch request, you could choose one of many options, for example:

  1. add an “afterInsert” hook to your collection - Hooks - Velo API Reference - Wix.com
  2. register to the dataset’s afterSave event - wix-dataset - Velo API Reference - Wix.com

Hope this helps…

Hey again,

I also want to direct you to the following article that walks you through implementing email notifications using SendGrid - Velo Tutorial: Sending an Email on Form Submission | Help Center | Wix.com

1 Like

Wow, thanks Dor.

My form works in preview mode but doesn’t in live. Any idea why?

From your question, we have no idea what your form looks like, what code you have used, what you are trying to achieve.

Please make a new post and include your code so that we can see what you are trying to accomplish.

@shantanukumar847 Thanks for your answer! I had permissions issues on the collection. Problem solved!

Hi All!

I just found a MUCH easier way to have a notification sent to your email when a custom form is submitted (this way does NOT require ANY code or use of Velo!).
There is a super helpful Velo tutorial out there that does this, but they require a 3rd party service and some coding knowledge. I found a built in way that Wix will complete this for you so you don’t have to connect a 3rd party (like SendGrid) .

Here’s how to receive a notification from custom forms WITHOUT any code:

  1. After building your form, go to your site’s dashboard

  2. Select “Customer Management” from the menu on the left

  3. Select “Automations” from the menu on the left

  4. Select “New Automation” from the list

  5. For the trigger, select “Wix Data Forms”

  6. For the option “Select which form triggers the automation” you can set that to be any form, or specific forms (just choose whichever you prefer)

  7. For the follow-up action, select the mode which you want to receive a notification (email, web, mobile)

  8. Customize the notification email, subject, and message

  9. Set the timing of the trigger

  10. And that’s it!! If you opt to have an email notification (which is what I did), that email will have the entire form that was submitted so you don’t even need to go to your Wix Dashboard to view the submission if you don’t want to.

Hope this helps!!

1 Like