A Global Workforce Management Company
How Matellio Built a Multilingual AI Chatbot on Amazon Bedrock to Automate HR Support Across 20+ Company Profiles and 18 Languages

The Impact

18+

Languages
Auto-detected — no manual selection required

20+

Profiles
Company profiles with role-isolated responses

4

Query Routes
Timesheet, quota, policy, and general — auto-classified

24/7

Self-Service
HR support replacing manual ticket-based queries

About the Customer.

The customer is a mid-market global service provider specializing in payroll compliance, workforce management, and enterprise systems for multinational organizations. The company helps clients navigate country-specific regulatory requirements, align international workforce standards with local operational needs, and implement scalable technology for cross-border operations. As the platform expanded across multiple regions and company profiles, the volume of support requests grew faster than the support team could absorb — creating pressure on operations and slowing response times for end users.

REGION

Global

INDUSTRY

HCM · Workforce Management

JUMP TO SECTION

Share this Article

case-study-dummy

How Matellio Built an AI-Powered Trademark Risk Analysis Engine on Amazon Bedrock – Replacing Manual Attorney Review with a Consistent, Scalable LLM-Driven Process

Executive Summary

From Manual Support to Intelligent Automation

A global workforce management company serving multinational organizations engaged Matellio, an Amazon Web Services (AWS) Advanced Partner, to eliminate its dependence on manual support operations for routine HR queries. The company’s Time and Expense Management platform had no self-service query capability — employees and managers depended on support teams for information already available in the system. Matellio built a production AI chatbot on Amazon Bedrock, embedded directly into the platform, that answers natural language HR queries in 18+ languages, enforces role-based access at the query level, and routes every question to the appropriate response pipeline automatically.

Customer Challenge

Why Traditional HR Support Wasn’t Sustainable

The company’s support operations were heavily dependent on manual intervention, human availability, and repeated knowledge sharing. A significant proportion of support requests involved routine queries – timesheet lookups, leave balance checks, policy questions, and process guidance – for information already available in the system but not easily accessible to users.

As the platform expanded across regions and profiles, this created compounding risk:

High dependency on support personnel

Routine queries required human intervention even when answers were already in the system.

Inconsistent responses

Individual team members gave different answers to the same question, eroding user trust.

Timezone delays

Users in one region waited hours for responses from support teams in another.

Onboarding friction

New users had no self-service path to understand platform workflows.

Linear cost scaling

Every new user added to the platform added to the support burden — with no structural improvement in sight.

Without a scalable solution, the company faced rising costs, slower resolution times, declining user satisfaction, and an inability to grow its platform operations without proportionally growing its support headcount.

Why AWS

Built on a Secure AWS Foundation

The company’s platform was already hosted on Amazon Web Services (AWS), with its web server on Amazon Elastic Compute Cloud (Amazon EC2) and production data in Amazon Relational Database Service (Amazon RDS) MySQL. Building the chatbot on AWS meant direct connectivity to the live production database inside the same Amazon Virtual Private Cloud (Amazon VPC), with no data leaving the existing security boundary.

Amazon Bedrock provided managed access to Claude — the large language model (LLM) with the strongest multilingual and natural language to SQL (NL-to-SQL) performance in evaluation — alongside Amazon Bedrock Knowledge Base for profile-isolated vector search and AWS Lambda for serverless, auto-scaling execution.

Why the Customer Chose Matellio

Matellio had built the company’s foundational platform phase, giving the team direct knowledge of the production database schema, the role-based access control (RBAC) model, the JWT token structure, the SAP integration schedules, and the application business rules.

Combined with proven production experience on Amazon Bedrock model invocation, Bedrock Knowledge Base metadata filtering for multi-tenant document isolation, and AWS Lambda optimization for latency-sensitive workloads, Matellio could move from requirements to working production code without a knowledge transfer phase.

Partner Solution

The AI Solution We Built

Matellio built a production AI chatbot embedded directly inside the company’s Time and Expense Management platform – a system that previously had no self-service query capability. The chatbot answers natural language questions drawn from the live production database, enforces role-based access automatically, supports 18+ languages without manual selection, and maintains persistent conversation memory across sessions.

1. Orchestration and API Layer

AWS Lambda serves as the core serverless backend, running the complete orchestration pipeline on every request: JWT token decoding for role and profile identification, intelligent query routing, NL-to-SQL generation, retrieval-augmented generation (RAG) retrieval, and natural language response generation. Amazon API Gateway exposes the chatbot as a secure REST API endpoint, routing authenticated HTTP requests from the web frontend to Lambda.

2. AI Reasoning

