calendly

type: meya.calendly.component
class: CalendlyComponent
path: /meya/calendly/component/component.py
signature: calendly

Fields

field

signature

required

type

default

description               

spec

Spec

null

Override the original spec for this element

context

dict

{}

Send context data with this component's event

sensitive

bool

false

Mark this component's event as sensitive

triggers

list

[]

Activate these dynamic triggers when the component runs

quick_replies

list

[]

List of buttons that the user can select for replies

composer

ComposerElementSpec

focus: blur
placeholder:
collapse_placeholder:
visibility:

header

HeaderElementSpec

buttons:
title:
progress:
milestones:
extra_buttons:

Override the header for this component

markdown

list
bool
NoneType

null

Override the bot Markdown mode for this component

calendly

str

integration

CalendlyIntegrationRef

null

The Calendly integration to use for booking confirmation

button_text

str

"Book a meeting"

closed_text

str

"No longer interested in booking a meeting?"

pending_text

str

"Completing the booking..."

try_again_text

str

"I'm still interested"

cancel_text

str

"Not interested"

prefill

dict

null

utm_source

str

"meya"

utm_campaign

str

null

utm_medium

str

null

utm_term

str

null

ask

str

null

title

str

null

description

str

null

image

TileImage

null

rows

list

[]

button_style

TileButtonStyle

null

Examples

Basic

triggers:
  - keyword: meya.calendly.component
steps:
  - calendly: STRING

Full

triggers:
  - keyword: meya.calendly.component
steps:
  - 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
    quick_replies:
      - url: STRING
        javascript: STRING
        button_id: STRING
        context:
          STRING: ANY
        default: false
        disabled: false
        divider: false
        icon:
          url: STRING
          color: STRING
          path: STRING
        action: COMPONENT
        value: ANY
        result: ANY
        data:
          STRING: ANY
        magic: false
        type: text|url|static|menu|divider|action|flow_next|component_next
        menu:
          - BUTTONELEMENTSPEC
        text: STRING
    composer:
      focus: file|image|text|blur
      placeholder: STRING
      collapse_placeholder: STRING
      visibility: collapse|hide|show
    header:
      buttons:
        - url: STRING
          javascript: STRING
          button_id: STRING
          context:
            STRING: ANY
          default: false
          disabled: false
          divider: false
          icon:
            url: STRING
            color: STRING
            path: STRING
          action: COMPONENT
          value: ANY
          result: ANY
          data:
            STRING: ANY
          magic: false
          type: text|url|static|menu|divider|action|flow_next|component_next
          menu:
            - BUTTONELEMENTSPEC
          text: STRING
      title:
        text: STRING
        icon:
          url: STRING
          color: STRING
          path: STRING
      progress:
        value: 123
        show_percent: false
      milestones:
        - text: STRING
          current: false
      extra_buttons:
        - url: STRING
          javascript: STRING
          button_id: STRING
          context:
            STRING: ANY
          default: false
          disabled: false
          divider: false
          icon:
            url: STRING
            color: STRING
            path: STRING
          action: COMPONENT
          value: ANY
          result: ANY
          data:
            STRING: ANY
          magic: false
          type: text|url|static|menu|divider|action|flow_next|component_next
          menu:
            - BUTTONELEMENTSPEC
          text: STRING
    markdown:
      - format|linkify|breaks|typographer
    calendly: STRING
    integration: integration.calendly
    button_text: STRING
    closed_text: STRING
    pending_text: STRING
    try_again_text: STRING
    cancel_text: STRING
    prefill:
      foo: bar
    utm_source: STRING
    utm_campaign: STRING
    utm_medium: STRING
    utm_term: STRING
    ask: STRING
    title: STRING
    description: STRING
    image:
      url: STRING
      alt: STRING
    rows:
      -   - cell: STRING
            value: ANY
    button_style: action|radio|text