Pharmacies · Riyadh, Saudi Arabia · Operations

Pharmacists on shift when the street is busiest

Nouf runs operations for a chain of forty pharmacies across Riyadh. She plans the staff for every branch.

Listen to the story:

The challenge

Every branch gets the same shifts, from morning to midnight. Some have queues out the door late in the evening, while two pharmacists wait for customers at ten in the morning. Complaints come from the busy branches. Costs come from the quiet ones.

How the flow works

With xMap Flows, Nouf built Pulse. Pulse is an AI employee: a flow of 7 blocks.

  1. Every Saturday evening,

    Every Saturday at 6 pm (Schedule)

  2. Pulse takes her forty pharmacies,

    Our forty pharmacies (My data)

  3. measures how busy it gets around each one, hour by hour and day by day,

    Busy hours, last 30 days (Mobility Footfall)

  4. drafts a shift plan for each branch,

    A shift plan per branch (xMap LLM)

  5. waits for Nouf to approve it,

    Nouf checks it (Approval)

  6. writes it into the rota,

    The rota sheet (Google Sheets)

  7. and emails each branch manager the week ahead.

    To branch managers (Email)

What it solves

The result

This Saturday, Pulse finds twelve branches busiest after nine at night, and nine quiet until noon. Nouf moves eighteen pharmacists into the evenings. A month later, waits at the busiest branches are down by half, with no new hires.

Nouf used to staff for an average day. Now every branch gets its own.

12branches busiest after 9 pm
18pharmacists moved to evenings
50%shorter evening waits

An illustrative scenario: the figures are modelled to show what the flow produces, not a customer's results.

The flow, block by block

  1. 1

    Every Saturday at 6 pm

    Schedule

    Starts the flow on a timetable.

  2. 2

    Our forty pharmacies

    My data

    Brings in a table you uploaded or a list you saved on the My data page: your stores, customers, target accounts or sites.

  3. 3

    Busy hours, last 30 days

    Mobility Footfall

    How busy the area around each place is, from xMap’s own mobility data: footfall per day, the busiest hour and day of the week, how the day splits into morning, midday, evening and late night, the trend on the week before, and where visitors come from and how they travel (trips).

  4. 4

    A shift plan per branch

    xMap LLM

    Tell the AI what to do in plain words.

  5. 5

    Nouf checks it

    Approval

    Stops the run until someone says yes.

  6. 6

    The rota sheet

    Google Sheets

    Create, edit, and collaborate on spreadsheets online

  7. 7

    To branch managers

    Email

    Sends one email per run with all the items, or one email per item.

Templates to build it

Ready-made flows with the same blocks. Open one, change the city and the kind of place, and run it.

Learn how it works

More stories from Healthcare

All 137 stories →

Build this flow on your own city

Run a live search on the home page without an account, or let Ask xMap build the flow from one sentence.