Data Integration with Segment
Behavioral Analysis and Segmentation
Personalized Notification with Novu
Example of a special offer email in Novu's email editor
Trigger-Based Notifications
Example of an 'Abandoned Cart Recovery' workflow in Novu
Feedback Loop for Continuous Improvement
Connections > Catalog
and click the Functions
tab.New Function
.Destination
as the function type and click Build
.Build
, a code editor appears. Use the editor to write the code for your function, configure settings, and test the function’s behavior.event
- Segment event object, where fields and values depend on the event type.
For example, in “Identify” events, Segment formats the object to match the Identify spec.
settings
- Set of settings for this function.
The example below shows a destination function that listens for “Track” events, and sends some details about them to an external service.
onIdentify
, it listens for “Identify” events instead.
onTrack
event function:
To successfully send a payload to Novu, triggering the appropriate workflow and delivering it to the correct customer, please ensure that you provide the following information:
Add Setting
to add your new setting.
The variables you need to run the provided snippit
Use Sample Event
and select the source to use events from.
Example from Segment's documention event sources
Run
to test your function with the event you selected.
2. Test using manual input
You can also manually include your own JSON payload of a Segment event, instead of fetching a sample from one of your workspace sources.