SendGrid Connector
  • 20 Feb 2024
  • 1 Minute to read
  • Contributors

SendGrid Connector


Article summary

To download the connector, please visit: Library Page

Streamline email notifications from Tulip with the SendGrid Connector

Purpose

This guide provides a high-level starting point for integrating SendGrid to Tulip. This ultimately provide additional ways to integrate email messaging services with Tulip.

Setup

The following steps are required for integration:

  • SendGrid Account (SendGrid is now part of Twilio)
  • SendGrid Bearer Token

How it works

The library connector includes a single function: Send Email function

The SendGrid API Docs provide much more detail in regards to parameters and messaging constraints.

Authentication Overview

SendGrid API uses a bearer token for authentication.
The SendGrid Email API walks through this process step by step

Templated Message Body

Reference the Email API documentation linked above for additional context, but the basic message follows this template:

  {"personalizations": [{"to": [{"email": "recipient@example.com"}]}],
  "from": {"email": "sendeexampexample@example.com"},
  "subject": "Hello, World!",
  "content": [{"type": "text/plain", "value": "Hello!"}]}'

This is the message template used in the library connector function

Example Use Cases

Supervisor Alerting

Send emails to specific supervisors with templated messages to streamline alerting via andon apps

Maintenance Dispatching

Make use of email alerts to streamline maintenance dispatching and notification of issues


Was this article helpful?