Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 4.41 KB

File metadata and controls

24 lines (18 loc) · 4.41 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]

Example

require 'zernio-sdk'

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