How can you fetch and sort emails from a specific time frame in Decisions?
I have a Flow where I want to be able to look through all existing emails within my inbox in a given time frame. Is this possible?
Comments
-
Hi there,
To accomplish this we can use the Get Header Step with a ForEach Step. The Get Header Step will allow you to pull the header information (such as the associated date) from an email. The Get Header Step will work for either IMAP servers or using the POP3 protocol.
We can then use that information to sort the emails using a Rule Step. Utilizing the ForEach Step will allow us to go through and sort each email found within your inbox.
A general Flow utilizing this logic would look something like this:
Some documentation on the Get Header Step: https://documentation.decisions.com/step-library/docs/get-headers-step
Hope this helps!
Howdy, Stranger!
Categories
- 4.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 708 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions