How To Send Triggered Emails on a Wix Website | Unlimited Email Automations | Velo Tutorial
Вставка
- Опубліковано 25 сер 2024
- Have you run out of automations on WiX? Worry not! With triggered emails you can set up as many custom "automations" as you using WiX code.
In this video I explain step by step how to set up triggered emails for a custom FREE form on WiX.
Steps:
1) Set up a custom form (see previous videos)
2) Add code for adding a contact (see previous videos)
3) Go to dashboard and create triggered email template
4) Copy code snippet and paste where you want your email to fire
5) Edit the contact/member id and variables
And Send!
You can try out the final version and see the code here:
eitanwaxman.wi...
If you missed the previous videos in this series be sure to check them out:
1 ) Unlimited free forms on WiX:
studio.youtube...
2) Save a contact from a custom form:
studio.youtube...
Have questions? Join the discussion:
www.eitanwaxma...
Need some magic done on your website ASAP?
Hit me up: www.eitanwaxma...
Hire me on Wix Marketplace:
www.wix.com/ma...
My Facebook page:
/ eitanthedev Join the community on Facebook:
/ thewixwiz
I have never commenting on anyone's work - (My Bad) However this guy definitely helped me out, and I just wish I didn't stay up last night to midnight on the other Dumb A##'s other sites - I needed this content to work and be user friendly - it was on point - You are awesome!
Thanks so much! I'm so happy this helped!
You are doing such a great job thanks 👍
Hi, im trying to do this using a multi-state-box, would there be any difference as the email hasnt been sending? Thank you very much you have helped me out a bunch!
The multistate box shouldn't affect sending triggered emails...
Hello,
When you save contact this way, to which Collection does it get saved to?
Hi! In this demonstration the contact is saved to the contacts list provided by WiX which to the best of my knowledge is only viewable from the dashboard/ accessed using the wix-crm/-backend API. If you want a collection which lets you view all the submissions you can create a custom collection and store the information there using the wix-data API.
Awesome tutorial dude! but I have one question about its function along with datasets. You see, I want to make this exactly like you did but also collect it all in a collection with a form dataset. Problem is apparently wix run the dataset action before the code, and since the dataset collects and then clean the fields, the emails are being sending empty. is there a way I can order which one runs first, and make the code run before the dataset??
Thanks for the support! I think storing the input values in variables before saving to the collection should do the trick :)
@@thewixwiz hey man, so I tried to do this bur when i use const to store the variables and then replace the object $w by the relative variable, the email just go blank in that field. is there any specific thing we need to ad on the code, or could this be a bug?
@@corujabiruta3732 Hey I'd love to help but I would need to take a look at your code to do so. Please set up a consult if you would like to review your code together and find the bug:
www.upwork.com/services/consultation/development-it-eitan-1577380920930951168
I followed your tutorial but I get error on contactInfo and on console I get bad input
Hi Partha, unfortunately I can't give personalized advice without taking a look at your code. Feel free to reach out via my website if you would like to schedule a consultation.
Given links are not opening
Hey, amazing content. My emails are being sent to junk. Is there anyway to take the junk out?
Thanks! What provider is sending the emails to junk? You can try changing the sender details in the inbox settings of the dashboard.
Hey, there! VERY HELPFULL! Thanks! One issue for me: I am getting contact email but not admin. I have MY_ID set correctly. What I am missing? Thanks again!
Thanks for the support! It's a bit tough to address specific issues without seeing the code. Feel free to reach out via my website to schedule a consultation.
Love the content, always super helpful. I was wondering, is it possible to trigger the email even if the contact already exists? I get an error when testing newContact: false so I'm not sure if it's working or not 😅
Thanks! It is possible, it is just a bit hard to find existing contacts so sometimes it is just easier to use createAndAppendContacts.
@@thewixwiz Do you ever come across the variable inputs not getting passed to the triggered emails out of nowhere? 🤔
Usually if the data input is corrupt it will throw an error and not send your email.
So if I collect contact emails at a Market and later add them to my subscribers list, there is no way to send them a thank you email other than going through these steps?
You can also send out marketing emails directly from the CRM. This use case is for emails triggered by a certain action or event on your site.
Hi, thank you for the tutorial. I'm trying to make this work in the site I'm building, but to no avail. is it possible that the triggered emails from wix are limmited in fields? the email simply wont arrive
I am not familiar with a limitation. I would recommend going through a standard debugging process of using incognito mode, different emails and logging key points in the console to identify the issue.
@@thewixwiz Hey thanks for the answer! I just realised one of the things that are breaking it is when it has a 'date' input. IDK why but it seems to not let the action go through and causing an erro. Other thing is, at least one of the variables HAVE to be named 'name'. if not it fails too. It is very strange. I was using "nome" - name in portuguese- and it seems to bug it bad.
@@reacaoanimada9455 All the variables need to be converted to strings ".toString()". As for "name" I don't think that is the case - there may be another issue there.
Is it possible to send a site member a email based on the dataset they they are attached to? I created a dashboard for my real estate clients and I update the data every week. I added a button and I want to be able to click it and send my clients a email with the updated data.
I don't see why not :)
@@thewixwiz I can’t seem to figure out how to do it, the code for triggered emails for site members is for logged in site memebers and I need the emails to go to site members that are attached to specific listings (dataset/collection entries) I’m not a coder and I don’t see any other documentations or example to do it.
@@AnthonyAllioo as much as I would like to help you, I can't address specific needs here. I would need to see your project and get more details about what you are hoping to achieve. If you would like to schedule a consultation please visit eitanwaxman.com/book-online