Skip to content

Behaviors

Behavior definition

  • handle
  • behavior: enumeration
  • target: query string | $sink | $source | $all
  • fields: parameter for the behavior
  • data: JSON for the behavior
  • templates: string [] with paths that should be processed with ParseTemplate

Also available to each behavior is the original payload used to create the inbox event.

Templates

The templates parameter can contain paths that should be used to process the behavior defintion on the client using parse template. Both the current user profile and the original payload data will be available to the template.

Behavior options

  1. ux - perform a client side ux transition
  2. close
  3. automatic - perform an automatic action
  4. open
  5. dispatch - create a dispatch
  6. form - open a form
  7. chat - open a chat channel with the original sender
  8. layout - open a layout
  9. wiki - open a wiki page
  10. managedChat - open a managed chat
  11. schedule - start a schedule creation
  12. payment - start processing payment

Option details

Dispatch

Any data values will be merged into the dispatch when created. The tracker will come from fields and will be processed by the template parser combined with the data payload of the inbox object.

The tracker id comes from "fields" and can be populated using templates.

Managed chat

The destination id comes from "fields" and can be populated using templates.

Wiki page