NEON DEER DATA LABS Search documentation...

neondeerdata.com

Trigger · Subflows

Start a subflow

Starts this workflow when another workflow calls it for a record.

Subflow setup and worked example

Inputs

LabelKeyTypeRequiredNotes
Object object Object Yes Choose the same object the calling step uses.

Outputs

LabelKeyTypeAlways setNotes
Record record Record Yes
Record ID record_id Text Yes
Subflow ID subflow_id Text Yes
Triggered at triggered_at Timestamp Yes
Started by workflow started_by_workflow Text Yes
Calling run URL calling_run_url Text Yes
Input 1 input_1 Text Yes
Input 2 input_2 Text Yes
Input 3 input_3 Text Yes
Input 4 input_4 Text Yes
Input 5 input_5 Text Yes

How it behaves

  • Turn the workflow on before selecting it in a Call a subflow step for the same object.
  • The trigger supplies the record, the input values, and a Subflow ID identifying this call. An input not passed by the caller arrives as empty text.
  • Map this trigger's Subflow ID into Return from a subflow to send the result to the calling workflow.

Errors

Turning the workflow on or off fails when

  • If the workflow cannot be registered, check Automations setup and your plan, then turn the workflow on again.

Triggers have no error branch. When something goes wrong inside a trigger, no run starts. See Troubleshooting.

Example

A demo-request workflow calls a shared Companies routing workflow.

Example inputs
EventValue
Object Companies
Example outputs
OutputValue
Record Acme Corp (Companies)
Subflow ID The ID supplied for this call
Input 1 North America

Use the returned Subflow ID when sending values back to the caller.