Hi,
I'm creating a Power Automate flow to track emails from a shared inbox, create them as email records with the relevant attachments etc. (Our system isn't capable of being set up with the shared inbox as a queue).
I originally was going to use the Add a new row, create an email record with relevant lookup fields etc, however this was very complicated due to the number of lookups and conditions needed to ensure that the right GUID was found for the right table for the Activity Parties (i.e. the To, From, CC fields).
I instead found a pre-built action - DeliverPromoteEmail, which takes string inputs from the email in question, creates the relevant email activity record (with lookups as appropriate) and then I can link it to the correct incident with an "update row" action..
HOWEVER when creating an email record with attachments, the attachments are not being created - Dynamics warns that they are restricted filetypes (they aren't) or couldn't be created for another reason.
I am passing to the action an array of attachments which contains:
where content is the contentBytes from Outlook.
Am I missing something?
The DeliverIncomingEmail action seems like it should be an alternative, but it doesn't work in Flow.
Perfect,
thanks mate.. :)
regards
Martin
In case it is helpful, this is the set up of the bound action:
where the if statement is:
the RowID is a PowerAutomate generated GUID
and the attachments is an array with the selected fields as in my OP.
There is then an Update Row action below this to set the regardingobjectid (using the generated guid to pick the right row to update).
Hi,
thnaks for sharing, I'm looking into the same issue myself so this is great start.. :)
regards
Martin
Hi,
It's great to hear that.
Thanks for your sharing!
I've resolved this - I needed to decode the contentBytes into binary and then change the column name to body_binary
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156