Skip to content

Commit d360f07

Browse files
Add information about sending to a Segment source
1 parent dd7863d commit d360f07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/connections/functions/destination-functions.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,9 @@ If you're sending your batch to an external service, the execution time of the f
433433

434434
{% include content/ip-allowlist.md %}
435435

436+
##### Can I use a Destination Function to send data to another Segment source?
437+
Sure! If you do this, please remove the `messageId` and the `writeKey` from the payload in your Function code. Leaving either field on your payload will cause unexpected behavior that may cause your event to be delivered to the wrong source or to not be delivered at all.
438+
436439
##### Can I view console.log() outputs in Destination Functions?
437440

438441
Incorporating console.log() statements in your Destination Function code aids in debugging. However, logs generated by these statements will only be accessible in the [Event Delivery](/docs/connections/event-delivery/) view if the payloads encounter errors during processing. Logs from successfully processed payloads are not displayed.

0 commit comments

Comments
 (0)