Easy Dropdown Selection Email Notifications in Google Sheets

Поділитися
Вставка
  • Опубліковано 29 гру 2024

КОМЕНТАРІ • 25

  • @maxwellisioro
    @maxwellisioro Місяць тому

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

    • @SheetsNinja
      @SheetsNinja  Місяць тому

      Yes, I have a video on mail merge here using Google Docs as the mail template: ua-cam.com/video/npQLogxgJrw/v-deo.html

    • @maxwellisioro
      @maxwellisioro Місяць тому

      @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 Місяць тому

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

  • @KamronKimbrough
    @KamronKimbrough Місяць тому

    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.

  • @SolomonTetteh-ot7ww
    @SolomonTetteh-ot7ww 5 місяців тому

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

  • @UptownDevelopmentsInc
    @UptownDevelopmentsInc Місяць тому

    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  Місяць тому

      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 5 місяців тому

    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  5 місяців тому +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: ${}

  • @IshimweChanceMarieAssoumpt-m4x
    @IshimweChanceMarieAssoumpt-m4x 25 днів тому

    But first of all do I have to do that table or not ? They are giving me error in codes

  • @stephenphillips7445
    @stephenphillips7445 3 місяці тому

    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  3 місяці тому

      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 2 місяці тому

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

    • @SheetsNinja
      @SheetsNinja  2 місяці тому

      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.

  • @RyaanTransportation
    @RyaanTransportation 2 місяці тому

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

    • @SheetsNinja
      @SheetsNinja  2 місяці тому

      Awesome, so glad this video was helpful for you!

  • @mnm1827
    @mnm1827 Місяць тому

    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  Місяць тому

      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 Місяць тому

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

  • @stanjontra9405
    @stanjontra9405 4 місяці тому

    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  4 місяці тому +1

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

  • @UthithSpeedline
    @UthithSpeedline Місяць тому

    Not able to download

    • @SheetsNinja
      @SheetsNinja  Місяць тому

      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.