DEV Community

TechnovaShield Patel
TechnovaShield Patel

Posted on

1

Building a Smart Shelf Audit and Restocking Bot with UiPath πŸš€

🧠 Introduction

Retail and inventory management rely heavily on accurate shelf audits and timely restocking. In large operations, this process can be time-consuming and error-prone when done manually.

To solve this problem, I developed a Smart Shelf Audit and Restocking Bot using UiPath β€” an end-to-end automation that scans shelf data, identifies issues, and sends four daily reports straight to my inbox.


❓ Problem Statement

In a real-world retail environment, stock audits are often:

  • Manual and repetitive
  • Prone to human error
  • Not done frequently enough to catch fast-moving stockouts

These issues can lead to:

  • Lost sales due to out-of-stock items
  • Misplaced products on the wrong shelves
  • Delay in restocking because alerts are not timely

🧩 Solution Overview

The Smart Shelf Audit and Restocking Bot does the following:

  1. Pulls shelf data from UiPath Data Service
  2. Analyzes stock levels and detects:
    • Low stock
    • Misplaced items
    • Restocking requirements
  3. Generates four reports:
    • Audit Report
    • Inventory Report
    • Low Stock Products Report
    • Restocking Report
  4. Emails those reports daily via Outlook
  5. Is scheduled using UiPath Orchestrator

βš™οΈ Key Components

Here are the main components used in this automation:

  • UiPath Studio

    Used to develop the entire automation workflow with drag-and-drop activities.

  • UiPath Data Service

    Stores structured mock shelf data.

  • Excel Activities

    Generate and format multiple report files.

  • Outlook Activities

    Send the reports via email with attachments.

  • UiPath Orchestrator

    Publishes, deploys, and schedules the automation to run daily.


🧠 Workflow Diagram

Here is a high-level diagram of the automation flow:

Smart Shelf Audit Workflow Diagram

Replace the link above with the real image link after uploading.


πŸ›  Step-by-Step Breakdown

1️⃣ ScanShelfData.xaml

  • Extracts ProductID and ScannedStockLevel
  • Writes results to AuditLog.csv

2️⃣ InventoryAnalyzeData.xaml

  • Extracts Shelf & Warehouse stock levels
  • Outputs to Inventory.csv

3️⃣ GenerateAuditReport.xaml

  • Merges data based on ProductID
  • Outputs to AuditReport.csv

4️⃣ Email Automation

  • Sends 4 reports daily via Outlook
  • Uses Send Outlook Mail Message activity

πŸš€ Orchestrator Deployment

  • The automation is published to UiPath Orchestrator
  • It is scheduled to run every morning
  • While it works perfectly when triggered manually, I'm currently troubleshooting a minor issue with the scheduled execution β€” part of refining real-world deployment!

πŸ“ˆ Results and Benefits

This automation:

  • Eliminates manual shelf audits
  • Ensures daily visibility into inventory
  • Helps anticipate restocking needs
  • Demonstrates the power of RPA in retail

🏁 Conclusion

This Smart Shelf Audit and Restocking Bot shows how UiPath can simplify retail operations through automation. As part of my journey toward becoming a UiPath MVP, I’m sharing this real-world case study to help others build practical RPA projects.

Feel free to comment below or reach out if you have questions β€” let’s learn together!
Image description

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

5 Playwright CLI Flags That Will Transform Your Testing Workflow

  • 0:56 --last-failed
  • 2:34 --only-changed
  • 4:27 --repeat-each
  • 5:15 --forbid-only
  • 5:51 --ui --headed --workers 1

Learn how these powerful command-line options can save you time, strengthen your test suite, and streamline your Playwright testing experience. Click on any timestamp above to jump directly to that section in the tutorial!

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay