Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 4.81 KB

File metadata and controls

26 lines (20 loc) · 4.81 KB

Zernio::WorkflowNode

Properties

Name Type Description Notes
id String Stable node id referenced by edges
type String Node kind. The 16 supported types break into four groups: messaging (send_message), control flow (trigger, condition, delay, wait_for_reply, a_b_split, end), data ops (set_variable, set_field, add_tag, remove_tag, enroll_sequence), integrations (webhook, ai, handoff, start_call).
config Hash<String, Object> Type-specific settings. All string fields support `{{variable}}` interpolation against the run's variable bag (resolved at execution time). trigger: `{ triggerType: inbound_message api_call
position WorkflowNodePosition [optional]
label String Optional display name shown on the builder canvas and inspector, falling back to the node type when absent. The nodes array is replaced wholesale on update, so it must be resent to be kept. [optional]

Example

require 'zernio-sdk'

instance = Zernio::WorkflowNode.new(
  id: null,
  type: null,
  config: null,
  position: null,
  label: null
)