Dynamics 365 – Triggers and Methods

Estimated reading time: 7 min

What will start your automation…

A connection to your Microsoft Dynamics 365 account is needed so we can sync it with our platform.
Refer to Microsoft Dynamics 365 – Connection.

Microsoft Dynamics

See Wiresk Scheduler – The Fundamentals.

Setting up the recurrence rule or scheduler of your Trigger (if the Trigger is not a Webhook):

  • Regular intervals will monitor your Trigger by intervals in minute
  • Daily recurrence will monitor your Trigger by day and hour
  • Monthly recurrence will monitor your Trigger every month on a defined date and hour
  • Yearly recurrence will monitor your Trigger on a specific date and hour every year
  • Specific dates will start your Trigger on specific dates

After you’ve configured your Trigger parameters, select the “Use” button to fetch a live sample of data from the Trigger.

What it does:

  • Extracts real data based on your Trigger setup
  • Validates your parameters by showing if they match existing records
  • Prepares data for field mapping – the sample helps you map your Trigger output to your Method parameters in the Flow. Refer to FIELD MAPPING documentation.

Think of it as a preview step: it makes sure your Trigger is working and gives you real data to work with when setting up the rest of your flow.

The Flow will initiate automatically when a webhook event is received . This means that the Flow is automated without a scheduler and will run until you deactivate the Flow manually.


Microsoft Dynamics

What your automation will do…

Note that certain Methods will require an Entity Unique ID (Globally Unique Identifier – GUID)

  • From a Flow step in Wiresk or Power Automate (using dynamic fields).
  • Using Dynamics 365 Web API (via RESTful requests).
  • Using Advanced Find (and exporting results to Excel).
  • Using Dynamics 365 SDK (programmatically via C# or similar languages).
  • Directly from the URL of a record in the Dynamics 365 interface.
  • Using Custom Reports (e.g., SQL queries or fetch XML).
  • Through Third-Party Tools or Plugins (e.g., XrmToolBox).


After setting up your Flow, you can choose to:

  • Run once”, your Flow will run only a single time. You can use this function to test your Flow. Refer to how to set up an HTTP Trigger, in the Trigger setting step.
  • Run Scheduler” will automate your Flows with the recurrence rule you previously defined.


For more details, refer to How to run a Flow tutorial in our Help Center.
 
If you are using a Webhook Trigger, the Flow will initiate automatically when a webhook is received from your connected apps. This means that the Flow is automated without a scheduler and will run until you deactivate the Flow manually. Refer to Webhook documentation in our Help Center.


Learn more about Wiresk, explore our user guide.

If you need an integration that you cannot find in Wiresk, you can make a request to our team, and we will try our best to satisfy your needs.