GrayHair AI Agent
Back to Projects
AI AgentsRAGSlack Integration

GrayHair AI Agent & Slack Integration

Building a context-aware AI chatbot for instant access to postal industry knowledge and company documentation

Problem Overview

GrayHair Software offers a wide range of products, services, and deep postal industry expertise. However, users often faced challenges in finding answers to their questions. This led to time-consuming efforts, such as asking colleagues or manually searching through manuals or Confluence for information.

Key Challenges:

  • Time-consuming manual searches through documentation
  • Interruption of colleagues for information
  • Natural concerns about AI adoption (hallucinations, complexity, job displacement)
  • Need for faster access to USPS regulations and practices

The goal was to empower internal users with instant access to knowledge about GrayHair Software's products and the USPS, while addressing hesitations about AI adoption thoughtfully.

The Solution

Forth Clover and GrayHair worked together to design a solution that would work well for GrayHair's organization. The solution leveraged AWS's most advanced AI services to create a seamless, user-friendly experience.

Bedrock Knowledge Bases

Pre-built RAG service with connectors for S3 and Confluence, making it easy for AI to be aware of company data.

Bedrock Agents

Serverless framework for agentic workloads with built-in memory, guardrails, and Knowledge Base integrations.

The agent and knowledge base provided the ability for users to ask questions about GrayHair practices, procedures, and easy access to the vast knowledge GrayHair has access to, all through their familiar Slack interface.

AWS Architecture Overview

GrayHair AWS Architecture Diagram

AWS architecture for GrayHair's AI Agent with Slack integration and Bedrock Knowledge Base

Stack 1: Slack Bot Infrastructure

  • • Amazon ECR for container registry
  • • ECS Fargate Service running Java application
  • • Route53 for DNS management
  • • Application Load Balancer for HTTPS traffic
  • • WAF Web ACL for security
  • • CloudWatch Logs for monitoring

Stack 2: Bedrock Agent & Knowledge Base

  • • Lambda for daily data source synchronization
  • • EventBridge for scheduling
  • • Bedrock Agent with built-in memory
  • • Bedrock Knowledge Base with S3 and Confluence connectors
  • • Bedrock Guardrails for safety
  • • OpenSearch Serverless for vector database
  • • Secrets Manager for Confluence credentials

Usage & Benefits

Example Queries

"Does the USPS allow punctuation in an address block?"
"Where should the indicia be placed on retail mail?"
"What's the aspect ratio for a machinable letter?"

Measurable Impact

  • • 100+ inquiries in first week
  • • Improved response consistency
  • • Reduced expert workload
  • • Seamless knowledge transfer

Key Features

  • • Natural language queries
  • • Real-time synchronization
  • • Current USPS regulations
  • • Contextually relevant answers

Results

The AI solution enables users to instantly access GrayHair's extensive postal knowledge base through natural language queries. Rather than manually searching through documentation or interrupting colleagues, users can ask questions directly in Slack and receive accurate, contextual answers.

The regular synchronization process allows GrayHair's postal experts to update documentation to reflect current regulations and remove outdated information. These updates are immediately available in the knowledge base, ensuring the AI always provides the most current postal regulations and practices.

Forth Clover is thankful to have partnered with GrayHair on this project. We used AWS's best tools to build something that actually helps their staff get work done faster, giving employees quick access to the information they need when they need it.

Ready to Empower Your Team with AI?

Let's build a custom AI solution for your organization

Build with Us