Automating Timesheet Processing With AI and Azure
A Nottingham-based payroll provider was receiving more than 900 emails a day into one inbox, including around 3,000 timesheets a week. Sorting them manually took the team 75 hours a week. AAG’s AI and automation workflow now categorises and actions 97% of those emails automatically.

The result was a heavily manual process. The organisation spent 75 hours a week on labour (north of £8k a month on wages, national insurance, pension contributions etc) just to open each email, read the message, review the attachments, decide what the email related to and then move the content into the correct SharePoint location.
This was not a small administrative task. The business was receiving upwards of 900 emails a day. Around 3,000 timesheets were submitted each week. Before any payroll processing could begin, the team first had to identify the relevant emails and organise the information correctly.
AAG developed an AI and automation solution to help the business categorise emails, process timesheets and reduce the amount of manual work involved in preparing payroll information.
The organisation could spend 75 hours a week on labour just to open each email (upwards of 900 a day), read the message, review the attachments, decide what the email related to and then move the content into the correct SharePoint location. Automation achieved a 97% success rate for email categorisation and actioning, meaning they now only spend on average 2 hours per week on this admin task.
The challenge
The company’s central inbox had become a bottleneck.
All incoming emails arrived in the same place, regardless of whether they related to timesheets, invoices or another request. Staff had to manually review each email and decide what action was needed.
On average, the team estimated that each email took between two and three minutes to review, categorise and move into SharePoint. This was before the actual data in the timesheet had been checked, processed or entered into the payroll system.
Human error was then becoming more prevalent. Reviewing hundreds of emails each day is repetitive work. Over time, mistakes become more likely. Emails can be miscategorised, attachments can be missed, and information can be moved into the wrong place.
There was also a wider commercial issue. The process limited the company’s ability to grow efficiently. If the business took on more customers, it would also receive more emails and more timesheets. Under the existing model, higher volumes would require more manual administration. That meant growth would increase both costs and revenue.
The company needed a way to process information more consistently, reduce manual handling and avoid adding more administrative capacity every time volume increased.
The solution
AAG built an AI and automation workflow to manage the early stages of the email and timesheet process.
The first phase focused on email categorisation. The system reviews incoming emails, assesses the content and applies the correct category. Where the email relates to a timesheet, the workflow then moves the relevant content into SharePoint.
This gives the business a more organised inbox and reduces the need for staff to manually review every email before work can begin.
Next, the second phase focuses on the timesheet data itself. Once the system has identified an email as a timesheet submission, it extracts the information from the attachment, structures the data and prepares it for payroll processing.
Structuring the data was important because the timesheets did not arrive in a consistent format. Some were the templates that had been provided with tables and clear fields, great; others were older templates, handwritten notes or poor-quality images taken on mobile phones. A fixed and rule-based process would have struggled with that level of variation.
Utilising AI allows the system to interpret varied document formats and convert the information into structured data that can be checked, validated and passed into the payroll system. It’s not perfect as it depends on the quality of the data provided, but for a large majority of (75% in the first few weeks), the AI was recognising the correct figures.
How the solution works
The workflow is triggered when an email arrives in the company’s main inbox.
AAG used an Azure Logic App to control the automation. In simple terms, this works like a workflow: when a defined event happens, the system follows a series of steps.
The process works as follows:
- An email arrives in the central inbox
- The workflow reviews the email body and attachments.
- AI assesses the content and determines the email category.
- The correct category is applied in Exchange.
- If the email relates to a timesheet, a separate workflow is triggered.
- The email content and attachments are checked.
- A SharePoint folder is created or identified.
- The relevant content is stored in SharePoint.
- The timesheet data is extracted from the attachment.
- The information is converted into a consistent format.
- Validation checks are applied.
- The data is prepared for submission into Brain Payroll through an API.
The validation stage is a critical part of the process. The system checks whether the information appears to be complete and whether it meets expected rules, such as accepted payroll periods and calculated hours.
AI confidence scoring also helps determine whether a record can be processed automatically or needs human review. If the system is highly confident that the information has been read correctly, it can continue through the workflow. If confidence is lower, the item can be flagged for manual checking.
This means people are still involved where judgment is needed, but they are no longer required to review every item manually.
The first phase of this project has saved over 70 hours per week on manual admin, as well as eradicating human error, with only a small amount of time required to quality check the automation. Whilst the second-phase looks to support on processing timesheets which is a much more significant time drain, and in some cases will save up to 20 minutes of manual work per timesheet. None of this would be possible without a clear business process and quality data, both of which allow the Azure Logic App to work it's magic.
The results
The first phase of the project is already achieving a 97% success rate for email categorisation and actioning, with 75% on achieving a highly confident score that the information has been read correctly.
This means that only a tiny proportion of emails require human review at the categorisation stage, and only a quarter of timesheets require human validation. For a business receiving hundreds of emails per day, that creates a significant reduction in manual administration.
Before automation, each email could take two to three minutes to categorise and move. Each timesheet could then take a further five to ten minutes to process, followed by another five to ten minutes for review.
In some cases, this meant up to 20 minutes of manual work for a single timesheet.
Even if the second phase does not automate every timesheet end-to-end, the impact is still substantial. If the system can process a high proportion of timesheets without human intervention, the business can reduce repetitive administration, improve consistency and handle greater volume without increasing payroll administration at the same rate.
The process also gives the company a stronger basis for quality control. Instead of relying on staff to spot every issue manually, the system can flag uncertain or unusual items for review. That allows human attention to be focused where it is most useful.
Commercial impact
The main benefit is not only time saved. The solution changes the scalability of the process.
Under the previous model, growth created more administration. More customers meant more emails, more timesheets and more manual work. That placed pressure on margins and made it harder to grow without increasing headcount.
The automated workflow gives the business a more efficient operating model. Routine items can be processed consistently, while exceptions can be reviewed by people. This helps the company increase capacity without simply adding more administrative resource.
For a payroll provider, that matters. Accuracy, speed and reliability are central to the service. By reducing manual handling at the start of the process, the business can improve operational control and reduce the risk of delays or errors.
Conclusion
The project shows how AI and automation can be applied to a specific operational problem.
The company did not need a broad AI strategy to see value. It needed to identify a process that was repetitive, high volume and difficult to scale manually.
By applying automation to the workflow and AI to the interpretation of unstructured timesheet data, AAG helped the business reduce manual categorisation, improve consistency and create a more scalable process.
The result is a practical use of AI: not replacing the entire payroll function, but removing a major administrative burden from the people responsible for running it.
Ready to transform your IT?
Book a discovery call with AAG today and see how our AI and automation services can work for your business.


