Skip to content

D365 Execute Action ​

Executes a custom or system action in Microsoft Dynamics 365 / Dataverse.

Purpose ​

Use this task when a workflow needs to trigger business logic already defined in Dynamics 365, such as winning an opportunity, qualifying a lead, or running a custom action. It supports both global actions (not bound to a record) and entity-bound actions (executed against a specific record). The action response is parsed from JSON and made available as an output variable.

Inputs ​

FieldTypeRequiredDescription
Service Account - Microsoft Dynamics 365Service AccountYesThe Dynamics 365 service account used to authenticate with Dataverse.
Action NameTextYesThe internal logical name of the action to execute (e.g. WinOpportunity, new_MyCustomAction).
ParametersKey-Value PairsNoInput parameters to pass to the action. Keys and values must match the action's defined inputs.
Entity TypeTextNoThe logical entity name for entity-bound actions. Leave blank for global actions.
Entity IdTextNoThe GUID of the record for entity-bound actions. Leave blank for global actions.

Outputs ​

NameDescription
Action NameThe name of the action that was executed.
Response DataThe parsed response body returned by the action, or the raw response string if JSON parsing fails.
Status CodeThe HTTP status code returned by the Dataverse API.
Entity TypeThe entity type used (only present when an entity-bound action was executed).
Entity IdThe record GUID used (only present when an entity-bound action was executed).

Tentech