You're right, the manual process described in the Inogic blog post highlights the complexity of working with the "Regarding" (or "Related") field of the Email entity, especially when linking to multiple records. Here's how to achieve this using Power Automate:
Understanding the Challenge:
The "Regarding" field is a polymorphic lookup, meaning it can refer to records from multiple entities (like Contacts, Accounts, Opportunities, etc.). Power Automate needs to handle this complexity.
Power Automate Flow Steps:
@odata.type
: The entity's OData type (e.g., /contacts
, /accounts
).entityid
: The record's GUID<Contact GUID>
with the actual GUID from your Contact record.<Account GUID>
with the actual GUID from your Account record.Example Flow (Conceptual):
Important Notes:
@odata.type
values are case-sensitive and must be accurate.André Arnaud de Cal... Super User 2025 Season 1
Martin Dráb Most Valuable Professional
nmaenpaa Moderator