AWS Builder Center

Weekend Annoying Task Challenge: SupportFlow AI

SupportFlow AI is a serverless technical support assistant that helps users troubleshoot application issues while providing a separate dashboard for real AWS activity. It uses Amazon Nova Lite, AWS Lambda, API Gateway, Amplify, IAM, and CloudWatch.

Vision and What the App Does

One annoying task I have experienced while working with applications is trying to understand what is happening when something goes wrong. A simple issue can lead to checking different places for request activity, errors, latency, and other operational information. At the same time, the actual technical problem often needs to be investigated separately.
For this challenge, I wanted to bring those two parts closer together and created SupportFlow AI.
SupportFlow AI is a serverless technical support assistant built for troubleshooting questions and application monitoring. The main chat interface lets a user describe an error, a stack trace, unexpected behavior, or a general technical issue and receive a troubleshooting response from an AI assistant.
The project also includes an application monitoring dashboard. The dashboard displays actual AWS generated information such as request volume, errors, latency, token usage, estimated cost, and recent activity. The numbers come from CloudWatch rather than application side counters, so the dashboard reflects activity from the deployed AWS environment.
The goal was to keep the application simple. Instead of building a large platform with many unrelated features, I focused on one technical support workflow and one monitoring workflow that can be used together.

How I Built It

I started by creating the web interface and separating the application into two main experiences.
The first is the SupportFlow AI chat interface. The second is the application monitoring dashboard.
The frontend is hosted using AWS Amplify Hosting. The main chat interface is available from the deployed Amplify application, while the monitoring dashboard is available through the  /dashboard.html  route.
For backend communication, I used Amazon API Gateway as the HTTP entry point. The API exposes two routes:
 POST /chat 
 GET /stats 
The  /chat  route receives a user message from the frontend and forwards the request to the chat Lambda function.
The chat Lambda function is named  bedrock-chat-app . It validates the request and invokes the Amazon Bedrock Converse API using Amazon Nova Lite, with the model identifier  amazon.nova-lite-v1:0 .
The generated response is returned from Lambda through API Gateway to the browser, where the user receives the troubleshooting response.
For the monitoring side, I created a separate Lambda function called  bedrock-chat-stats . This function queries Amazon CloudWatch using  GetMetricData  and collects operational information related to the application.
The  /stats  endpoint exposes those results to the dashboard. The dashboard then displays the returned data through stat cards and charts.
One decision during development was changing the Bedrock model from the Claude models I initially considered to Amazon Nova Lite. The Anthropic models required an additional use case details form in the Bedrock console. Amazon Nova Lite did not require that additional step, so I switched to Nova Lite and validated the complete application with it.
This allowed me to keep the architecture straightforward and get the full workflow working on AWS.

AWS Services and Architecture Overview

The application is deployed in the us east 1 AWS Region.
The main chat architecture is:
User → AWS Amplify → Amazon API Gateway → AWS Lambda → Amazon Bedrock → Amazon Nova Lite → Response
The monitoring architecture is:
Monitoring Dashboard → Amazon API Gateway  /stats  → AWS Lambda → Amazon CloudWatch → Usage Metrics → Dashboard
AWS Amplify is responsible for hosting the static frontend.
Amazon API Gateway provides a single HTTP API for the application.
The chat Lambda handles incoming support questions and invokes Amazon Bedrock.
Amazon Nova Lite generates the assistant response.
The monitoring Lambda handles the statistics request and reads CloudWatch metrics.
Amazon CloudWatch provides the actual application activity data used by the dashboard.
There is no database in the current implementation. The monitoring dashboard reads the numbers directly from CloudWatch so that the displayed usage reflects the deployed AWS environment. The repository documents this architecture and the current implementation details.

IAM and Security

I also kept the permissions of the two Lambda functions separate.
The chat Lambda uses the  bedrock-chat-lambda-role , which provides basic Lambda execution permissions together with permission to invoke the configured Bedrock model.
The monitoring Lambda uses  bedrock-chat-stats-lambda-role , which provides basic Lambda execution permissions together with the CloudWatch permissions required for reading metrics.
The repository follows a least privilege approach for the Lambda roles, with each function receiving the permissions it needs for its specific responsibility.
For the current demo, the API routes do not have authentication enabled. This is acceptable for the personal demonstration environment, but the repository documentation notes that an authorizer should be added before exposing the application to real support traffic.

What I Learned

The biggest lesson from this project was understanding how many components are involved in a seemingly simple AI application.
From the browser, a request has to reach the correct API route, be handled by Lambda, use the correct IAM permissions, reach Amazon Bedrock, and then return the response through the same path.
I also learned that monitoring should be part of the application from the beginning rather than something added later. Building a separate monitoring Lambda and dashboard helped me understand how application behavior can be observed using CloudWatch metrics.
Another useful lesson was choosing the right model based on the actual project requirements. Rather than blocking the project on the Claude model access process, I moved to Amazon Nova Lite and continued building and testing the application.
I also learned that a useful cloud project does not need a complicated architecture. A small serverless design can still provide a complete workflow when each AWS service has a clear responsibility.

Live Application

Support Chat
Application Monitoring Dashboard
API Gateway
GitHub Repository
The repository contains the frontend, Lambda functions, IAM policy files, deployment instructions, and architecture details.


Final Thoughts

SupportFlow AI started with a simple question: can a repetitive technical support workflow be made easier with a small serverless AWS application?
The result is a working application that combines an interactive technical support assistant with a separate monitoring dashboard backed by real AWS metrics.
Building it gave me practical experience with AWS Amplify, API Gateway, Lambda, Amazon Bedrock, Amazon Nova Lite, IAM, and CloudWatch, while also showing me how these services can work together as one complete serverless application.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article