Skip to content

CourtiGo client record changed ​

Starts the workflow when a CourtiGo client record is created or changed, checking at a regular interval. The record lands in data.courtigo, with its policies, with no triggering email.

The CourtiGo client record changed trigger checks CourtiGo at a regular interval and starts a run for each client record created or changed since the previous check (GET /clients/warehouse?updated_since=…).

The run has no carrier email. To write to the client, use Send with a sending mailbox chosen on the node.

At a glance ​

  • Type: trigger.courtigo · 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: CourtiGo
  • Outputs: main
The ports of “CourtiGo client record changed”: what comes in on the left, what goes out on the rightIt starts runs: no input. Outputs: main. It needs a CourtiGo connection.CourtiGo client recordchangedtrigger.courtigoEventmainConnection: CourtiGo
The ports of “CourtiGo client record changed”: what comes in on the left, what goes out on the right

Connection ​

This node needs a CourtiGo connection.

Parameters ​

connection ​

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

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

everyMinutes ​

Check every (minutes) — Each check reads the records changed since the previous one.

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

Outputs ​

  • main — Taken once per created or changed client record found during a check: each record starts its own run.

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.courtigo.clientId }} — string. The client record identifier, to pass to the CourtiGo node.
  • {{ data.courtigo.client }} — object. The client record as CourtiGo returns it.
  • {{ data.courtigo.clientDetails }} — object. The record’s consolidated details, as CourtiGo returns them.
  • {{ data.courtigo.contracts }} — array of object. The record’s policies.

Example ​

To send a welcome email for each new record:

everyMinutes   15

then an If condition on the record, and a send to the address in {{ data.courtigo.client }}.

Tips ​

  • Starting point. On publishing, the trigger starts “from now”: existing records are not replayed.
  • No duplicates. A run is identified by the record and a fingerprint of its content: reading the same state again starts nothing, a new change does.
  • Volume. A check reads at most 100 records; a full page is read again on the next check.
  • Pace. Between 5 and 1,440 minutes, 15 by default.

Loop & Roll — the workflow builder for email.