Skip to main content

Send only one email when many records are updated

  • October 19, 2023
  • 6 replies
  • 50 views

Forum|alt.badge.img+2

Hello,

I want to send a slack message each time "Tag 1" is updated. But if 5 rows are updated, it will send me 5 times the same message. How can I solve it? 

 

Thank you,

Emilie 🙂 

 

6 replies

Forum|alt.badge.img+17
  • Inspiring
  • October 19, 2023

Hi @Emilie11 ,

Not sure what your slack message configuration looks like but can you try sending the found records as a grid token in the slack message? This is what works for me when sending an email (hopefully slack is no different). Could you post a screenshot of how the slack message is configured to send?

Otherwise you might need to change the trigger to something that does not send immediately when Tag 1 is updated.


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • October 20, 2023

Hi @Emilie11 ,

Not sure what your slack message configuration looks like but can you try sending the found records as a grid token in the slack message? This is what works for me when sending an email (hopefully slack is no different). Could you post a screenshot of how the slack message is configured to send?

Otherwise you might need to change the trigger to something that does not send immediately when Tag 1 is updated.


Hi Ella, I have tried everything in the configuration and either I get 1 message separately per Data which correspond to my Tag 1 < 0 which is sometimes up to 10 messages or I get all the number in one message but I get the same message 5 times. I also tried with emails and it is the same thing. Here is the screenshot of my current configuration but as I said I tried everything from all possible options. 

 


Forum|alt.badge.img+17
  • Inspiring
  • October 20, 2023

Hi Ella, I have tried everything in the configuration and either I get 1 message separately per Data which correspond to my Tag 1 < 0 which is sometimes up to 10 messages or I get all the number in one message but I get the same message 5 times. I also tried with emails and it is the same thing. Here is the screenshot of my current configuration but as I said I tried everything from all possible options. 

 


What is the configuration for the trigger?


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • October 23, 2023

Hi Ella, here is the configuration of the trigger 

 


Forum|alt.badge.img+17
  • Inspiring
  • October 23, 2023

Since your trigger fires every time that the record is updated you will get a notification for each record that is updated.

If you want a notification for a group of updated records instead of one notification for each updated record, I would suggest having the trigger fire at a specified time (at the interval over which you need notifications) or when a button is clicked (if you don't mind manual input to generate notifications). Without changing the current trigger, I would not know how to solve your original issue.


Forum|alt.badge.img+2
  • Author
  • Participating Frequently
  • October 24, 2023

Since your trigger fires every time that the record is updated you will get a notification for each record that is updated.

If you want a notification for a group of updated records instead of one notification for each updated record, I would suggest having the trigger fire at a specified time (at the interval over which you need notifications) or when a button is clicked (if you don't mind manual input to generate notifications). Without changing the current trigger, I would not know how to solve your original issue.


thank you 🙂