Perform Bound/Unbound Action with EntityType Parameters in Power Automate
Actions
If you are not sure whether you need to populate the entity object or entity reference in the parameter, do a quick web search for the action name with double quotes to find some examples provided by the community. (e.g. "AddMemberList", "CloseIncident", etc. Andrew Butenko has answered some of actions in the community forum and he has compiled WebApi examples in his blog (which can be referenced to compose the JSON object of Action Parameters).
🔗 CloseIncident Action (sample for entity type parameter)
CRM do not support direct update of Entity Reference properties, Use Navigation properties instead.
- IncidentResolution (incidentresolution EntityType)
- subject (Resolution in case resolution dialog)
- resolutiontypecode (5 = Problem Solved)
- [email protected] (EntitySetName and GUID of Case to be resolved)
- statuscode (Status of Case Resolution table, 2 = Closed)
- Status (statuscode of Case table, 5 = Problem Solved)
{
"IncidentResolution": {
"subject": "Test Resolution",
"resolutiontypecode": 5,
"[email protected]": "incidents(e515f881-1bf1-4ebd-9290-92429bbb1c80)",
"statuscode": 2
},
"Status": 5
}
🔗 QualifyLead Action (sample for entity-specific reference parameter)
Resource not found for the segment 'QualifyLead'
- CreateAccount (false = do not create an account from the originating lead)
- CreateContact (true = create a contact from the originating lead)
- CreateOpportunity (create an opportunity from the originating lead)
- OpportunityCurrencyId (transactioncurrency EntityType but only reference is required)
- transactioncurrencyid (Guid of the Currency row. Since the reference is entity-specific, only primary key is required and @odata.type is not necessary)
- Status (statuscode of Lead, 3 = Qualified)
{
"CreateAccount": false,
"CreateContact": true,
"CreateOpportunity": true,
"OpportunityCurrencyId": {
"transactioncurrencyid": "2E8C917E-3520-EB11-A813-000D3A799D17"
},
"Status": 3
}
🔗 AddMembersTeam Action (sample for entity reference parameter with different primary key)
🔗 SendEmailFromTemplate Action (sample for crmbaseentity EntityType parameter)
- TemplateId (GUID of the email template to be used)
- Regarding (crmbaseentity type entity reference but accepts EntitySetName and GUID of the Regarding row)
- Target (crmbaseentity type entity object of an email to be created)
- @odata.type (the type of the entity. Double @@ is required as an escape character because single leading@ would cause the following error message when the flow is saved)
- email_activity_parties (activity party array object for the email sender and recipients)
- [email protected] (EntitySetName and GUID of the contact)
- participationtypemask (2 = To recipient)
Request to XRM API failed with error: 'Message: Flow client error returned with status code "BadRequest" and details "{"error":{"code":"TemplateValidationError","message":"The power flow's logic app flow template was invalid. Unable to parse template language expression 'odata.type': expected token 'LeftParenthesis' and actual 'Dot'."}}". Code: 0x80060467 InnerError: '.
{
"@@odata.type": "Microsoft.Dynamics.CRM.email",
"email_activity_parties": [{
"[email protected]": "contacts(8da6e5b9-88df-e311-b8e5-6c3be5a8b200)",
"participationtypemask": 2
}]
}
🔗 msdyn_AssignResourcesForTask Action
🔗 WinOpportunity Action
{
"OpportunityClose": {
"[email protected]": "opportunities(be0d0283-5bf2-e311-945f-6c3be5a8dd64)",
"actualrevenue": 10000000,
"statuscode": 2,
"actualend": "2021-05-10T12:00:00Z",
"description": "Test Opportunity Close"
},
"Status": 3
}Summary
Published on:
Learn moreRelated posts
Power Automate: Fixing the ‘ChildFlowNeverPublished’ Error
While trying to enable one of the cloud flows from a managed solution I had installed, I encountered the following error: “{“erro...
Power Automate – Information regarding the end of support for Document Automation Toolkit
On November 15, 2025, the Document Automation Toolkitfeature in Power Automate reached of support. How does this affect me? Makers will no lon...
AI Agent Security: Applying Presume Breach and Least Privilege in Microsoft Copilot Studio & Power Automate
AI-backed tools are powerful and easy to develop. Give an agent access and clear instructions, and in many cases, it can just do the job. Howe...
Power Automate – Enable process mining integration in process map
We are announcing the ability to enable process mining integration in process map in Power Automate. This feature will reach general availabil...
How to Automate Image Descriptions with AI Builder in Power Automate
In today’s fast-paced digital world, automating repetitive tasks not only saves time but also significantly improves productivity. Microsoft n...
How to Identify and Update Power Automate HTTP Request Trigger Flows Before November 2025
Few weeks back, while working on one of our Power Automate flows, we noticed a banner warning on the HTTP Request trigger step. Microsoft has ...
Power Automate – HTTP and Teams webhook trigger flows are moving to new URLs
As of August 2025, Power Automate flows and Agent flows (Copilot Studio) with HTTP triggers or Teams Webhook triggers that have logic.azure.co...
How to Automate Document Signing with DocuSign in Power Automate
Introduction In an earlier Inogic post, “Streamlining E-Signatures in Multi-Step Forms with Power Pages and DocuSign Integration”, Our previou...
Power Automate Retry and Error Handling Patterns for Reliable Power Pages Integrations
When Power Pages integrates with Power Automate, reliability becomes key. Portal users expect instant responses — whether submitting a form, u...
Handling Large Files in Power Automate
Power Automate can handle large files, but how large? SharePoint Online supports files up to 250 GB, which sounds generous until you try movin...













