This trigger will match on incoming Calendly webhook payloads when:'
- calendly_event (ex. "invitee.created" matches)
- all of optional conditions match
- optional: booking_id, event_type_slug, assigned_to_email
This trigger can be used in transition as part of CalendlyComponent
or to start flows using slug and/or email conditions.
The when condition can also be useful to inspect deeper payload conditions
Element details
type: meya.calendly.trigger
class: CalendlyTrigger
path: /meya/calendly/trigger/trigger.py
signature: calendly_event
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
bot | Bot used to evaluate this trigger. | ○ | ○ | null | BotRef |
action | Action executed if this trigger matches. Check the trigger action guide for more info. | ◉ | ○ | TriggerActionEntry ActionComponentSpec | |
when | Custom condition for when to evaluate this trigger. Check the trigger when guide for more info. | ◉ | ○ | typing.Any | |
confidence | Override the default confidence with a custom value for trigger matches. | ○ | ○ | null | Real |
calendly_event | ◉ | ◉ | str | ||
booking_id | ○ | ○ | null | str | |
event_type_slug | ○ | ○ | null | str | |
assigned_to_email | ○ | ○ | null | str | |
Usage reference
Basic
triggers:
- when: ANY
calendly_event: STRING
steps:
- say: STRING
Full
type: meya.calendly.trigger
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
bot: element.name
action: COMPONENT
when: ANY
confidence: 123
calendly_event: STRING
booking_id: STRING
event_type_slug: STRING
assigned_to_email: STRING