Reduce Churn with Segment and Intercom
Prevent churn by syncing Upollo Churn Scores to Segment & Intercom
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/6585110d57e9c325319922c7_657bc9fee354f82a9d4a414b_segment_io_logo.jpeg)
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/65851780b056acf3598711f0_intercom.jpeg)
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4b13a0f32a8ab041b24d_hero_segment_intercom_1x.webp)
What this Play does:
This Play automatically syncs Upollo’s Churn Scores to your Intercom account, allowing you to proactively engage with at-risk customers, improving your retention rates and preventing churn.
Requirements:
For this Play to work, you should have the following accounts set up:
- Upollo Account: Upollo brings together all of your customer data (App/Website, Billing/Subscription, CRM, Customer Support) to provide insights and predictions for Conversion, Churn/Retention, and Expansion. Get started for free.
- Segment Account: For collecting your app data and sending Upollo insights to Destinations like Intercom. This Play assumes your app/website’s data is successfully flowing into Segment, and you’ve already completed the Segment Setup with Upollo.
- Intercom Account: For sending emails to your users. You can use a different email provider - this Play will use Intercom as a Segment Destination to send emails to users based on custom criteria. This Play assumes you’ve already set up your domain via the Intercom documentation.
Here’s an overview of how we’ll be moving data between Upollo and these other tools throughout this Play.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/66d9019a48c167f35664b837_667e4b2e5b9026bd81eb6107_flowchart_churn_intercom_segment_1x.webp)
If you’ve already set up Upollo as Segment Source, you can skip to Step 2.
First, we need to add Upollo as Source in Segment. Log in to your Segment dashboard. Select “Catalog” from the left the navigation.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/666141db04b39bc9042dbea2_swByg7PMKzfzuXn3_1eqC1SzB_3o47cu6mXn46-JXHP-V0j9j9ezAVu_aaPRueKFtx72hdKiwTzzxz9T-UaG6Kk9Mcb7UHaxCbLBhehEeNYomxCD_DHAZEWU03ybzkBEKbVRuK7Y4HMlH3QWQovx3CQ.png)
Search for “Upollo” and select the Upollo from the “Sources” section in the Search Results.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/666141db902109aef000ecf2_AD_4nXfYKmqd7hfdIeQtaHLVFKYXToFSLBUdNDldu9Hk6EM6jlGx23sXBSbebU_xeavKtSXD9dSKEjxVzNpho6jAYTuj2X-inolkRXm_zUmQejlv6WmkkNbOTqI6cxvYvN5v71GxLZAfFtgJXzNdCBlX5RT7g0NN.png)
Set a name for this Source.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/666141dbab3d1ccbf0fc0fa2_AD_4nXd_UckCObN0t2Epqo0_M1KBg7mFISqOjmRfwsjDaqaWAPRja7SBhNlzjyCCvbX9MIMpKXx074vAOA5-cd_m8Jn653MHtKEAtnsU4MbcBzeygBIi3h5ZhvremthKNOGnAWt_sg3wHcuY8aG-FYU3VKfT78Jd.png)
After setup, copy and paste the Write Key in the Segment UI. Be sure to keep this key private. For full setup instructions, refer to the Segment Documentation.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/666141dbb65cd9e10cebe1a5_AD_4nXcjWrIT1ihF3_WALsK1Zyx-8I2_EuLfCV06Bl13MoqwfllEAthvZyBd1Yfl-IRZBLUbd4znYilyoI_gGHt5tia9mvKAABQ5QztnIb_aNtmgxFyA6eFXcdAci4BTtNuG-5v-jz2al-VrsIqbiW_ULVaf4QT9.png)
In Upollo, go to the Connections page and find the Segment Source connection and click Connect.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/666141dbb6918622f1126395_AD_4nXfK1J1qTxyMLkv5YK_OYkBoVDfhhNzWPK64mcBOCO0SmITnEWJkIYtyM3OY1Lz-TKLuHvtfdwIQEQdVZtNO97tgzT2mZWH1x2rN_IaHCr6eTZqwun1ZVFcnhpaakbv9yvjk16l2AC5Dbmu5GurShuyfBsz_.png)
In Upollo, paste the Write Key from Segment into the text field marked Private API Key. Click Save.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/666141db811cf9aaf4ac0a0d_AD_4nXcVHuuoKPOV9czn1J8ZmBu6-F1mtanTZoKwJgvdMmbfQLcwlWr-Ulzi_ncENBd99EzrDNeHY_nTfYXxpgnP62QjbqIvia97UpxT6NhG_YtV2CDZCpSaRWKFPlyc17oOHrZbd6NhKjBIg6XKGMQjzeW1qpzj.png)
Once your changes are saved, insights and predictions from Upollo can now be used as Source within Segment. Upollo will send information about which users have a high or low likelihood of churning, so that you can take action right away. In the rest of this Play, we’ll be setting up some automations to monitor and proactively reach out to people who might churn soon.
In the Segment dashboard, go to the Destinations page. If you don’t have any Destinations already set up, this page might look different or empty. Click Add destination.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/6661496b811cf9aaf4b28761_AD_4nXeDEnXExG_35S_AiN98F9ClpTRok51X8vOv-0olnUNApLGhkXR-aR1HsGSySzQdez6fBaeS8rG8Cxb3CQub4WkT1DKqqMJ_gkgb6uhj9hiWsnU6_14j7aIKEro0UU2EUNESuqpBDA00XoTGpQjd9QPPR_Q.png)
In the Catalog, search for Intercom. Click Add Destination.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4c13c8e4d9141b543a70_AD_4nXeWO8fmSPcIh3TbDvjWnGtaBhHNrLH31uMALvcUpUnZ0PQpPSyFzwP_-fcM4zlUj588qNoeqR_p9g4u7qiCETQeUedJSH0l6iuqd0vRhb0rn27TpmFDhTvipbX3Ypg5taN4i6rrH1l2IEhkUdACQkbILXFu.png)
To set up the Destination, you’ll first need to Select a data Source. You should see the Upollo Source that you created in Step #1 above. Select Upollo from this list and click Next at the bottom right corner.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4c13cabc6cc4de4e56d3_AD_4nXca_KA7RvieLvOTxx3RHGNrMcs8ENtTUGeZHSr9LNqLNQUPXC8RWlBBctlwIQBxjkW8QxdzeqJFbb0ZcDpGRMAEX66-bbIKcYPF9FJ1R1no9qV6E3g0-hLhBtKZB1Ajr2GwmFNouEPiKSWj4ibdiMxA2bPm.png)
Click the Connect to Intercom button and you’ll be taken to Intercom in another tab.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4c137dc31ffcdb69e4d4_AD_4nXcjXncn1FgA8nrNxn5PpIybwTfp9zqxJK_mYpuocEbdKwWhbcX6wkkorJQOu101cZJqd9DwbtWq8gb2w9AxYRkZ5PXmO2QSx9vZb3Vbp3DUmMGbQvn7jz0v4fxApuUYubitnCD-ma6vKNtJHDi1-60vu-Q.png)
In Intercom, ensure you are selecting the correct Workspace. Click the Authorize access button to link this Intercom Workspace to Segment as a Destination.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4c137f8b4be4ffa74854_AD_4nXcWYO5SBOyUO-KzJyPyEZJxvPye6MYmR-2Smd48AAbFe5VhaDm3OLkFPXwexmH2MF48s0rJzUBvWY0zZD0b9RtdTrgpPkzRz4Od_fiJu_Y5rXLR564YDDM8WYPtO4HrFCCKYkIeAgZRlyxUvZsCn4KbP1o.png)
Once successfully authorized, you’ll be redirected to Segment and a success message will appear.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4c13a8a50e88539547f5_AD_4nXeoIidLMV0wPxf2QWjB8NpcTqfDYcqwhtVf2rNHHsJipx1JjNKVb4MQKA_Gte7MMZzLPSOXp_4qK7pS3kx0HeTmfVmEloCCBDoRahT4C2BPQJ92XcaID6iND7l62GmrR9EHqkeYj7mdy2HolgmbolENMT88.png)
In Segment, go to the Event Tester tab within the Intercom Destination. We’ll use this page to send a test event to Intercom to ensure it works correctly before enabling your live user data.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4c136595a9cf2b554b7a_AD_4nXcFFHKm1ZybMW3xJA-ssqZANxLtaRNNw-AtFkZV0TTUk18LqfcfhVGKJ_tpDm8XE7PG79gqOSSh9r5N5wDXHmyZXqaspZeTQLQJadbJ2OamZrtPq8xZJMCTormqx-Fpwy26VRpCoRjre3lMxu-E1vf4zwsU.png)
In the Event type dropdown menu, select Identify. In the Sample event payload text field below, paste in our example event. Take notice of the Trait prediction_churn_score, which has a value of 0.95052526. This means our example user has an approximately 95.05% chance of churning within the next 28 days.
Click Send Event.
After confirming that you want to send a test event, a 200 OK success message should appear in the right column under the Event lifecycle heading.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4d7e68c4ccdb1f16a722_AD_4nXf8ZM4_KWeeiqxeXKH44m7WL40yUJojqvIRUarMiMjUt2zgpeAxz1rOH7BTo9AiEuolnLapNB3zBTG6Fwj-oqtCcZ0fTc3Y9PmXgd2jeXUS1P04PztUAmBuD3CA0oDpals4tX1nJcHa8miGVen81kELfIY.png)
In Intercom, Go to the Contacts page and find the example user. In this case, the email is name@example.com. Click on the user’s email to open their detail page.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4d7e025f3cb10392cc96_AD_4nXdVCFDFcmvagv0HbmKK-jhtp5a90jc8mYWOjHyR3-S9O2D42GlKlpnADQA0IhZDfngwwKobm46GVnWpjAx9MpzeDG71rx2X4eUwqs35Bv9mSISuxX0z1n5oH0o-g4s3SwPge0Q06x3gRnpO-alhxh60xx2K.png)
On the user detail page, find the Details panel and click See ## more to expand the panel to see all the attributes associated with this user.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4d7e797622efaba2aaf4_AD_4nXfBvyvPIdmBWIBvjJUUvON9mOykpz1GE0gNwSeCKYIWhKUEdm2lFHcgL8gb7lq5m5hs7f7HZ9O14YACOoz5F2SeL_yxY4YvW_0wZRUiiPlwEMHguplnPP5olcZRZr6gJxeZpb5K-VKpqDMB864M_aXuHw1A.png)
At the bottom, you should see the traits we sent from Upollo in the test event. In this example, we sent the following traits:
- Isontrial: Whether or not this user is currently on a trial
- Plan: The name of the Plan this user is on
- Prediction churn last updated: When the churn prediction score was last updated.
- Prediction churn score: A decimal value from 0-1 that indicates how likely a user is going to churn in the next month. 0 means unlikely (0% chance) that they will churn. 1 means likely (100% chance) that they will churn.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4d7e0e1f4b734e1f9c20_AD_4nXc3sXaFva4CezFwftrVR0MRTNJgEcjisrxmpZhwEW-xJI_FCtD4TRtJOi7dWYiESmzAnLh6eS9cqnTUP1geTmCi-EVPkupi3qRaDnMX-yDnRC45bTcvVBwYXzYXQWwp_xoR41gEg_U6wyP6bjPmcZZW_Is.png)
If you see the traits above in your Intercom user details, keep reading and we’ll show you how to take proactive action for people with high churn scores.
Finally, we're at the fun part: Actually preventing churn. We’ve written before about the various reasons why people churn, and how these reasons can actually require a different approach. For this Play, let’s focus on reason #1 from our article, and a very common reason for churning: Not Realizing Enough Value.
These users haven’t used all of the key features in your app, and they haven’t logged in for weeks, resulting in a high churn score. To prevent this churn, let’s set up a campaign to automatically reach out to people who are slipping away.
In Intercom, go to the Proactive Support page. If you already have a company email template, feel free to use that. Click the New message button.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad779f52c64d72550b_AD_4nXdVleJ_3kVQGWt8jZoZ-Cvna377LkSFiXuO9Y8gUCnj6079pJGZIJ1nIXAThqav_V5Se14NlrZMOq1HwIcy6vNFSXlwQJwAtN9hgc-YV66jDjtQLMsw_ErqNmkEeyhQCPemi-CqIGQ1nn6YrZs1Blxk6ZyK.png)
Click the Email section in the left column. For this example, we can use the Re-engage your users template.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dae2a48b0981ab84fd0_AD_4nXcKoDwaoQOlDC4toDZj1zZLEa4dJEIz42BGJbsGDlhnggvRP0A7FBTBlR9jH2s2vhpUACKCUb9dZ4-s5DYz_sKWNSC6rHwp2jlbi1vTRtKkR7sdSD69zyJyzUw-P9KkooLz_Ti7zbaV0gtW9mJ_9jDoanku.png)
Select your styling (either Plain, Personal or Company) and click Use this template. For a company-branded email to many people, we recommend using Personal or Company. For a 1-to-1 personalized email, we recommend using the Plain template.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad45255e727c5bf5e9_AD_4nXf2pdFfB2ZfvL7iRVAR93Sdq57Usc7K63OTMgOPq8Ixm_CwwfTESYSjtDMY2lXsDBXkeRRdryWTvsEJFv03lTx95lFQAvTsP_4oT8H3AmW5XWlEFVvvfUu_hs_AvOP3Ag2cjpczVa2jlNBdqsA0FsumTHBv.png)
Configure the template however you want. Keep in mind, this user hasn’t logged in for awhile and haven't gotten full value out of your product.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad8394e2552f418d41_AD_4nXc7CpPkDm4uvKtyoWwHEuozgPYs4v45ge1TtiqGbQTmyl86AKmRXda4kzXwq3NW2bcz6e4lB2zKlclzOX2CaGMKd3lApKkOvQiCwNeo0uP1ubMtbhzatS1kmKOhjI1tgWpfuT3PLVQ9yLQ5zWO0GKIAePw.png)
Scroll down to the Rules section, and set the following filters in the Audience sub-section:
- Users
- Prediction_churn_score: Greater than 0.75 (75%, or whichever threshold you want)
- Last seen: More than 14 days ago (or whichever threshold makes sense for your company)
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad4b176864b224c22a_AD_4nXdFaYHjsh7D_Lm7eb7o-VZoqr6BIm6aWLrGVlPn9_mWDjnZ26M1-XQsBVDg0KF_gV47YOJBFN73J8hbIJhbZLncm4ijK1lT6vUo8xRh0PHR5ZgzBJkRc0HP0C_KCP_Cf5jdvxkVELQhIgWIkmht9dtgUQ9d.png)
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dae7aa4582425da835f_AD_4nXeDj2vXIhhHdfxXfEIRI39w56B53yjy5OaplNlR_VTv6fHh02_sET1NcQwHZcKElFXv3IhcaK3BKxaR3EdJ__ZnEIadbxQ4nFaTyduMFJGSb7yhujK2-jigBti7w2_scrF9NptkWS2SmzslgYYTguyB7efg.png)
After setting your Audience Rules, the example user from earlier should appear in the “Preview # people who is in your audience right now” section. If the example user doesn’t appear here, check their Last seen date and try again.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad97015e7f3951da64_AD_4nXdxjyWJ5kjpHkeUq6AWEXY1eU3Afle_oLyjmWmpsxSbQS-SgqqvYiB4We2aqb46-6HUCvTIPZ5K3-cq82xSO73VQXZo45S25CRO8p_OxeZNtiIQNDvY2K9h0FORiWlU3Qskufgjmb4GeUAzWimloP-BcNVh.png)
After you’re done, scroll back up and send a Preview to yourself to double check everything, and then Save the email. When you’re ready to go live, click the green Set Live button at the top right. This email will be sent to all users with a high churn score (75%+), and haven’t been seen in 14 days.
Bonus: Flag Inquiries from High-Churn Score Customers
Since we’re already using Intercom for this play, let’s set up another automation to make our teams lives easier. In this part, we’re going to automatically flag Intercom messages that are sent from users with high churn scores, as well as assign these messages to our Customer Success team. This way, everyone is kept in the loop and our teammates can take proactive action in case something goes wrong.
In Intercom, go to the Automation tab, and click on Workflows. Click New workflow.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad77c4638589dd1f7f_AD_4nXeHSDqErh0-NY85YxY_8njTht4quOoaUiPskWu4pM3AsGoToV3Zq5q47MdAEO8PdJOUXvk--LX3ZZNgPI21QKJMxOVpi4FZBCXwFSyJtkWUfY61sIy3OyI1E9OvV_TJEqC4kO390A4D2Qh7G4ZkXz3SmIMH.png)
Click Start from scratch.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dada8a50e88539636c1_AD_4nXfnaSE8bnW1eGUVu6w3gA8-Uk49C3u-VZf6w4p_wf4r0lele_Yu8E2u0AtLWH2sxsTMFnvd6vraSB-o3_f0hyMSB3fjnR5iteJ-teMkHNzEZNvO15RWDzzmCOjicloixS_am27antt-ppCdV0BG6yQE3wI.png)
We’re going to use similar Audience filters as before.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad5b9026bd81ecf91d_AD_4nXc3amWaUfzYdc2z501fjJcogJCSvUmRoKLqCReyCBS4Riu6V0bgu2iWKLwUzc5fvkNeIBFMneLFXzF7WK3tlI8j5NrRFnta51nlCuU015dkFIX9J0EqBErCeM85zvuQhnhF4uWNRChbISW3XTuErvtvZj_S.png)
In the Audience section, add a new Filter for prediction_churn_score and set this value to 0.6 or whichever threshold you want.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad2a48b0981ab84fc0_AD_4nXfneFlhMakQiRHzAMAjM_Wa1Nk7rv_H5a-6NmFB7rYaHPR5BYIHm1YNU31DKDrLj_nzjTinUX-2_Cy_jX0BOeumi2MT2lk2f1ZBrKGPQiO88FkfUaO3MUBaSPGs6mP_t0apckkav95I0ne9NiD1d9-jPnGl.png)
Again, you can check that this is working by verifying that our example user is present in the Preview # person who is in your audience right now section. Click Save and close.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dada8a50e88539636c9_AD_4nXdXdRme_NKBTIb8TIYr5PVgEJJz39SajOTtqjcJrzQBwN-y3nLIaaiUQ2ITSdo0pLZDvZmhiLHI7VyCrbI9OvZAU24U3C88xr0NDLnKxICTttMMAbVXHJB6NSG4vkadC4eEx_heE53m07ZqvFUwHU6zi9K4.png)
Click Add step. We’re going to take 2 actions during the same step.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dada8a50e88539636c5_AD_4nXd7gpOOx56MUkbSoEWcsfodjz6n4y_hKM0XcjS4-1mgp3vdEYPAIaU0crooc1THT8K5u2juyiBcEJtHQAn9ism0HyKETx7mt39QxKl3vxtFQ_V3sNo3eA0L83IEBqJGhafxoV919x5mY_vYQPlA7nK34x-K.png)
First, add the Mark as priority step. This lets your team know it’s urgent.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dadba817f78b74fdebd_AD_4nXfJlS4qZKaQIs6MpCwQomz2wnAZKJkA_JLVlfDtP62R-7W2VAONh5ZMhUi8ePL3jym2DYWDquayMeYNpekHr8-UG83-CcOJo6wCyo-u9gVWxAF3jQW3lHHNWdXvlk3gRC7hNoZYIy079XnRtSFrVpfApDao.png)
Next, assign it to a team. In this example, we’re going to assign it to our Customer Success team.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dad8608f020b1a3a3fe_AD_4nXf5mZ7FUrsSrDPAestFsvKkOBORjS7SkZi110q_KI18l5IfOEcBCUVjUM67RwtFWDLxVKV2u7owK5gOra2ea3etWu12kbwmVsBkplnMXRVBtivxhQ9wjUlDGvJooyaq62Sc3cdZ3YjIKAQ-qj741Vcl1wxF.png)
Now you’re done! Click the green Set live button.
![](https://cdn.prod.website-files.com/64fac35aa05c08386b2b8e30/667e4dade2e0bf28ba57b815_AD_4nXdRQmjuGYpshxeeTLh1Ymk0WRwxii88C-NPyVAQu2vCpH_cePtT-TUwTaYYpZtWcqK50BFYI6Tk80yfAAOjb4WljJz6n9v8lTZH2J6K4Kllg6d7Bw1LktrZEGi6IQCGGuFmoF-nA1sj0nr3Hvyb8wIb54g.png)
After setting this workflow live, any user who reaches out to Support via intercom, and has a high churn score, will automatically be marked as a priority and automatically assigned to your customer success team to take proactive action.
By combining Upollo’s powerful churn prediction scoring with your existing tech stack, you can now send tailored campaigns and personalized 1-to-1 outreach to your customers who are going to churn soon. Need help crushing churn at your company? Upollo is here to help.
Get this Play for Free
Automate your churn prevention, conversion, and expansion strategies