Skip to content
Microsoft Dynamics 365 Business Central

How to use Microsoft Dynamics 365 Business Central

Sales & CRMCost: 1 credit per runTop 100 · #39Full guide

What it is for

The Microsoft Dynamics 365 Business Central component lets you create, read, update, search and delete ERP records (customers, items, orders, invoices and more) from flooows. It is commonly used to sync customers with a CRM, log orders from an online store or get notified when accounting data changes.

New or Updated Record checks the selected company and record type every few minutes and starts the flow for each new or changed record.

Set up the connection

Authentication type: OAuth 2.0 (sign in with your account)

  1. 1Add a Business Central step and click "Connect".
  2. 2Sign in with a Microsoft account that has access to Business Central and accept the permissions.
  3. 3If your organization requires its own app, register it in Microsoft Entra, use the Redirect URI shown by flooows and add the Business Central API permissions Financials.ReadWrite.All and user_impersonation.
  4. 4Save the connection with a name that identifies the environment (production or sandbox).

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • In every action pick the "Company" first and then the "Record Type" (for example customers or sales orders).
  • Create Record: fill "Record Fields" by mapping data from a previous step, such as name, email or amount.
  • Search Records: use "Filter Fields" to find a record and get its ID.
  • Get Record, Update Record and Delete Record need the "Record ID", which you can map from the trigger or from Search Records.

Tips

  • •Test against a sandbox company or environment before writing to production.
  • •Search before creating to avoid duplicate customers.
  • •For endpoints not covered, Custom API Call reuses the same connection.

Triggers (1)

Events that can start a flow. Expand each one to see its fields.

New or Updated RecordPeriodic check2 fields
FieldTypeRequired
CompanyList (from your account)Yes
Record TypeFixed listYes

Actions (6)

Operations available as flow steps. Expand each one to see its fields.

Create Record3 fields
FieldTypeRequired
CompanyList (from your account)Yes
Record TypeFixed listYes
Record FieldsDynamic fieldsYes
Delete Record3 fields
FieldTypeRequired
CompanyList (from your account)Yes
Record TypeFixed listYes
Record IDTextYes
Get Record3 fields
FieldTypeRequired
CompanyList (from your account)Yes
Record TypeFixed listYes
Record IDTextYes
Update Record4 fields
FieldTypeRequired
CompanyList (from your account)Yes
Record TypeFixed listYes
Record IDTextYes
Record FieldsDynamic fieldsYes
Search Records3 fields
FieldTypeRequired
CompanyList (from your account)Yes
Record TypeFixed listYes
Filter FieldsDynamic fieldsYes
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Unauthorized or consent required

A Microsoft Entra admin must approve the permissions; then reconnect.

Company does not appear

Check that the user can access that company and environment in Business Central.

Validation error on create

Review the required fields for the record type and the date and amount formats.

Expired token

Reconnect the Microsoft account.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps