Skip to content

Dynamics 365 — new or changed record ​

Starts the workflow when a Dynamics 365 contact, account, lead or opportunity is created or changed. The record lands in data.dynamics365, with no triggering email.

The Dynamics 365 — new or changed record trigger checks the chosen table at regular intervals and starts one run per record created (or changed, your choice). It starts at publication and never triggers twice for the same change.

At a glance ​

  • Type: trigger.dynamics365 · version 1
  • Category: Triggers
  • Kind: Trigger — starts a run
  • Effect: No external effect (none) — nothing is written outside Loop & Roll; safe to replay
  • Needs a carrier email: No
  • Connection: Microsoft Dynamics 365
  • Outputs: main
The ports of “Dynamics 365 — new or changed record”: what comes in on the left, what goes out on the rightIt starts runs: no input. Outputs: main. It needs a Microsoft Dynamics 365 connection.Dynamics 365 — new orchanged recordtrigger.dynamics365EventmainConnection: Microsoft Dynamics 365
The ports of “Dynamics 365 — new or changed record”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Microsoft Dynamics 365 connection.

Parameters ​

connection ​

Dynamics 365 connection — The Dynamics 365 connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

table ​

Table

  • Type: One choice (options)
  • Required: Yes
  • Default: lead
  • Options:
    • contact — Contacts
    • account — Accounts
    • lead — Leads
    • opportunity — Opportunities

event ​

Trigger on

  • Type: One choice (options)
  • Required: Yes
  • Default: created
  • Options:
    • created — A new record
    • updated — A changed record

everyMinutes ​

Check every (minutes)

  • Type: Number (number)
  • Required: No
  • Default: 15
  • Whole number, from 5 to 1440

Outputs ​

  • main — Taken by every run, one per record created (or changed) since the previous check.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.dynamics365.id }} — string. The record ID, to pass to the Dynamics 365 node.
  • {{ data.dynamics365.table }} — string. The table (contact, account, lead, opportunity).
  • {{ data.dynamics365.emailaddress1 }} — string. A column of the record, by its logical name (contacts, accounts, leads).
  • {{ data.dynamics365.changedAt }} — string. The creation (or change) time that triggered (ISO 8601, UTC).

Loop & Roll — the workflow builder for email.