-
Notifications
You must be signed in to change notification settings - Fork 402
Expand file tree
/
Copy pathactions-fields.html
More file actions
206 lines (169 loc) · 7.01 KB
/
actions-fields.html
File metadata and controls
206 lines (169 loc) · 7.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
{% assign currentSlug = page.url | split: "/" | last %}
{% assign currentId = page.id %}
{% if page.private %}
{% assign currentIntegration = site.data.catalog.destinations_private.items | where: "id", currentId | first %}
{% elsif page.id %}
{% assign currentIntegration = site.data.catalog.destinations.items | where: "id", currentId | first %}
{% else %}
{% assign currentIntegration = site.data.catalog.destinations.items | where: "slug", currentSlug | first %}
{% endif %}
{% assign conn = include.settings %}
{% assign connectionModes = currentIntegration.connection_modes %}
{% assign settings = currentIntegration.settings %}
{% assign actions = currentIntegration.actions %}
{% assign presets = currentIntegration.presets %}
{% assign hiddenActions = page.hide_action | map: "id"%}
{% if settings.size > 0 %}
## Destination Settings
<table >
<thead>
<tr>
<th>Setting</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for setting in settings %}
<tr>
<td>{{setting.label}}</td>
<td>{% if setting.required %}<em>Required.</em><br />{%endif%}{{setting.description | markdownify}}</td>
</tr>
{%endfor%}
</tbody>
</table>
{% endif %}
{% if presets.size > 0 %}
## Available Presets
{{currentIntegration.display_name}} has the following presets:
<table>
<thead>
<tr>
<th>Preset Name</th>
<th>Trigger</th>
<th>Default Action</th>
</tr>
</thead>
<tbody>
{% for preset in presets %}
{% assign triggers = preset.trigger | split: " or" %}
{% assign id = preset.actionId %}
{% assign actionName = actions | where: "id", id | first %}
<tr>
<td>{{preset.name}}</td>
<td>{% for trigger in triggers %}Event {{trigger}}<br />{%endfor%}</td>
<td>{{actionName.name}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
## Available Actions
<!-- IG 10/2023 - The customer success engineers wanted to add this note due to some breaking changes. Originally made in PR #5387 -->
{% if currentIntegration.id == '63ed446fe60a1b56c5e6f130' %}
<div class="premonition warning">
<div class="fa fa-check-square"></div>
<div class="content">
<p class="header">Required fields may have changed</p>
<p markdown=1>
View the [Google Analytics documentation](https://developers.google.com/analytics/devguides/collection/ga4/reference/events?client_type=gtag#purchase){:target="_blank"} for the most up-to-date list of required fields.
</p>
</div>
</div>
{% endif %}
Build your own Mappings. Combine supported [triggers](/docs/connections/destinations/actions/#components-of-a-destination-action) with the following {{currentIntegration.display_name | remove: " (Actions)"}}-supported actions:
<div class="premonition info">
<div class="fa fa-info-circle"></div>
<div class="content">
<p class="header">Mapping limits per destination</p>
<p>Individual destination instances have support a maximum of 50 mappings.</p>
</div>
</div>
{% for action in actions %}
{% unless hiddenActions contains action.id %}
- [{{action.name}}](#{{action.name | slugify}})
{% endunless %}
{% endfor %}
{% for action in actions %}
{% unless hiddenActions contains action.id %}
### {{action.name}}
<p>{{action.description | markdownify}}</p>
<p>{{action.name}} is a <strong>{{action.platform | capitalize}}</strong> action. {% if action.defaultTrigger %}The default Trigger is: <code>{{action.defaultTrigger}}</code> {%endif%}</p>
<!--- IG 7/2024 - CSE requested this note, as customers were confused about why some required fields didn't appear in the in-app LaunchDarkly Audiences mappings -->
{% if action.id == 'aPAULh8sgt5bcTeXJuXTB6' %}
<div class="premonition info">
<div class="fa fa-check-circle"></div>
<div class="content">
<p class="header">Segment automatically maps Audience ID and Audience Key fields</p>
<p markdown=1>
Segment hides these two fields from the UI to avoid user error, as these fields remain static in Engage. Audience ID defaults to `property : context.personas.computation_id` and Audience Key defaults to `property : context.personas.computation_key`.
</p>
</div>
</div>
{% endif %}
<!--- IG 9/2024 - PM wanted to call out that this specific HubSpot Cloud (Actions) Action can make multiple associations-->
{% if action.id == 'dMYued7r3VjK4c2gBWUTZi' %}
<div class="premonition info">
<div class="fa fa-check-circle"></div>
<div class="content">
<p class="header">You can use the Custom Object v2 Action to make multiple associations</p>
<p markdown=1>
For more information, see HubSpot's [Associate records](https://knowledge.hubspot.com/records/associate-records){:target="_blank”} documentation.
</p>
</div>
</div>
<div class="premonition info">
<div class="fa fa-check-circle"></div>
<div class="content">
<p class="header"> Handling one-to-many relationships</p>
<p markdown=1>
In HubSpot, one-to-many relationships allow a single contact to be associated with multiple companies, and a company can have multiple contacts. However, when using Segment, you can’t send multiple users or companies in a single API call. This means the one-to-many relationship can’t be directly established in a single request. To set this up, send multiple event payloads, each containing the information of one contact and one company.
</p>
</div>
</div>
{% endif %}
<!-- Call out text for SFMC async action saying "Delivery confirmation and error tracking are not available with this action."-->
{% if action.id == 'dWicdKRXDTEW63wrHTmACJ' %}
<div class="premonition info">
<div class="fa fa-check-circle"></div>
<div class="content">
<p class="header">Delivery confirmation and error tracking are not available with this action.</p>
<p markdown=1>
This action is designed for asynchronous processing, which means that Segment cannot provide real-time delivery confirmation or error tracking for events sent through this action.
</p>
</div>
</div>
{% endif %}
{% if action.fields.size > 0 %}
<p class="button button-hollow" data-toggle="collapse" data-target=".settings-content-{{action.slug}}">Click to show / hide fields</p>
<div class="collapse settings-content-{{action.slug}} show">
<table id="settingsTable">
<thead>
<tr>
<th>Field</th>
<th>Description</th>
</tr>
</thead>
<tbody>
{% for field in action.fields %}{% unless field.id == 'jYj1UxYzS5aJNU2Ue2gakK' or field.id == '2KMUXqzqudDytGbcBz2iwP' or field.id == '6VBmtsRbVxHVM61LtnFVwX' or field.id == 'q6eYyJGaCYcPSHeZPpaK5x' %}
<tr>
<td>{{field.label}}{% if field.required %}<span class="required" title="This field is required">*</span>{% endif %}</td>
<td>{% if field.type %}Type: <code>{{field.type}}</code><br />{%endif%}{{field.description | markdownify}}</td>
</tr>
{%endunless%}{%endfor%}
</tbody>
</table>
</div>
{% if include.section1 == action.slug %}
{{include.content1}}
{% endif %}
{% if include.section2 == action.slug %}
{{include.content2}}
{% endif %}
{% if include.section3 == action.slug %}
{{include.content3}}
{% endif %}
{% else %}
This action does not have any fields.
{% endif %}
{% endunless %}
{% endfor %}