Hi Everyone
I'm new to power automate and I've basically been trying to automate an email filing system. My current flow is:
When a new email arrives (inbox) ->
Export email (message id) ->
Create file:
This works perfectly fine, but I'm wondering if I can get a specific folder path.
Essentially I want to create a folder using dynamic content based on the contact's organisation field. The closest thing I get is to/from/cc, but this gives me virtually no organisational options and if anything actually makes it harder to locate files since it only categorises based on sender/recipient (as opposed to the organisations as a whole which those people work for).
I am doing this because my organisation receives a large number of emails that need to be easily accessed at any moment. We currently have a very comprehensive file system on our hard drive that works great to retrieve emails but takes a long time to individually file each email. Is this something I can even achieve using power automate?
I know this is a really complicated question and I'm not quite sure how to word the issue I'm having as I have little tech experience, but I'm taking it here since it's the only option for non-premium members.
tl;dr -- Is there a dynamic content field for an Outlook contact's work organisation?
Solved! Go to Solution.
Hi @emilia
No, there no dynamic content field for an Outlook contact's work organization. Instead of that, I would work with the organization domain name: e.g test@mycompany.com would get mycompany as organization Id.
Therefore, you could use the "From" field and use the following expression to get the domain:
split(split(triggerOutputs()?['body/from'],'@')[1],'.')[0]
Then you can create a folder name for each domain and store there the emails.
Hope it helps!
Ferran
Hi @emilia
No, there no dynamic content field for an Outlook contact's work organization. Instead of that, I would work with the organization domain name: e.g test@mycompany.com would get mycompany as organization Id.
Therefore, you could use the "From" field and use the following expression to get the domain:
split(split(triggerOutputs()?['body/from'],'@')[1],'.')[0]
Then you can create a folder name for each domain and store there the emails.
Hope it helps!
Ferran
Thanks so much! This is super helpful.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
If you are a small business ISV/Reseller, share your thoughts with our research team.
User | Count |
---|---|
26 | |
25 | |
23 | |
22 | |
14 |
User | Count |
---|---|
45 | |
33 | |
32 | |
31 | |
30 |