Skip to content

Commit b5cb924

Browse files
authored
further tweaking [netlify-build]
1 parent 2e8a453 commit b5cb924

File tree

1 file changed

+17
-24
lines changed
  • src/connections/destinations/catalog/actions-batch

1 file changed

+17
-24
lines changed

src/connections/destinations/catalog/actions-batch/index.md

Lines changed: 17 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ id: 596d11f870a3e552b957e6d9
77

88
[Batch](https://batch.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"} is a customer engagement platform for personalized, timely notifications and messages that boost retention and drive growth.
99

10-
This destination is maintained by Batch. For any issues, [contact Batch Support](mailto:[email protected]).
10+
This destination is maintained by Batch. For any issues, [contact Batch Support](mailto:[email protected]){:target="_blank"}.
1111

1212
## Getting started
1313

@@ -22,11 +22,10 @@ This destination is maintained by Batch. For any issues, [contact Batch Support]
2222

2323
{% include components/actions-fields.html %}
2424

25-
---
26-
2725
## Profile attributes mapping
2826

29-
If you’re new to the Identify call, see the [Segment spec](/docs/connections/spec/identify/) for more details.
27+
> info ""
28+
> If you’re new to the Identify call, see the [Segment spec](/docs/connections/spec/identify/) for more details.
3029
3130
When you call **Identify**, Segment maps `userId` to **`identifiers.custom_id`** and writes traits into **`attributes`**.
3231

@@ -59,8 +58,8 @@ analytics.identify("97980cfea0067", {
5958
| `traits.email_marketing` | `attributes.$email_marketing` |
6059
| `traits.sms_marketing` | `attributes.$sms_marketing` |
6160
| `context.timezone` | `attributes.$timezone` |
62-
| `context.locale` → language (for example, `fr`)| `attributes.$language` |
63-
| `context.locale` → region (for example, `FR`) | `attributes.$region` |
61+
| `context.locale` → language *(for example: `fr`)*| `attributes.$language` |
62+
| `context.locale` → region *(for example: `FR`)* | `attributes.$region` |
6463

6564
**Notes**
6665

@@ -71,7 +70,6 @@ analytics.identify("97980cfea0067", {
7170
> info ""
7271
> For more details on the fields to be included, refer to the Batch [API Profile documentation](https://doc.batch.com/developer/api/cep/profiles/update){:target="_blank"}.
7372
74-
7573
### Resulting Batch profile payload (output)
7674

7775
```json
@@ -108,17 +106,16 @@ To map additional traits into Batch profile attributes:
108106
5. **Save** and enable the mapping.
109107

110108
> info "Supported types"
111-
> Strings, numbers, booleans, arrays of strings are supported. Avoid arbitrary nested objects.
112-
113-
---
109+
> Strings, numbers, booleans, arrays of strings are supported.
110+
> Avoid arbitrary nested objects.
114111
115112
## Historical backfill request
116113

117114
If you want to integrate your entire Segment userbase into Batch using the **Identify** method, you can request a historical backfill from Segment.
118115

119116
To do this:
120117

121-
1. **Contact Segment Support** [[email protected]](mailto:[email protected]).
118+
1. **Contact Segment Support** at [[email protected]](mailto:[email protected]).
122119
2. **Request a historical replay** of your data.
123120
3. Provide Segment with the following details:
124121
- **Start date and time**
@@ -129,13 +126,12 @@ To do this:
129126

130127
Segment will then replay your historical data so Batch can import your full userbase.
131128

132-
---
133-
134129
## Profile events mapping
135130

136131
When you call **Track**, Segment uses your `userId` as Batch’s **`identifiers.custom_id`**. A **userId is required** to attribute the event to a profile.
137132

138-
For more details on the Track call, see the [Track spec](/docs/connections/spec/track).
133+
> info ""
134+
> For more details on the Track call, see the [Track spec](/docs/connections/spec/track).
139135
140136
### Example Track call (Segment input)
141137

@@ -177,22 +173,19 @@ Events are sent to Batch in near real time according to your destination mapping
177173

178174
![Events mapping](./images/events_mapping.png "Events mapping")
179175

180-
---
181-
182176
## Validation checklist
183177

184178
- Always send a stable `userId` → becomes `identifiers.custom_id`.
185-
- Native profile fields in `attributes`: `$email_address`, `$email_marketing`, `$phone_number`, `$sms_marketing`, `$language`, `$region`, `$timezone`.
186-
- Everything else **custom attributes** under `attributes`.
187-
- Dates: use **ISO‑8601 UTC** (for example, `1989-07-20T00:00:00Z`).
179+
- Place native profile fields under `attributes`: `$email_address`, `$email_marketing`, `$phone_number`, `$sms_marketing`, `$language`, `$region`, `$timezone`.
180+
- Put everything else under **custom attributes** in `attributes`.
181+
- Format dates using **ISO‑8601 UTC** (for example: `1989-07-20T00:00:00Z`).
188182
- Configure additional mappings in **Mappings → Edit Mapping**.
189-
- Test with a read-back/export to verify types, encodings, and timezones.
190-
191-
---
183+
- Test with a read-back or export to verify types, encodings, and timezones.
192184

193185
## Integrating a computed trait
194186

195-
For more details on computed traits, see the [Segment spec](/docs/unify/Traits/computed-traits).
187+
> info ""
188+
> For more details on computed traits, see the [Segment spec](/docs/unify/Traits/computed-traits).
196189
197190
To integrate a computed trait with Batch:
198191

@@ -202,7 +195,7 @@ To integrate a computed trait with Batch:
202195
- Otherwise, click **Add destination** and select **Batch (Actions)**.
203196
3. Open the **Engage** tab → **Audiences****Computed traits**.
204197
4. Click **Create computed trait**.
205-
5. Configure your **calculation method** (for example, count, aggregation, last value).
198+
5. Configure your **calculation method** (for example: count, aggregation, last value).
206199
6. Click **Preview**, then **Next**.
207200
7. Select your **Batch destination**.
208201
8. Choose how to send the data:

0 commit comments

Comments
 (0)