ByteChef LogoByteChef
Components

Sendgrid

Trusted for reliable email delivery at scale.

Trusted for reliable email delivery at scale.

Categories: Communication, Marketing Automation

Type: sendgrid/v1


Connections

Version: 1

Bearer Token

Properties

NameLabelTypeDescriptionRequired
tokenTokenSTRINGtrue

Actions

Send Email

Name: sendEmail

Sends an email.

Properties

NameLabelTypeDescriptionRequired
fromFromSTRINGEmail address from which you want to send.true
toToARRAY
Items [STRING]
Email addresses which you want to send to.true
ccCCARRAY
Items [STRING]
Email address which receives a copy.false
subjectSubjectSTRINGSubject of your emailtrue
textMessage BodySTRINGThis is the message you want to sendtrue
typeMessage TypeSTRING
Options text/plain, text/html
Message type for your contenttrue
attachmentsAttachmentsARRAY
Items [FILE_ENTRY]
A list of attachments you want to include with the email.false

Example JSON Structure

{
  "label" : "Send Email",
  "name" : "sendEmail",
  "parameters" : {
    "from" : "",
    "to" : [ "" ],
    "cc" : [ "" ],
    "subject" : "",
    "text" : "",
    "type" : "",
    "attachments" : [ {
      "extension" : "",
      "mimeType" : "",
      "name" : "",
      "url" : ""
    } ]
  },
  "type" : "sendgrid/v1/sendEmail"
}

Output

Type: OBJECT

Properties

NameTypeDescription
typeSTRING
fromSTRING
toARRAY
Items [STRING]
subjectSTRING
textSTRING
attachmentsARRAY
Items [FILE_ENTRY]

Output Example

{
  "type" : "",
  "from" : "",
  "to" : [ "" ],
  "subject" : "",
  "text" : "",
  "attachments" : [ {
    "extension" : "",
    "mimeType" : "",
    "name" : "",
    "url" : ""
  } ]
}

On this page