Every organisation is made by people. People who interact with each other – over morning coffee, in meetings during the day and at casual catch-ups in the workplace.
Nowadays, this communication also happens in electronic form, through email, phone, instant messaging or social media. This form of interaction gives us a great opportunity to analyse the data and pick up additional insights.
Let’s be clear: this is not about tracking people. It is about answering questions.
Have you ever wondered who the most influential person in your organisation is? Who might be an agent of change or whom do others consult in a given area of expertise?These questions can be answered based on analysis of user interactions on social platforms. Now: how to get these answers out of the data noise?This looks like the right task for us and the cloud.
Challenge!
Our customer, a major company in the pharmaceutical industry, has implemented Yammer (now called Viva Engage) as a social network within their organisation. (If you are not using Yammer, read on; what we’ve described here applies to other means of communication as well). Once it was put in place, the questions started to rise. How are people using it? Who is the most active user on a given topic? Who is the focal point of conversations on this network?All data is there in the form of users communicating on a platform, however, what was missing was an easy way to consume data from these interactions. The good news for us and our customer was that there are APIs and ways to consume it through the cloud.
Building blocks
We’ve got our challenge. Thegoal: to build a solution that provides insights into the company's social network interactions. Yammer provides a Rest API which allows us to consume its content and get all the messages and interactions from its channels. To achieve our goal we had to find a way to:
- Ingest this data into some common database
- Analyse this data based on assumed metrics
- Present it to business users in an easy way.
Time to pick up the right tools for a job. Our choice was, surprise, surprise... the Azure cloud! There is a new future ahead of us. A future where solutions don't have to be complicated and always created in complex, customised ways. Instead, even elaborate applications will be built on top of platform components and enhanced with some additional code and extensions. Another part of the future is that we can construct these solutions on top of platform services. Call it PaaS, call it serverless. The key is that there is no need for servers – it’s just platform services and our code.
The architecture
Here, we have used the following elements of the platform:
- Azure Functions: a serverless code execution piece of Azure. It allows us to execute code for data ingress in an easy and efficient way. Its purpose is to import data from data sources into the common storage
- Azure Storage: an intermediate data store for files and data which is later processed
- Logic App: the KEY element of the solution. Logic Apps implement data ingress and processing logic, and then orchestrate the entire flow.
- Azure Cognitive Services / Text analytics: used to detect the sentiment of the messages on Yammer
- Azure SQL Database: provides final storage and data warehouse where we store the information gathered from Yammer. It also takes part in data processing with stored procedures
- Power BI: offers an easy to use and navigate presentation layer.
And that's it. An overall solution architecture built out of these components is presented below.
Rocket science: Logic Apps and their secret sauce!
Looking at the solution diagram, you will notice the crucial component of it – a ROCKET! This rocket is not rocket science. It is Azure Logic App. Have you heard about it? If not, time to change it!Azure Logic App is an integration platform which allows you to build complex integration workflows between different data sources and platforms with additional logic added to them. Think of it as a workflow platform for your process where the hassle of connectivity and orchestrating the steps were taken out for you.
About Logic App
The functionalities of Logic App include:
- Connectivity and integration services to various data sources like SaaS apps or services, but also on-premises solutions like Oracle or SQL database through built-in connectors
- Connectivity extensibility with Azure Functions
- Process steps orchestration and control with logic components and workflows
- Data format support and transformation as a part of a process
and more. We’ve put it at the centre of our integration for data processing and aggregation orchestration. The App Logic allows you to build your process in a graphical way, using steps you can put together into a solution in the visual editor. It might be a simple flow of functions executed one after another. It can also be a pretty complex app with multiple steps and conditions. The example below presents a flow we’ve built to analyze the sentiment of the messages posted on Yammer using Azure Cognitive Services.
Overall, Azure App Logic provides you with a way to build your app processes in a new way – without infrastructure, orchestrated by a platform and based on platform capabilities more than on custom-built code. Our solution is using five different apps built on top of the Logic App, delivering entire data ingress and processing platform.
Make it beautiful: Power BI
Getting data is one thing, but getting the right insight and providing it at the right time for users – that is a completely different task. Even the best data is not so useful if there is no way to analyse it easily. We understand this business need, and we have the tool to address it – Power BI. Using Power BI, we are providing easy to consume and navigate dashboards presenting data gathered from Yammer. Instead of reading about it, you can see it for yourself (parts of images have been blurred to maintain the privacy of our client).
It is the only subset of reports we could provide to you without disclosing our customer’s sensitive data. However, there is much, much more you can get out of it.
Cost!
It is an excellent solution, but one can wonder: Is it expensive to run? The solution includes plenty of components, and we know that costs of cloud services might get out of control. Logic App provides a cost-effective way of executing your processes billed per execution cost. You can find all the details on the product page. In our case, we knew the number of items we needed to process and the central component of a solution, i.e. Azure Logic App.
How close were we to the true cost? Real data usage shows that in the last quarter (March 2018), the real monthly cost of using App Logic on this platform was 78 EUR. Yes. You read that right. The cost of the solution gathering all this information and processing it is around 80 EUR per month for all the resources.
Pretty good, isn't it?!?
For 80 EUR you get invaluable insight into the social interactions at your company happening on the digital platform. It gives plenty of opportunities to explore employee potential in your organisation. What if you have a solution other than Yammer? No worries! This approach is universal; Yammer is just a data source. Get in touch with us, and we can help you make it happen!