Skip to main content

Connect to SendGrid

You can connect to your SendGrid account and make it available as a resource in Retool. Once complete, your users can write queries that interact with SendGrid data.

Requirements

All users for Retool organizations on Free or Team plans have global Edit permissions and can add, edit, and remove resources. If your organization manages user permissions for resources, you must be a member of a group with Edit all permissions.

To create a SendGrid resource, you need:

1. Create a SendGrid resource

Retool can connect to almost any API or database, and has built-in integrations for popular data sources. Sign in to your Retool organization and create a new SendGrid resource from the Resources tab.

2. Configure the resource

Provide the necessary details to configure the resource so Retool can connect to SendGrid.

General

These settings configure the name and location of the resource within Retool.

Name

The name to use for the resource (e.g., SendGrid).

Folder

The folder in which to save the resource.

Description

A brief description of the resource (e.g., Notifications).

Credentials

These settings configure how Retool connects to SendGrid.

Access token

Your SendGrid API key.

3. Save the resource

Click Create resource to complete the setup. You can then click either Create an app to immediately start building a Retool app or Back to resources to return to the list of resources.

Wrap up

Your SendGrid resource is now ready to use. You write queries to read or write data by specifying the endpoint in the Operation field and an optional request body.

To verify you can successfully interact with SendGrid, write a test query to retrieve your tracking settings. Select GET /tracking_settings/open as the Operation.

Response
{
"enabled": true
}