Sendgrid
This page contains the setup guide and reference information for the Sendgrid source connector.
Prerequisites
Setup guide
Step 1: Set up Sendgrid
- Sendgrid Account
- Create Sendgrid API Key with the following permissions:
- Read-only access to all resources
- Full access to marketing resources
Step 2: Set up the Sendgrid connector in Airbyte
- Log into your Airbyte Cloud account or navigate to the Airbyte Open Source dashboard.
- In the left navigation bar, click Sources. In the top-right corner, click + New source.
- On the Set up the source page, enter the name for the Sendgrid connector and select Sendgrid from the Source type dropdown.
- Enter your
api_key
. - Enter your
start_date
. - Click Set up source.
Supported sync modes
The Sendgrid source connector supports the following sync modes:
Supported Streams
- Campaigns
- Lists
- Contacts
- Stats automations
- Segments
- Single Sends
- Templates
- Global suppression (Incremental)
- Suppression groups
- Suppression group members (Incremental)
- Blocks (Incremental)
- Bounces (Incremental)
- Invalid emails (Incremental)
- Spam reports
- Unsubscribe Groups
Create a read-only API key (Optional)
While you can set up the Sendgrid connector using any Salesforce user with read permission, we recommend creating a dedicated read-only user for Airbyte. This allows you to granularly control the which resources Airbyte can read.
The API key should be read-only on all resources except Marketing, where it needs Full Access.
Limitations & Troubleshooting
Expand to see details about Sendgrid connector limitations and troubleshooting.
Connector limitations
Rate limiting
The connector is restricted by normal Sendgrid requests limitation.
Troubleshooting
- Legacy marketing campaigns are not supported by this source connector. Sendgrid provides two different kinds of marketing campaigns, "legacy marketing campaigns" and "new marketing campaigns". If you are seeing a
403 FORBIDDEN error message for https://api.sendgrid.com/v3/marketing/campaigns
, it might be because your SendGrid account uses legacy marketing campaigns. - Check out common troubleshooting issues for the Sendgrid source connector on our Airbyte Forum.