Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

How to set To and From addresses for the email messages entity using flow



I am trying to create a new record in the Email Messages entity using the "Create Record" action of the Dynamics 365. I am able to set all the field values except the From and To fields. I tried passing the GUID of the contact recod and Email ID. But in both the cases, the records are being created but To and From Fields are blanks. 

Is there a way to populate these two fields using flow. your help is really appreciated.




Community Support
Community Support

Hi @vallamreddyvenu,


Do you use the trigger that When an email arrived?

I have tested on my side that, create a new record in the Email Message entity of Dynamic 365, it runs successfully, and the From field is not empty.Annotation 2019-10-01 145815.pngAnnotation 2019-10-01 145758.png


Could you please share your Flow configuration?

You could have a test that uses the compose action to find out To and From field whether is empty. Annotation 2019-10-01 145852.png

Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thanks for your reply lin tu. Even in my case, the "sender" field in the input body is being sent, but the output body is having sender filed value as null.


I have checked data in the system after the successful run of the flow, both to and from fields are blanks. Below the screenshots


I am just passing the valid email in a plain text format to the from field in the create record action of the Email Messages. Below the screenshot



Please let me know if you need more information. Thanks for your help once again.





Helpful resources

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (2,736)