Element details
type: meya.teckst.component.message.send
class: TeckstSendMessageComponent
path: /meya/teckst/component/message/send.py
signature: -
Fields
field | description | required | signature | default | type |
---|---|---|---|---|---|
spec | Override the original spec for this element. | ○ | ○ | null | Spec |
phone_number | Phone number to receive the message | ◉ | ○ | str | |
integration | Send with this Teckst integration | ◉ | ○ | TeckstIntegrationRef | |
context | Send context data with this component's event. | ○ | ○ | {} | dict |
sensitive | ○ | ○ | true | bool | |
triggers | Activate these dynamic triggers when the component runs. Check the component triggers guide for more info. | ○ | ○ | [] | list |
message | Text message to send to the phone number | ◉ | ○ | str | |
Usage reference
Basic
triggers:
- keyword: meya.teckst.component.message.send
steps:
- type: meya.teckst.component.message.send
phone_number: STRING
integration: integration.teckst
message: STRING
Full
triggers:
- keyword: meya.teckst.component.message.send
steps:
- type: meya.teckst.component.message.send
spec:
type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
phone_number: STRING
integration: integration.teckst
context:
STRING: ANY
sensitive: false
triggers:
- type: STRING
data:
STRING: ANY
timeout: 123
trigger_when: ANY
message: STRING