Skip to content

Commit a08f983

Browse files
authored
Merge pull request #2005 from segmentio/DOC-337_dest-functions-int-object
Add detail that Destination Functions can be added to the Integrations object [DOC-337]
2 parents 0affdcf + f8b838f commit a08f983

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/connections/functions/destination-functions.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,21 @@ If any of your deployed function instances are failing consistently, they will a
408408

409409
### Data control
410410

411-
You can use [Destination Filters](/docs/connections/destinations/destination-filters/) or [Privacy Portal](/docs/privacy/portal/) to manage what events and, of those events, which event properties are sent to your destination function.
411+
In addition to using [Destination Filters](/docs/connections/destinations/destination-filters/) and the [Privacy Portal](/docs/privacy/portal/) to manage which events and properties are sent to your destination function, you can reference the destination function directly in the integrations object of the Segment payload. For example:
412+
413+
```json
414+
...
415+
"integrations": {
416+
"All": false,
417+
"Amplitude": true,
418+
"Customer.io": true,
419+
"Google Analytics": true,
420+
"My Destination Function (My Workspace)": true
421+
}
422+
...
423+
```
424+
425+
In the example above, the integrations object directly references and enables the `My Destination Function`. Be sure to include the workspace name in which the Destination Function is created, as shown. Like all items in the integration object, Destination Functions (and workspace names) are case sensitive.
412426

413427
## Destination functions FAQs
414428

0 commit comments

Comments
 (0)