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/connections/destinations/actions.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ title: Destination Actions
6
6
7
7
The Destination Actions framework improves on classic destinations by enabling you to see and control how Segment sends the event data it receives from your sources, to actions-based destinations. Each Action in a destination lists the event data it requires, and the event data that is optional.
8
8
9
-
You can also choose which event types, event names, or event property values trigger an Action. These triggers and mappings make it possible to send different versions of the Action, depending on the context from which it is triggered.
9
+
You can also choose which event types, event names, or event property values trigger an Action. These Triggers and mappings make it possible to send different versions of the Action, depending on the context from which it is triggered.
10
10
11
11
Each Actions-framework Destination you see in the Segment catalog represents a feature or capability of the destination which can consume data from your Segment source. The Action clearly lists which data from the events it requires, and which data is optional. For example, Amplitude requires that you always send a `LogEvent` , or Slack always requires a `PostMessage`. Each Action also includes a default mapping which you can modify.
12
12
@@ -41,8 +41,8 @@ A Destination Action contains a hierarchy of components, that work together to e
| Global Settings | Define authentication and connection-related information like API and Secret keys. |
44
-
| Mappings | Handle the individual calls to the destination. In them, you define what type of call you want to make to the destination, and what triggers that call. Individual Destination Actions may come enabled with some predefined mappings to handle common events like Screen calls, Identify calls, and Track calls. Mappings have two components that make this possible: **Triggers** and an **Action**. |
45
-
| Triggers | Enable you to define *when* the corresponding Action fires. As part of a Trigger, you can use condition-based filters to narrow the scope of the trigger. <br /> <br /> Self-service users can add a maximum of two conditions per trigger. |
44
+
| Mappings | Handle the individual calls to the destination. In them, you define what type of call you want to make to the destination, and what Triggers that call. Individual Destination Actions may come enabled with some predefined mappings to handle common events like Screen calls, Identify calls, and Track calls. Mappings have two components that make this possible: **Triggers** and an **Action**. |
45
+
| Triggers | Enable you to define *when* the corresponding Action fires. As part of a Trigger, you can use condition-based filters to narrow the scope of the Trigger. <br /> <br /> Self-service users can add a maximum of two conditions per Trigger. |
46
46
| Actions | Determine the information sent to the destination. In the Configure action section, you map the fields that come from your source, to fields that the destination expects to find. Fields on the destination side depend on the type of action selected. |
47
47
48
48
For example, in the Amplitude (Actions) destination, you define your API and Secret keys in the destination's global settings. Then, the provided Page Calls mapping:
@@ -108,7 +108,7 @@ If necessary, click **New Mapping** to create a new, blank action.
108
108
109
109
1. In the edit panel, define the [conditions](#conditions) under which the action should run.
110
110
2. Test those conditions to make sure that they correctly match an expected event.
111
-
This step looks for events that match the criteria in the [debugger queue](/docs/connections/sources/debugger/), so you might need to trigger some events with the expected criteria to test your conditions. You can skip the test step if needed, and re-try it at any time.
111
+
This step looks for events that match the criteria in the [debugger queue](/docs/connections/sources/debugger/), so you might need to Trigger some events with the expected criteria to test your conditions. You can skip the test step if needed, and re-try it at any time.
112
112
3. Next, set up the data mapping from the Segment format to the destination tool format.
113
113
4. Test the mapping with data from a sample event.
114
114
The edit panel shows you the mapping output in the format for the destination tool. You can change your mapping as needed and re-test.
@@ -121,7 +121,7 @@ If necessary, click **New Mapping** to create a new, blank action.
121
121
### Conditions
122
122
123
123
> info ""
124
-
> Self-service users can add a maximum of two conditions per trigger.
124
+
> Self-service users can add a maximum of two conditions per Trigger.
125
125
126
126
127
127
The following type filters and operators are available to help you build conditions:
@@ -138,4 +138,4 @@ You can combine criteria in a single group using **ALL** or **ANY**. Use an ANY
138
138
> - You need to remove properties from the data sent to the destination
139
139
> - You need to filter data from multiple types of call (for example, Track, Page, and Identify calls)
140
140
>
141
-
> If your use case does not match these criteria, you might benefit from using Mapping-level triggers to match only certain events.
141
+
> If your use case does not match these criteria, you might benefit from using Mapping-level Triggers to match only certain events.
0 commit comments