What is a behavior-based trigger?
A behavior-based trigger is a special moment in your product lifecycle that can be leveraged to encourage users to share the product with their networks. These triggers can be associated with completing a specific action, such as inviting team members or reaching an “aha moment”—a moment of delight where users experience significant value or satisfaction while interacting with your product. These moments typically prompt users to feel compelled to share their experience and effectively boost the conversion rate from users to referrers.How does it work?
When a behavior-based trigger occurs in your product, you can report it to Cello as aMilestoneReached
event using our Generic Event API. This event will immediately trigger an in-app announcement to the user. Together with Cello, you can define an announcement that will be triggered inside your product. The announcement should encourage the user at this moment to share the product.
To learn more about how to use the Generic Event API, including authentication, go to Generic Event API guide.
- A specific user viewed five presentations
- You can report that moment to Cello as a
MilestoneReached
event when the trigger occurs - The user will immediately receive an announcement that will encourage them to share

Example Request
To attribute that event and notify the right product user, attach theproductUserId
to the POST requests. Specify the name of the moment as trigger
.
Name | Type | Description | Required |
---|---|---|---|
eventName | string | Name of the event. MilestoneReached for special moment | Required |
productUserId | string | A reference to the ID of the user within your system. | Required |
trigger | string | Name of the special “aha” moment | Required |
Testing Behavior-based trigger and announcement position
While choosing the announcement selector and its position, you will want to see how it looks and make necessary adjustments. You can trigger an announcement by sending aMilestoneReached
event using our Generic Event API. Below is a simple Python script to trigger such an event.