Twilio SendGrid — send transactional and marketing emails, manage contacts and templates.
| Property | Value |
|---|
| Type | http |
| Authentication | bearer |
| Category | Communication |
| Field | Type | Required | Description |
|---|
api_key | string | Yes | SendGrid API key (starts with SG.) |
Send a transactional or marketing email via SendGrid.
| |
|---|
| Endpoint | POST /mail/send |
| Method | POST |
Retrieve all contacts from the SendGrid Marketing Contacts database.
| |
|---|
| Endpoint | GET /marketing/contacts |
| Method | GET |
Add or update contacts in the SendGrid Marketing Contacts database. Upserts by email address.
| |
|---|
| Endpoint | PUT /marketing/contacts |
| Method | PUT |
Retrieve a single contact by ID.
| |
|---|
| Endpoint | GET /marketing/contacts/{contactId} |
| Method | GET |
Delete one or more contacts by ID. This is a bulk operation.
| |
|---|
| Endpoint | DELETE /marketing/contacts |
| Method | DELETE |
List email templates (transactional and marketing).
| |
|---|
| Endpoint | GET /templates |
| Method | GET |
name: new-user-welcome-email
description: Add new signups to SendGrid and send a welcome email
action: sendgrid.add-contacts
- email: "{{ trigger.payload.email }}"
first_name: "{{ trigger.payload.first_name }}"
last_name: "{{ trigger.payload.last_name }}"
- name: list-welcome-templates
action: sendgrid.list-templates
- name: send-welcome-email
action: sendgrid.send-email
- email: "{{ trigger.payload.email }}"
name: "{{ trigger.payload.first_name }} {{ trigger.payload.last_name }}"
first_name: "{{ trigger.payload.first_name }}"
email: welcome@acmecorp.com
template_id: "{{ steps.list-welcome-templates.output.result[0].id }}"