twilio.flex.start_chat

Learn more: https://www.twilio.com/docs/flex/developer/messaging/api/chat-channel

Element details

type: meya.twilio.flex.component.start_chat
class: TwilioFlexStartChatComponent
path: /meya/twilio/flex/component/start_chat.py
signature: -

Fields

fielddescription               requiredsignaturedefaulttype
specOverride the original spec for this element.nullSpec
contextSend context data with this component's event.{}
dict
sensitivetruebool
triggersActivate these dynamic triggers when the component runs. Check the component triggers guide for more info.[]list
send_transcriptSend the conversation transcript to flex agent when chat is acceptedtruebool
chat_friendly_nameChat title. This is the only information the flex agent will see before chat is accepted, should be very informative e.g. "James - +55112222222222 - computer problem"str
task_attributesUsed for routing purposes. Check twilio docs https://www.twilio.com/taskrouternulldict
integrationTwilioBaseIntegrationRef

Usage reference

Basic

triggers:
  - keyword: meya.twilio.flex.component.start_chat
steps:
  - type: meya.twilio.flex.component.start_chat
    chat_friendly_name: STRING
    integration: integration.generic

Full

triggers:
  - keyword: meya.twilio.flex.component.start_chat
steps:
  - type: meya.twilio.flex.component.start_chat
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    send_transcript: false
    chat_friendly_name: STRING
    task_attributes:
      foo: bar
    integration: integration.generic