Amazon Bedrock hosts Claude Sonnet and Claude Haiku as the reasoning models — used for query classification, NL-to-SQL generation, language detection, and response generation depending on the task.

3. Knowledge Base and Policy Retrieval

Amazon Bedrock Knowledge Base with Amazon OpenSearch Service stores and retrieves policy and procedural documents using vector search, with 20+ profile-isolated knowledge bases and metadata filtering to prevent cross-profile data leakage.

4. Data Layer

Amazon RDS MySQL serves as the production database for timesheet, quota, attendance, and project data, and stores full conversation history per session for multi-turn context. Amazon S3 stores source policy documents indexed into the Bedrock Knowledge Bases.

How the System Works — Step by Step

How Every HR Query Is Processed

case study coding faster icon

Intelligent routing

Every query is classified on arrival – timesheet data, quota and leave, policy questions, or general conversation – and handled by the appropriate pipeline. Users never configure anything.

case study coding faster icon

Role-aware responses

The system decodes the user’s JWT token on every request. A regular employee sees only their own records. A project manager sees their team. An HR associate’s scope depends on their vendor assignment. This logic covers 20+ account types and 20+ company profiles – enforced at both the routing and knowledge base level.

case study coding faster icon

Natural language to SQL

For data queries, AWS Lambda invokes Amazon Bedrock (Claude Sonnet) to convert the user’s plain language question into a precise SQL query against the live Amazon RDS MySQL database. The result comes back as a conversational answer.

case study coding faster icon

RAG for policy questions

For policy and procedural queries, Amazon Bedrock Knowledge Base retrieves the relevant documents from profile-isolated knowledge bases using vector search with metadata filtering — ensuring users only ever see documents for their own company profile.

case study coding faster icon

18+ languages, automatically

Language is detected from the user’s question. The entire response pipeline — SQL results, knowledge base answers, error messages, conversational replies — is returned in the user’s detected language. No language selection required.

case study coding faster icon

Persistent memory

Every conversation turn is stored in MySQL and retrieved at the start of each new request, enabling multi-turn conversations where users can ask follow-up questions without repeating context.

Solution Architecture

End-to-End Solution Architecture

The architecture below shows the end-to-end AWS deployment: the core orchestration layer, API layer, NL-to-SQL pipelines for timesheet and quota queries, RAG knowledge base retrieval for policy questions, and the data layer.

case study end-to-end solution architecture

AWS Services Used

  • AWS Lambda
  • Amazon API Gateway
  • Amazon Bedrock (Claude Sonnet / Haiku)
  • Amazon Bedrock Knowledge Base
  • Amazon OpenSearch Service
  • Amazon RDS (MySQL)
  • Amazon S3
  • Amazon EC2
  • AWS IAM
  • Amazon CloudWatch
  • Amazon VPC

Results and Benefits

Business Impact & Results

The AI chatbot is live in production and delivered the following qualitative and operational improvements across the company’s support operations. Quantitative metrics will be confirmed following client review and approval.

Self-service support

Employees and managers can now resolve routine HR queries instantly without raising a support ticket or waiting for a team member to respond.

Multilingual access

Support is available in 18+ languages, auto-detected from the user’s question — removing language as a barrier for global users across all regions.

Role-enforced responses

Every response is scoped to the user’s role and profile automatically — a regular employee sees only their own data, while HR associates and project managers see data appropriate to their access level.

Consistent answers

Responses are generated from the live production database and indexed policy documents, eliminating the inconsistency that came from individual team member knowledge.

Continuous improvement

A structured feedback loop captures thumbs-up and thumbs-down ratings on every response, with negative ratings storing correction comments — creating a dataset for ongoing SQL prompt refinement and knowledge base updates.

Operational scalability

Support capacity no longer scales linearly with user growth — the chatbot absorbs routine query volume regardless of timezone, user count, or time of day.

T.A.S.K Framework

Technology Stack

Recent Case Studies

case-study-dummy

How Matellio Built a Multilingual AI Chatbot on Amazon Bedrock to Automate HR Support Across 20+ Company Profiles and 18 Languages

case-study-dummy

How Matellio Built an AI-Powered Trademark Risk Analysis Engine on Amazon Bedrock – Replacing Manual Attorney Review with a Consistent, Scalable LLM-Driven Process

case-study-dummy

How Matellio Built a Conversational AI Assistant on Amazon Bedrock to Help Visitors Find the Right Legal Document by Describing Their Situation in Plain English

Build the impossible, together

Ready to scale smarter?

Let’s turn your next big idea into a scalable product, engineered for speed, reliability, and real-world impact.





    Consent Preferences