1

Triggering an email when a specific has been updated on a table.

I've managed to get the emails sending when the whole table is created/modified etc. But my goal is to only send emails to a specific person, once a specific field has been changed. There doesn't seem to be too much online, and the AI are no good in this language.

My current code is the basic

  sendEmail({
    from: "me@me",
    to: "you@you",
    subject: "New Bug Logged",
    text: "Hi, a new bug has been logged, please hope online and take a look.",
    html: "<h1>Some Text</h1><i>With Markup</i>"
  });

This is sending all the time after every click or update on the table.

Any advice and resources are most appreciated

Thanks

3 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 5 mths ago
    • Reported - view

    Where do you put this script? On table level or on the specific field (after update) ?

      • Anne.1
      • 5 mths ago
      • Reported - view

        Mine is currently on table level, will look into field level now.

      • Anne.1
      • 5 mths ago
      • Reported - view

       This worked, thank you. Now to dive into getting the system flying.

Content aside

  • 1 Likes
  • 5 mths agoLast active
  • 3Replies
  • 50Views
  • 2 Following