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/functions/insert-functions.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,7 @@ You can also use this page to [enable destination insert functions](#enable-the-
52
52
Segment invokes a separate part of the function (called a "handler") for each event type that you send to your destination insert function.
53
53
54
54
> info ""
55
-
> Your function isn't invoked for an event if you've configured a [destination filter](/docs/connections/destinations/destination-filters/), and the event doesn't pass the filter.
55
+
> If you’ve configured a [destination filter](/docs/connections/destinations/destination-filters/), and the event doesn’t pass the filter, then your function isn’t invoked for that event as destination filters are applied before insert functions.
56
56
57
57
The default source code template includes handlers for all event types. You don't need to implement all of them - just use the ones you need, and skip the ones you don't.
58
58
@@ -476,6 +476,7 @@ Yes, Segment retries invocations that throw RetryError or Timeout errors (tempor
476
476
477
477
No, Segment can't guarantee the order in which the events are delivered to an endpoint.
478
478
479
+
479
480
##### Can I create a device-mode destination?
480
481
481
482
No, destination insert functions are currently available as cloud-mode destinations only. Segment is in the early phases of exploration and discovery for supporting customer "web plugins" for custom device-mode destinations and other use cases, but this is unsupported today.
@@ -484,6 +485,14 @@ No, destination insert functions are currently available as cloud-mode destinati
484
485
485
486
Yes, an insert function can be connected to multiple destinations.
486
487
488
+
##### Can I have destination filters and a destination insert function in the same connection?
489
+
490
+
Yes, you can have both destination filters and destination insert functions in the same connection.
491
+
492
+
##### Are insert functions invoked before or after destination filters are applied?
493
+
494
+
Segment's data pipeline applies destination filters before invoking insert functions.
0 commit comments