Segment makes it easy to send your data to tray.io (and lots of other destinations). Once you've tracked your data through our open source libraries we'll translate and route your data to tray.io in the format they understand. Learn more about how to use tray.io with Segment.
Once your application is set up and instrumented with Segment, turn on tray in your Segment destinations page. After that, log in to your tray account and create a new workflow, using Segment as your trigger.
You can target up to 10 discrete tray workflows from within Segment.
Tray supports all message types. You can filter the message type when you configure the trigger within tray.
When you trigger a user deletion via our Privacy features, we will forward a delete notification to tray so that you can automate further deletion and compliance workflows using tray.
The payload will consist of:
"the deleted userID"
"the time of deletion"
In order to receive and process the message, we recommend starting with an “All Message Types” filter, and then removing all the default types and adding
"delete" manually. We’re working with tray to add a dedicated
"delete" message type filter in the dropdown pictured above.
For user-property destinations, an identify call will be sent to the destination for each user being added and removed. The property name will be the snake_cased version of the audience name you provide with a true/false value. For example, when a user first completes an order in the last 30 days, we will send an identify call with the property
order_completed_last_30days: true, and when this user no longer satisfies we will set that value to
When the audience is first created an identify call is sent for every user in the audience. Subsequent syncs will only send updates for those users which were added or removed since the last sync.
Supported Sources and Connection Modes
To learn more about about Connection Modes and what dictates which we support, see here.
Segment lets you change these destination settings via your Segment dashboard without having to touch any code.
A optional key used when sending events to tray, to keep data flowing securely. You’ll need to also enter this secret in the Segment connector settings in the tray dashboard.
Workflow Urls (max 10)
List of the full URL (with http/https protocol) that we can send data to. eg. https://507f1352-cbc7-4abb-8dd2-538d3c09787d.trayapp.io. Limited to 10.