You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[SendGrid Marketing Campaigns](https://sendgrid.com/solutions/email-marketing/){:target="_blank”} provides email marketing automation for businesses. With Segment you can add contacts and lists to SendGrid Marketing Campaigns.
14
+
[SendGrid](https://sendgrid.com/solutions/email-marketing/){:target="_blank”} provides email marketing automation for businesses. With Segment you can add contacts and lists to SendGrid.
15
15
16
16
## Getting started
17
17
18
18
1. From the Segment web app, click **Catalog**, then click **Destinations**.
19
19
2. Find the Destinations Actions item in the left navigation, and click it.
4. Select an existing Source to connect to SendGrid Marketing Campaigns (Actions).
22
-
5. In the destination settings, enter your SendGrid Marketing Campaigns “API key” into the connection settings. You should create a new API key for the Segment destination. You can read more about API keys on [Marketing Campaigns’s docs.](https://docs.sendgrid.com/ui/account-and-settings/api-keys){:target="_blank"}
20
+
3. Click **Configure SendGrid**.
21
+
4. Select an existing Source to connect to SendGrid.
22
+
5. In the destination settings, enter your SendGrid “API key” into the connection settings. You should create a new API key for the Segment destination. You can read more about API keys on [Marketing Campaigns’s docs.](https://docs.sendgrid.com/ui/account-and-settings/api-keys){:target="_blank"}
23
23
24
24
25
25
{% include components/actions-fields.html %}
26
26
27
+
## Additional details for the Send Email With Dynamic Template Action
27
28
28
-
## Recording Custom User Traits
29
+
### Usage
30
+
The [Send Email With Dynamic Template](#send-email-with-dynamic-template) Action can be used to send emails through SendGrid using [SendGrid Dynamic Templates](https://www.twilio.com/docs/sendgrid/ui/sending-email/how-to-send-an-email-with-dynamic-templates){:target="_blank”}. The Dynamic Template you use must already exist in SendGrid. Use the Action field [Dynamic Template Data](#dynamic-template-data) to populate values in the Dynamic Template.
31
+
32
+
### Contacts
33
+
SendGrid sends emails to the email addresses you specify, even if they are not listed as Contacts in SendGrid.
34
+
35
+
### SendGrid API Key
36
+
Segment and SendGrid recommend that you define the SendGrid API key within a subuser account and the domain is authenticated under that same subuser account. The Send Email With Dynamic Template Action requires that the SendGrid API Key has the following scopes assigned:
37
+
- Category Management: full
38
+
- IP Management: full
39
+
- Template Engine: full
40
+
41
+
## Additional details for the Upsert Contact Action
42
+
43
+
### Recording Custom User Traits
29
44
If you want to view any other custom user traits in the Marketing Campaigns list dashboard, you must create a [Custom Field inside Marketing Campaigns’s UI](https://docs.sendgrid.com/ui/managing-contacts/custom-fields#creating-custom-fields){:target="_blank"} of the traits in your identify calls. Note that you do not need to map all user.traits you are sending inside Marketing Campaigns. You only need to create Custom Fields of the traits you want to see in your list view.
30
45
31
-
## Custom Fields
46
+
###Custom Fields
32
47
To send custom fields/user traits to Marketing Campaigns you need to create the field first in Marketing Campaigns for each trait you want sent to Marketing Campaigns. Then when you call identify with keys that match those traits they will appear in your Marketing Campaigns list.
33
48
34
-
For any other custom traits just add a Custom Field inside of SendGrid Marketing Campaigns with a tag that matches the key you are using in your identify call.
49
+
For any other custom traits just add a Custom Field inside of SendGrid with a tag that matches the key you are using in your identify call.
35
50
51
+
### Recording userId
52
+
To record a Segment userId in SendGrid, you must pass the userID as a trait on your identify() calls. SendGrid does not automatically map the Segment userID to any Marketing Campaigns properties.
36
53
37
-
## Recording userId
38
-
To record a Segment userId in SendGrid Marketing Campaigns, you must pass the userID as a trait on your identify() calls. SendGrid does not automatically map the Segment userID to any Marketing Campaigns properties.
54
+
### SendGrid API Key
55
+
The Upsert Contact Action requires the SendGrid API Key to have the following scopes:
0 commit comments