SendGrid Marketing Campaigns has a native integration with Segment. This integration is bi-directional. It allows you to automatically stream your email events directly into Segment to be used inside your warehouse or other downstream destinations, and to send action-based data from Segment to your Marketing Campaigns account.
Currently, you can integrate SendGrid Marketing Campaigns with Segment as either an Event Source or an Action Destination.
You need both a SendGrid and Segment account to create these Integrations.
See below for instructions on how to create Integrations for SendGrid Event Sources and an Action Destination in Segment.
Creating a SendGrid Marketing Campaigns Event Source in Segment allows you to automatically stream your email events directly into Segment to help you get a unified view of customer interactions. For example, you can associate email opens and link clicks with your customers in Segment.
To send SendGrid events to Segment, you first create a new Source in your Segment account, and then you create an Integration to Segment in your SendGrid account.
Learn more about email events and Segment Sources:
First, in your Segment account, add Marketing Campaigns as a Source:
Next, in your SendGrid account, add Segment as an Integration:
SendGrid Marketing Campaigns is also available as a Segment Action Destination. In this case, Segment acts as the Source that sends data downstream into Marketing Campaigns.
The Actions that are currently supported as part of this Action Destination are:
For more information about this Action Destination and the data available to send, see SendGrid Marketing Campaigns Destination.
Before you connect Segment to your SendGrid Marketing Campaigns as a Destination, you need:
It is also recommended to have a SendGrid Marketing Campaigns Source in Segment.
When you have the above prerequisites, complete the following steps: