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
Copy file name to clipboardExpand all lines: src/engage/user-subscriptions/subscription-sql.md
+3-9Lines changed: 3 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,19 +43,13 @@ For more subscription SQL best practices, view the [query requirements](#query-r
43
43
44
44
### Select a warehouse and preview your query
45
45
46
-
After you write your SQL query, click **Warehouse name** from the Configure screen to select the data warehouse you'd like to query.
47
-
48
-
Before you schedule your sync intervals, click **Preview** to preview and validate your results. To see subscription statuses for a particular profile, select a user row, then select the **Identities** tab.
49
-
50
-
### Select a warehouse and preview your query
51
-
52
-
After you write your SQL query, click **Warehouse name** from the Configure screen to select the data warehouse you'd like to query.
46
+
Once you write your SQL query, click **Warehouse name** from the Configure screen to select the data warehouse you'd like to query.
53
47
54
48
Before you schedule your sync intervals, click **Preview** to preview and validate your results. To see subscription statuses for a particular profile, select a user row, then select the Identities tab.
55
49
56
50
### Schedule sync intervals
57
51
58
-
After you connect a warehouse and preview your query, schedule sync intervals to import subscription data from your warehouse to Engage:
52
+
You can schedule sync intervals to import subscription data from your warehouse to Engage:
59
53
60
54
1. From the Configure screen, click **Schedule**.
61
55
2. Add a SQL job name and description.
@@ -78,7 +72,7 @@ From the Update History page you can view details for each SQL job including the
78
72
79
73
## Query requirements
80
74
81
-
When you build your query, keep the following requirements in mind for the data your query returns:
75
+
When you build your SQL query, keep the following requirements in mind for the data your query returns:
82
76
83
77
- 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).
84
78
- The query can't return more than 25 total columns.
Copy file name to clipboardExpand all lines: src/engage/user-subscriptions/subscription-states.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,9 +87,9 @@ To learn more about both options, reference the Engage documentation on using th
87
87
88
88
### Sync subscription statuses with SQL
89
89
90
-
Use SQL to import user subscription states from your data warehouse back to Engage. When you sync with SQL, you can query user subscription data at automated intervals. Pull subscription statuses on a per contact vector basis and use your data warehouse as a single source of truth for subscription data.
90
+
Use SQL to import user subscription states from your data warehouse back to Engage. When you sync with SQL, you can query user subscription data at automated intervals. Pull subscription statuses for each contact vector and use your data warehouse as a single source of truth for subscription data.
91
91
92
-
This option is especially useful if you don't have the ability to download CSVs with subscription information or can't invoke the subscription API.
92
+
This option is especially useful if you don't have the ability to set subscription states with CSVs or Segment's Public API.
93
93
94
94
View [Subscription SQL Sync](/docs/engage/user-subscriptions/subscription-sql/) for more information.
0 commit comments