Easy Dropdown Selection Email Notifications in Google Sheets

Поделиться
HTML-код
  • Опубликовано: 30 ноя 2024
  • Are you ready to automate email alerts or notifications in Google Sheets? In this tutorial, I walk you through setting up an email alert that will get sent when you select certain values in a dropdown.
    Check out the related video on how to do the same thing but using a checkbox instead: • ✅ Effortless Email Not...
    You can make a copy of the final template here: bit.ly/3XCdKVW

Комментарии • 24

  • @SolomonTetteh-ot7ww
    @SolomonTetteh-ot7ww 4 месяца назад

    This video just saved me alot of stress.. Thank you.. I have liked and subscribed😊

  • @maxwellisioro
    @maxwellisioro 13 дней назад

    Wow. This worked like magic. Super thanks. Do you have a video on mail merge?

    • @SheetsNinja
      @SheetsNinja  13 дней назад

      Yes, I have a video on mail merge here using Google Docs as the mail template: ruclips.net/video/npQLogxgJrw/видео.html

    • @maxwellisioro
      @maxwellisioro 13 дней назад

      @SheetsNinja wow. I am not sure why such an incredible piece of "how to software" isn't amongst the first in searches.
      You are good Mr Ninja.
      I use Google workspace and app script to develop solutions but no where close to your capabilities. I am pleased and hope to meet you someday.

    • @maxwellisioro
      @maxwellisioro 13 дней назад

      @SheetsNinja can I get your email from your website for personalised conversations?

  • @KamronKimbrough
    @KamronKimbrough 17 дней назад

    I have this edited script actively running on my sheet now and it is fantastic. Quick question though, how would I add an automatic reminder email that sends X number of days after the specific status drop down was selected (i.e. I select the dropdown "Request Sent" and it sends an initial email (already set up in script) and then 7 days later it send a reminder email automatically)?
    I would also like to set up a similar automatic email when we are "X" number of days away from a specified due date I entered on the row if possible.

  • @RyaanTransportation
    @RyaanTransportation Месяц назад

    It's Tooooooooooooo awesome, it solves my problem now.

    • @SheetsNinja
      @SheetsNinja  Месяц назад

      Awesome, so glad this video was helpful for you!

  • @UptownDevelopmentsInc
    @UptownDevelopmentsInc 26 дней назад

    Hey very helpful thank you for taking the time. Question if have multiple tabs, is it possible to have this script specific for each tab? I have multiple project and I want to have tasks per project which are per tab.

    • @SheetsNinja
      @SheetsNinja  26 дней назад

      Yes, you can essentially use an if block for each tab, so the if with the curly braces, you can do one for each tab, e.g.
      If (tabName == tab1) {
      // Tab one notifications
      }
      If (tabName == tab 2) {
      // Tab 2 notifications
      }

  • @Carlie-d2w
    @Carlie-d2w 4 месяца назад

    This is great! What do I need to remove if I don't want any data from the columns pulling into the email, just the notification email sent?

    • @SheetsNinja
      @SheetsNinja  4 месяца назад +1

      You can just type what you want in the htmlBody part of the sendEmail section, and don't need to include any of the template literals: ${}

  • @mnm1827
    @mnm1827 13 дней назад

    Hi. How to add a notification that says "Please enter email" before sending the email?
    Condition is if the cell is set to YES, then it sends an email. but would like to not proceed to send an email if the email address is empty.

    • @SheetsNinja
      @SheetsNinja  13 дней назад

      With the way it's set up now, I would add this piece of code right in each of the email sections (e.g. follow up email & ready to start email) before anything else in that if statement that would look like this:
      if (data[6] == '') {
      SpreadsheetApp.getUi().alert("Please enter email and try again.");
      sheet.getRange(row,7).clearContent();
      return;
      }
      I add the line to clear the status so that way after they enter the email, they can select that status again and then it will run correctly.

    • @mnm1827
      @mnm1827 12 дней назад

      @@SheetsNinja works like a charm. thank you so much.
      how about if there's another column where another criteria needs to be met?

  • @stephenphillips7445
    @stephenphillips7445 2 месяца назад

    Now that Google Business has conditional notifications, can this be implemented easier without the script, but still using specifics from the dropdown menus?

    • @SheetsNinja
      @SheetsNinja  2 месяца назад

      So the conditional notifications that Google implemented for the business accounts can make simple notifications easier, but it doesn't give you any customization on what gets included in the notification or how it's formatted. You can see a quick walkthrough of how to set up Google's notifications here: support.google.com/docs/thread/278360807/google-sheets-new-feature-conditional-notifications?hl=en

  • @Data_Sheet
    @Data_Sheet Месяц назад

    checkMySheet(e) - what "e" mean? tried to apply to my sheet but there's an error in e.range?

    • @SheetsNinja
      @SheetsNinja  Месяц назад

      E is the event object so when you use the native onEdit(e) function or something else like checkMySheet(e) and add a trigger, the event object is what contains some information about the edit, for example, the cell that got updated, the sheet, etc. When you authorize the script, it's normal to have that error because the script is expecting 'e' to contain some things but when you run it in the script editor, it won't.

  • @stanjontra9405
    @stanjontra9405 3 месяца назад

    On my sheet, we have hidden columns. Would you count the hidden columns in the array?
    Very cool video, this is exactly what we were looking for.

    • @SheetsNinja
      @SheetsNinja  3 месяца назад +1

      Yes, you would need to count the hidden columns as well.

  • @UthithSpeedline
    @UthithSpeedline 6 дней назад

    Not able to download

    • @SheetsNinja
      @SheetsNinja  5 дней назад

      The link provided in the description allows you to make a copy of the Google Sheet to your Google Drive. If you are on Google Workspace, you may have an error if custom scripts are blocked. If you sign into your personal Google Account, you can get around the restriction that way.