Skip to main content

Documentation Index

Fetch the complete documentation index at: https://explore.airia.com/llms.txt

Use this file to discover all available pages before exploring further.

Dynamics 365 actions let an agent work with account records directly in a flow. An agent can read, list, create, update, and delete accounts, then pass the results to later steps.

Supported actions

GroupActions
AccountGet, Get All, Create, Update, Delete

Prerequisites

Connect Dynamics 365 as a Dynamics 365 OAuth credential in Credential Management, then select it on every Dynamics 365 action. For the connection steps, see the Microsoft Entra OAuth setup guide.

How to use these actions

  • Map text inputs from earlier steps. Text inputs accept a value mapped from a previous step. The Top number and the Return All toggle take fixed values.
  • Query with OData options. The Get All action accepts OData query options. Use Select to choose fields, Filter to narrow results such as statecode eq 0, and Order By to sort such as name asc.
  • List fields as comma separated values. The Select and Expand inputs take comma separated field names.
  • Only accounts are supported today. These actions currently work with Account records only.

Actions

Account

Dynamics 365 Account Get

Retrieves an account by ID.
InputRequiredDescription
Account IDYesThe unique identifier of the account to retrieve.
SelectNoA comma separated list of fields to return.
ExpandNoA comma separated list of related lookups to expand.

Dynamics 365 Account Get All

Lists accounts.
InputRequiredDescription
Return AllNoToggle to return all results, or only up to the limit when off.
TopNoMaximum number of records to return when Return All is off, entered as a fixed number.
SelectNoA comma separated list of fields to return.
ExpandNoA comma separated list of related lookups to expand.
FilterNoAn OData filter expression, such as statecode eq 0.
Order ByNoAn OData order expression, such as name asc.

Dynamics 365 Account Create

Creates a new account.
InputRequiredDescription
NameYesThe account name.
DescriptionNoA description of the account.
Email AddressNoThe primary email address.
TelephoneNoThe primary phone number.
Website URLNoThe account’s website.
Email Address 2NoThe secondary email address.
Email Address 3NoThe alternate email address.
FaxNoThe account’s fax number.
FTP Site URLNoThe account’s FTP site address.
Telephone 2NoA secondary phone number.
Telephone 3NoAn alternate phone number.
SICNoThe SIC code.
Ticker SymbolNoThe account’s stock ticker symbol.
Stock ExchangeNoThe stock exchange the account trades on.
Yomi NameNoThe phonetic name.
Number Of EmployeesNoThe employee count, entered as a fixed number.
RevenueNoThe annual revenue, entered as a fixed number.
Credit LimitNoThe account’s credit limit, entered as a fixed number.
Industry CodeNoThe industry code, entered as a fixed number.
Additional code fieldsNoA set of optional coded classification fields, including account category, account rating, business type, customer size, customer type, preferred contact method, payment terms, shipping method, territory, preferred appointment day and time, shares outstanding, stage ID, and the primary Satori and Twitter IDs.

Dynamics 365 Account Update

Updates an existing account.
InputRequiredDescription
Account IDYesThe unique identifier of the account to update.
NameNoThe account name.
DescriptionNoA description of the account.
Email AddressNoThe primary email address.
TelephoneNoThe primary phone number.
Website URLNoThe account’s website.
Email Address 2NoThe secondary email address.
Email Address 3NoThe alternate email address.
FaxNoThe account’s fax number.
FTP Site URLNoThe account’s FTP site address.
Telephone 2NoA secondary phone number.
Telephone 3NoAn alternate phone number.
SICNoThe SIC code.
Ticker SymbolNoThe account’s stock ticker symbol.
Stock ExchangeNoThe stock exchange the account trades on.
Yomi NameNoThe phonetic name.
Number Of EmployeesNoThe employee count, entered as a fixed number.
RevenueNoThe annual revenue, entered as a fixed number.
Credit LimitNoThe account’s credit limit, entered as a fixed number.
Industry CodeNoThe industry code, entered as a fixed number.
Additional code fieldsNoA set of optional coded classification fields, including account category, account rating, business type, customer size, customer type, preferred contact method, payment terms, shipping method, territory, preferred appointment day and time, shares outstanding, stage ID, and the primary Satori and Twitter IDs.

Dynamics 365 Account Delete

Deletes an account.
InputRequiredDescription
Account IDYesThe unique identifier of the account to delete.

Example

An agent that refreshes details on active accounts:
1

List the accounts

A Dynamics 365 Account Get All action sets Filter to statecode eq 0 to return only active accounts and Select to the fields the agent needs.
2

Pick a record

A model step reviews the list and chooses the account to update, carrying its Account ID forward.
3

Update the account

A Dynamics 365 Account Update action maps Account ID from the previous step and sets the new field values, such as Telephone and Website URL.

Troubleshooting

The Account ID does not exist in the connected environment. Confirm the ID with a Get All action before retrieving, updating, or deleting.
These actions currently support Account records only. Other Dynamics 365 entities are not yet available through these actions.
For issues common to every vendor, see the Actions overview.