type: meya.twilio.voice.component.call
class: TwilioVoiceCallComponent
path: /meya/twilio/voice/component/call.py
signature: -
Call
Create outbound call
Parameters:
to: number to call (end user)
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 | true | |
triggers | ○ | ○ | list | [] | Activate these dynamic triggers when the component runs |
to | ○ | ◉ | str | ||
integration | ○ | ◉ | TwilioVoiceIntegrationRef |
Examples
Basic
triggers:
- keyword: meya.twilio.voice.component.call
steps:
- type: meya.twilio.voice.component.call
to: STRING
integration: integration.twilio_voice
Full
triggers:
- keyword: meya.twilio.voice.component.call
steps:
- type: meya.twilio.voice.component.call
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
to: STRING
integration: integration.twilio_voice