I currently have a recurring email that goes out to Accounting on a schedule Monday to Friday. It counts the number of invoices that are not paid. So users may get the same email and same count of invoices. I like to enhance this so that only initial so it does not repeatedly send out this email if the count of invoices is the same from yesterday. Do you have any suggestions for improvement. thanks,
Here is how it looks right now:
Recurrence
Get items: Filter: field_27 eq 'Not Paid'
Compose to count number of invoice from the Get items: length(body('Get_items')?['value'])
Conditon to check the output is greater then 1
Send an email.