Kembali ke SendGrid
Sambungkan Knoon AI dengan SendGrid untuk mengotomatisasi alur kerja AI.
Send an email.
sendgridDefaultSendEmail
Beta
Internal
Izin
Tidak ada item untuk ditampilkan.
Izin opsional
Tidak ada item untuk ditampilkan.
Parameter
| Nama | Tipe | Deskripsi | Wajib |
|---|---|---|---|
| from | mustache | Optional. Email address to send from (e.g. "no-reply@example.com"). If omitted, the default SendGrid sender for this app will be used. | Tidak |
| to | mustache | Recipient email address or a comma-separated list of addresses (e.g. "user@example.com" or "a@example.com,b@example.com"). | Ya |
| cc | mustache | Optional. CC recipients as a comma-separated list of addresses. | Tidak |
| bcc | mustache | Optional. BCC recipients as a comma-separated list of addresses. | Tidak |
| subject | mustache | Subject line of the email. | Ya |
| textBody | mustache | Plain text body of the email. At least one of textBody, htmlBody, or markdownBody must be provided. | Tidak |
| htmlBody | mustache | HTML body of the email. At least one of textBody, htmlBody, or markdownBody must be provided. | Tidak |
| markdownBody | mustache | Markdown body of the email. Will be converted to HTML automatically. At least one of textBody, htmlBody, or markdownBody must be provided. | Tidak |
| replyTo | mustache | Optional reply-to email address. | Tidak |
Pengembalian
| Nama | Tipe | Deskripsi |
|---|---|---|
| result | string | Status of the operation. Expected values: "SENT" or an error will be thrown on failure. |