type: meya.calendly.trigger
class: CalendlyTrigger
path: /meya/calendly/trigger/trigger.py
signature: calendly_event
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
Fields
field | signature | required | type | default | description |
---|---|---|---|---|---|
spec | ○ | ○ | Spec | null | Override the original spec for this element |
bot | ○ | ○ | BotRef | null | Bot used to evaluate this trigger |
action | ○ | ◉ | TriggerActionEntry | Action executed if this trigger matches | |
when | ○ | ◉ | typing.Any | Custom condition for when to evaluate this trigger | |
confidence | ○ | ○ | Real | null | Custom confidence override value for trigger matches |
calendly_event | ◉ | ◉ | str | ||
booking_id | ○ | ○ | str | null | |
event_type_slug | ○ | ○ | str | null | |
assigned_to_email | ○ | ○ | str | null |
Examples
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