Skip to content

Commit 375eb42

Browse files
Merge pull request #5989 from segmentio/destination-insert-functions-faqsaddition
Update insert-functions.md
2 parents 0eb6fda + 7909300 commit 375eb42

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/connections/functions/insert-functions.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ You can also use this page to [enable destination insert functions](#enable-the-
5252
Segment invokes a separate part of the function (called a "handler") for each event type that you send to your destination insert function.
5353

5454
> 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 youve configured a [destination filter](/docs/connections/destinations/destination-filters/), and the event doesnt pass the filter, then your function isn’t invoked for that event as destination filters are applied before insert functions.
5656
5757
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.
5858

@@ -476,6 +476,7 @@ Yes, Segment retries invocations that throw RetryError or Timeout errors (tempor
476476

477477
No, Segment can't guarantee the order in which the events are delivered to an endpoint.
478478

479+
479480
##### Can I create a device-mode destination?
480481

481482
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
484485

485486
Yes, an insert function can be connected to multiple destinations.
486487

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.
495+
487496
{% comment %}
488497

489498
## Using Segment's Public API

0 commit comments

Comments
 (0)