ahmed4566
(Syed S Ahmed)
April 24, 2024, 12:48pm
1
Subject :[WARNING - EXTERNAL] FW: !E-Past Due PO / Expedite Report_432654_SUNRICE, INC._
HI Guys, I need to filter the email with office 365
Subject: 432654- bot has to pick email with this number only
Sender: i.e for example: abc@sunrice.com
Date: from today to last 7 days.
@ahmed4566 ,
Try this filter in Get Outlook mail messages.
"@SQL=""urn:schemas:httpmail:subject"" like '%432654%' AND [SenderEmailAddress] = 'abc@sunrice.com' AND [Received] >= '" + DateTime.Today.AddDays(-7).ToString("d") + " 00:00AM' AND [Received] < '"+ DateTime.Today.ToString("d") + " 00:00AM'"
Thanks,
Ashok
ahmed4566
(Syed S Ahmed)
April 24, 2024, 1:33pm
3
Thanks Ashok, I am using office 365 and please update the xpression on if condition and the subject will be the queue item key and for every transaction it will change so it will be saved as key
@ahmed4566 ,
My bad I missed O365.
Here is filter for O365.
Use Get Email List
Set Filter like this.
The key is a variable you can customize it as per your requirement.
Thanks,
Ashok
system
(system)
Closed
May 7, 2024, 4:40pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.