3 min read

Hawkary Pharmaceuticals: Power platform customer success story


As global adoption of Microsoft PowerApps continues to grow, we want to highlight the work of some of the app creators in the community. In this blog post we’ll look at how Mohammad Alkhawaja, a Pharmaceutical Sales Manager at Hawkary Pharmaceuticals in Iraq, digitized the reporting of daily sales visits using PowerApps, Microsoft Flow, Common Data Service and Power BI. Mohammad calls this a Doctor Relationship Management (DRM) solution. Mohammad is a pharmacist by training and considers himself a self-taught tech enthusiast. He ramped up on these technologies using online training content and the community forums, and was successful at replacing their old Excel-based process into a mobile solution with medical sales reps submitting data through a tablet app and managers viewing rich aggregated reports in Power BI.


1. Business process

Hawkary distributes pharmaceutical products to doctors in Iraq. Several hundred field representatives call on doctors across the country to educate, place samples and take orders for pharma products. These medical sales representatives report back their activities to corporate where the data is used to track the engagements.


2. Before Business Application Platform: Business process execution

Hawkary employed Excel and email to collect “daily reports” from their sales reps. The central sales and marketing organization would sort through the excel files to glean insights.

Image 1: Daily report spreadsheet sent by rep via email


3. Before Business Application Platform: Process execution challenges and opportunities

Sorting through emails to find attached Excel files, then opening hundreds of Excel files to glean insights from the reports was time-consuming; and it missed many opportunities to learn from the underlying data. It was nearly impossible to do meaningful analysis across all these sheets – how many times was a product promoted, how many daily visits were sales reps doing in a certain region, trends over time on a particular product sample uptake.


4. Business Application Platform solution – Doctor Relationship Management

Mohammad considers himself a “tech enthusiast” – in the past he taught himself how to use Microsoft Access, then discovered and began using PowerApps, Flow, Power BI and the Common Data Service. Leveraging these tools, and learning through videos and help on the community forums, he built a solution combining all the Business Application Platform assets:

PowerApps – Two PowerApps apps were developed. One used by field sellers to plan their visits and report on the same. Another used by supervisors to view visit reports and provide coaching for individual sellers.

Microsoft Flow – Many flows were built to send notifications and reminders for sales reps to take actions when certain events occur (e.g. when a new pharmacy is created, when a report is due, when an Order is created in PowerApps). Some of these are triggered from the apps, others execute automatically based on external events.

Common Data Service – All data for the application is stored in the Common Data Service, making it easy to trigger Flows, build new PowerApps apps and build Power BI dashboards and reports.

Power BI – Power BI reports exist to understand sales rep productivity, product performance, customer prioritization, and related analysis.


5. Process execution benefits, after Business Application Platform

  • Unified database allows detailed analysis on sales performance which was not possible before
  • Can ensure reps are focusing on the most important doctors
  • ~8 hours saved per month per medical rep, using the app is quicker than excel and email
  • No more searching through emails; considerable time savings for supervisors
  • Everyone stays up to date through automated emails and notifications via Flow

6. Solution architecture

Full-spectrum use of the Business Application Platform – with CDS serving as the core data repository, surrounded by PowerApps, Flows and Power BI reports and dashboards. For their latest PowerApps app – a mobile brochure viewer – they used a SharePoint library that was leveraged via the PowerApps SharePoint connector.



7. Screenshot Gallery – Doctor Relationship Management (DRM) solution

PowerApps app for Medical Sales Rep:

Sales reps use the app on an iPad to send daily reports, manage plans and view comments from supervisors.




PowerApps app for Supervisors

Supervisors use the app on an iPad or desktop to view daily reports and plans, provide coaching comments and manage doctor and product list.

Flow gallery

Several flows are used to send notification emails when different actions occur, such as when a medical rep submits a daily report or receives a comment from a supervisor. Flow is also used to send reminders, e.g. when a report has not been submitted.

Power BI dashboards and reports

Managers use aggregate reports to gain insights into areas such as performance of sales reps, which doctors to focus on, and which products to promote.

Common Data Service

All the data is stored in a set of related entities in the Common Data Service.