Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Jun 24, 2025 5:19:42 AM
Apr 4, 2022 11:34:13 AM
The automation built in this article won't be a perfect fit for every churn problem since every company has different customers and different data. The main goal of this article is to provide the right pointers and tips to build your own churn solution and to show what's possible when it comes to machine learning and automations.
Content
This article explains how to build an automation that uses Qlik Predict to predict the churn risk for customers. In this example, the following tools and systems are used:
The following image provides an overview of how these systems are tied together by the automation:
Before automation can be built, several steps must be taken to ensure all systems can work together effectively.
Export your CRM customer records to a CSV file. This should include both customers who have churned and existing customers who have not (yet) churned.
Unfamiliar with Qlik Predict? See:
Use the dataset from the previous step to train a model in Qlik Predict. Once the model is trained, deploy it so it can be used in automation.
Not every CRM contains fields to store churn risk (0% - 100%) or a churn prediction (yes/no). If you plan on writing this information back to your CRM, add these fields to the customer object.
Create a new MySQL database to store customer information together with the churn risk. This database will be used to import records to your Qlik Sense App.
You can use a different type of database or directly load the customers by creating a new connection in the Load Script.
Build a new Qlik Sense App that you'll use to analyze the customer records and their churn risk.
Do not forget to feed the app with data from the previous step.
Need an example? See the Churn analysis demo app
We'll automatically assign customers with a too-high churn risk to a marketing campaign focusing on churn risk. In this example, we'll be using Marketo, but this can be changed to any marketing campaign solution you use in your organization.
Our Marketo instance is set up to assign leads (customers) who are added to a certain list to a marketing campaign that's connected to that list.
Once the prerequisites are completed, the automation can be built. Go to your Qlik Sense tenant and create a new automation.
Since this automation only processes new and updated records from the CRM, it's best to configure its run mode to Scheduled to make sure the automation is executed every x minutes. In this example, we've used 15 minutes but this will depend on your use case and type of customers.
For information about automation run modes, see Working with run modes.
Attached to this article, you'll find an exported version of the above automation as 'Predict Customer Churn Risk automation.json' See the How to import and export automations article to learn how to import exported automations.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.