Send Emails From Google Sheets Using Check Box | Apps Script Tutorial | Automating Emails

  Рет қаралды 3,872

Avo Tutorials

Avo Tutorials

Күн бұрын

Learn how to automate sending emails from Google sheets using the check box/mark ✅
Get the sample sheet here: avotutorials.gumroad.com/l/se...
*You can name a fair price (minimum $0) to duplicate the sheet, no pressure :)
Check out more digital products here:
avotutorials.gumroad.com/
#sheet #sendemail #googlesheets #googlesheetsautomation #check #automation
_________________________________________
I've created this channel to document interesting things I've learned during my free time. We tend to forget the little things we google up to solve a problem/issue. I hope it brings value to you too! :)
Subscribe to my channel: bit.ly/3NJWGEV

Пікірлер: 13
@thecat293
@thecat293 3 күн бұрын
a question, how do you change the email account that is used to send emails?
@bellarivera7250
@bellarivera7250 2 ай бұрын
This video is so so helpful I love how you explain everything as you go I really learned a lot !
@thecat293
@thecat293 27 күн бұрын
im subscribed, very nice videos
@scubacentresodwanabay1531
@scubacentresodwanabay1531 Ай бұрын
Thank you for this!! How can i add a follow-up email, say for 3 months time, from the date stamp of the 1st email?
@AndreaSkweres
@AndreaSkweres 3 ай бұрын
Thank you for this video! Very helpful. I tried this with a script and spreadsheet I am currently working on, but for some reason the email is sent out any time a cell is edited. I have tried to get it linked to the checkbox specifically, but it sends the email after every cell edit. I believe it has to do with the onEdit trigger. Do you know the best way to prevent this?
@avotutorials
@avotutorials 3 ай бұрын
Hello Andrea! Thank you so much for this comment. I've looked into it and you're right about receiving multiple emails. I have tweaked the code a little, do try and let me know if it solves your issue :) If you're curious what I changed, I added a mechanism (lock) to ensure that only one action (execution of onEdit function) can happen at a time, preventing duplicates. Additionally, I removed one of the alarms (trigger setup). Previous code had 2 triggers (onOpen // createOnEditTrigger). I removed the onOpen trigger because it was redundant. Thanks again, hope this helps!
@avotutorials
@avotutorials 3 ай бұрын
Hello everyone! Hope you enjoyed this video. Click the link below to get access to the Google Sheet. It's minimum $0, but I do appreciate any contribution above that :) Thank you! avotutorials.gumroad.com/l/send_email_from_sheets **UPDATE 28 MAR 2024**: I have tweaked the code a little to ensure the recipient doesn't get multiple emails. The core of setting it up is very similar to what was explained in the video. The tweak made: adding a mechanism (lock) to ensure that only one action (execution of onEdit function) can happen at a time, preventing duplicates. Additionally, I removed one of the alarms (trigger setup). Previous code had 2 triggers (onOpen // createOnEditTrigger). I removed the onOpen trigger because it was redundant.
@bellarivera7250
@bellarivera7250 2 ай бұрын
I tweaked the script to fit what I was looking for but I keep running into this error “TypeError: Cannot read properties of undefined (reading 'source') onEdit”. I have limited knowledge on code but I think it’s saying it needs to be defined ? I don’t see e.source anywhere else
@avotutorials
@avotutorials 2 ай бұрын
Hey, thank you for dropping in a comment. You don't have to worry about that error as the sheet still should work as intended. Please let me know if you still encounter issues.
@KacperGonera
@KacperGonera Ай бұрын
Hello, I have set up the script as you explained, however the lock does not work for me - the script sends two e-mails simultaneously. Do you maybe have a fix for that? Also I am interested in how to make it to work with two separate checkboxes within the same sheet: Checkbox A will send email to person A, and checkbox B will send different email to person B Thanks for your help!
@avotutorials
@avotutorials Ай бұрын
Hey thanks for dropping in a comment. 1. Regarding sending two emails simultaneously, I tried the sheet on my end again and I only get one. Maybe try creating a new sheet and copy in the app script to go through the authentication process again. 2. If you are interested in sending two different emails, you can check out my other video here: kzbin.info/www/bejne/fIfQeWdnarufeKM Hope this helps!
@umeshdube1861
@umeshdube1861 12 күн бұрын
Getting source error
@avotutorials
@avotutorials 6 күн бұрын
Hey your sheet should still work as per normal even with the source error
Google Apps Script for Beginners: Start Automating Google Sheets
8:03
Analytics with Adam
Рет қаралды 6 М.
Я нашел кто меня пранкует!
00:51
Аришнев
Рет қаралды 3,7 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 15 МЛН
AppSheet: The no-code revolution powered by AI
40:38
Google Workspace
Рет қаралды 17 М.
Google Apps Script Send Emails from List
17:23
The Excel Cave
Рет қаралды 4 М.
Send Personalized BULK Emails in Gmail (for FREE)!
6:50
Jeff Su
Рет қаралды 525 М.
Automate emails with Google Sheets
17:17
Matt Brigidi
Рет қаралды 17 М.
Mail Merge in Google Sheets & Gmail (for free)
12:52
Kevin Stratvert
Рет қаралды 743 М.
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 5 МЛН
ToRung short film: 🙏give away free meals🤗
0:47
ToRung
Рет қаралды 3,6 МЛН
Rain is falling! #kidssong
0:11
J House jr.
Рет қаралды 11 МЛН