Skip to content

Commit 91deed5

Browse files
committed
Feedback from Engineer
1 parent cffd2ec commit 91deed5

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

src/_data/sidenav/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ sections:
325325
- path: /engage/user-subscriptions/engage-source
326326
title: Engage Events Source
327327
- path: /engage/user-subscriptions/subscription-sql
328-
title: Subscription SQL
328+
title: Subscription with SQL Traits
329329
- section_title: Profiles
330330
description: "See how to create audiences based on data."
331331
section:

src/engage/user-subscriptions/subscription-sql.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
title: Subscription SQL Sync
2+
title: Subscription with SQL Traits
33
plan: engage-foundations
44
beta: true
55
---
66

7-
With Subscription SQL Sync, connect to your data warehouse and query user subscription data to Engage on a scheduled basis. Use your data warehouse as a single source of truth for subscription statuses and query from warehouses such as BigQuery, Redshift, or Snowflake.
7+
Use Subscription with SQL Traits to connect to your data warehouse and query user subscription data to Engage on a scheduled basis. Use your data warehouse as a single source of truth for subscription statuses and query from warehouses such as BigQuery, Redshift, or Snowflake.
88

99
On this page, you'll learn how to use SQL to sync subscription data from your warehouse to Engage.
1010

1111
## Getting started
1212

13-
To use Subscription SQL Sync, you need the following:
13+
To use Subscription with SQL Traits, you need the following:
1414
- A warehouse connected to Segment
1515
- A Segment workspace
1616
- A user account with access to Engage in that workspace
@@ -36,8 +36,8 @@ To configure subscription SQL, you can write your own query or click **Use Templ
3636
> Reset your SQL query by clicking **Reset Template**.
3737
3838
Queries must return at least one pair of the columns below with a value of `subscribed`, `unsubscribed`, or `did_not_subscribe`:
39-
- `email` and `segment_internal_email_subscription`
40-
- `phone` and `segment_internal_sms_subscription`
39+
- `email` and `_segment_internal_email_subscription_`
40+
- `phone` and `_segment_internal_sms_subscription_`
4141

4242
For more subscription SQL best practices, view the [query requirements](#query-requirements) below.
4343

@@ -75,7 +75,6 @@ From the Update History page you can view details for each SQL job including the
7575
When you build your SQL query, keep the following requirements in mind for the data your query returns:
7676

7777
- The query must return at least one column with `user_id`, `anonymous_id`, `email`, `phone` (or `group_id` for account traits if Profiles for B2B is enabled).
78-
- The query can't return more than 25 total columns.
7978
- The query must not include values for both `user_id` and `anonymous_id` for a given record.
8079
- The query must not return any `user_id`s, `anonymous_id`s, or `group_id`s with a `null` value.
8180
- The query must not return any records with duplicate `user_id`s.

src/engage/user-subscriptions/subscription-states.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Use SQL to import user subscription states from your data warehouse back to Enga
9191

9292
This option is especially useful if you don't have the ability to set subscription states with CSVs or Segment's Public API.
9393

94-
View [Subscription SQL Sync](/docs/engage/user-subscriptions/subscription-sql/) for more information.
94+
View [Subscription with SQL Traits](/docs/engage/user-subscriptions/subscription-sql/) for more information.
9595

9696
### Troubleshooting subscription states
9797

0 commit comments

Comments
 (0)