email@v1
Send an email.
| Version | email@v1 |
| Runs in | inbound-call and your own branches · api-initiated and inbound-sms · hangup, postHangup and events.ready |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
to | array of email address | yes | 1..10 items · accepts ${{ }} | |
subject | string | yes | 1..1024 characters | |
text | string | yes | 1..10240 characters | |
fromName | string | 1..255 characters · accepts ${{ }} | ||
replyTo | email address | 1..1024 characters · accepts ${{ }} |
Every parameter that accepts ${{ }} can be computed from an expression.
Examples
Sends an email from [email protected]
You can set the sender name and the reply-to but not the email address, because of SPF/DKIM restrictions.
- action: email@v1
params:
fromName: My Company # optional
replyTo: [email protected]
to:
- [email protected]
- [email protected]
subject: You received a call from ${{ call.fromNumber }}
text: |
Hello,
You received a call from ${{ call.fromNumber }}.
Number called: ${{ call.toNumber }} (${{ scenario.name }}).
Sincerely.Result
Set result: $myVariable to keep it. true when the email was sent, false otherwise (missing to, subject or text, or a sending error)
Type: boolean
trueUpdated about 3 hours ago
Did this page help you?
