Skip to content

Commit d208999

Browse files
authored
Merge pull request #155 from segmentio/repo-sync
repo sync
2 parents 7ac39c4 + 988e2f9 commit d208999

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

src/connections/destinations/catalog/databrain/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ redirect_from: '/connections/destinations/catalog/supervised-ai/'
66

77
[DataBrain](https://usedatabrain.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) provides a proactive customer success tool for hyper-growth startups. DataBrain is fully data driven. It ingests data from Segment and leverage smachine learning techniques to send users automated alerts, and predict churn, conversion, retention or any event you need to track.
88

9-
This destination is maintained by DataBrain. For any issues with the destination, [contact the DataBrain Support team](mailto:support@supervisedai.com).
9+
This destination is maintained by DataBrain. For any issues with the destination, [contact the DataBrain Support team](mailto:support@usedatabrain.com).
1010

1111
## Getting Started
1212

1313
{% include content/connection-modes.md %}
1414

1515
1. From the Segment App's Destinations catalog page, click **Add Destination**.
1616
2. Search for "DataBrain" in the Destinations Catalog, and select the DataBrain destination.
17-
3. Go to your [DataBrain dashboard](https://usedatabrain.com/integrations), and copy your "API Key".
17+
3. Go to your [DataBrain dashboard](https://api.usedatabrain.com/integrations), and copy your "API Key".
1818
4. Back in the Segment app, paste the API key into the settings for the DataBrain destination.
1919

2020
> info ""

src/connections/destinations/catalog/slack/index.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ By default, your `identify` calls will not be sent through to Slack unless you h
3333
### Identify Template
3434
Once you've saved your whitelisted traits, you can now use them alongside [Handlebars expressions](http://handlebarsjs.com/expressions.html) syntax within a template. Make sure you reference the spec for the [Identify method](/docs/connections/spec/identify/) and [common object](/docs/connections/spec/common/). `Identify` events that contain the whitelisted `traits` will appear as a Slack message with the following default template:
3535
```
36-
Identified user \{{name}}. \n\{{traits}}
36+
{% raw %}
37+
Identified user {{name}}. \n\{{traits}}
38+
{% endraw %}
3739
```
3840
where "name" is the first found of the following:
3941
* `context.traits.name`
@@ -77,9 +79,13 @@ If you would like to have specific events be sent to a particular channel (#chan
7779
### Event Templates
7880
Event templates also use [Handlebars expressions](https://handlebarsjs.com/guide/expressions.html) syntax. Make sure you reference the spec for the [Track method](/docs/connections/spec/track/) and [common object](/docs/connections/spec/common/). `Track` events will trigger a Slack message with the following default template:
7981

80-
`'\{{name}} did \{{event}}.'`
82+
```
83+
{% raw %}
84+
{{name}} did {{event}}.
85+
{% endraw %}
86+
```
8187

82-
where "event" is the event name and "name" is found with the same logic as that of the "name" in the [Identify template](/docs/connections/destinations/catalog/slack/#identify-template).
88+
"event" is the event name and "name" is found with the same logic as that of the "name" in the [Identify template](/docs/connections/destinations/catalog/slack/#identify-template).
8389

8490
The basic Track structure:
8591

@@ -127,5 +133,5 @@ The Slack Destination does not support `page` or `group` calls. Only `track` eve
127133

128134
In order for `identify` events to work, make sure you [whitelist the traits](/docs/connections/destinations/catalog/slack/#whitelisted-traits).
129135

130-
### I'm seeing [object Object] in my Slack message
131-
If you try to print an object (eg., `\{{properties}}`), you will see [object Object] in Slack. Drill down to a primitive type value (eg., `properties.plan`).
136+
### I see [object Object] in my Slack message
137+
If you try to print an object (for example, {% raw %} `{{properties}}` {% endraw %} ), you will see [object Object] in Slack. Drill down to a primitive type value (for example, `properties.plan`).

src/protocols/tracking-plan/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The Tracking Plan editor is organized as a spreadsheet to help you add new even
3737
| Name | Specify the name of your event or property. |
3838
| Description | Enter a description for your event or property. These descriptions are helpful for both engineers instrumenting Segment and consumers of the data. |
3939
| Status | Specify whether a property is required or optional. You can't require a `.track()` call because Segment is unable to verify when a `.track()` call should be fired. |
40-
| Data Type | Specify the data type of the property. Data type options include `any, array, object, boolean, integer, number, string`. |
40+
| Data Type | Specify the data type of the property. Data type options include `any, array, object, boolean, integer, number, string, Date time`. Note: Date time is required to be in ISO-8601 format |
4141
| Permitted Values | Enter simple regular expressions to validate property values. This works when a property data type is set to `string`. For example, you can add pipe delimited strings to the regex column to generate violations when a property value does not match fall, winter or spring. |
4242

4343
> info ""

0 commit comments

Comments
 (0)