How to Build a Configurable Admin UI for Managing Amazon Connect Data Tables
Automated CloudFormation deployment for Amazon Connect configurable UI management. Includes data tables, Lambda functions, contact flow modules, custom views, and workspaces for operational data handling. Enables non-technical users to update and monitor patient queue information through integrated Connect interfaces with real-time refresh capabilities.
Introduction
Amazon Connect provides powerful contact center capabilities, but managing operational data often requires technical expertise or developer intervention. This article demonstrates how to deploy a self-service, configurable UI solution that empowers business users to update and manage data tables directly within Amazon Connect.
Using AWS CloudFormation templates, you'll automate the deployment of Lambda functions, contact flows, custom views, and workspaces that work together to create an intuitive interface for managing operational data, such as patient queues or routing tables.
What You'll Build
This solution deploys a complete data management interface within Amazon Connect, consisting of:
- Data Tables: Structured storage for operational data (e.g., Patient Queue Table)
- Lambda Functions: Backend processing for data transformation and validation
- Contact Flow Modules: Reusable components for reading and processing data
- Custom Views: User-friendly interfaces for data display and error handling
- Workspaces: Integrated environments where business users interact with data
- Contact Flows: Orchestration logic for data management operations
This cloudformation zip file contains CloudFormation templates for deploying a configurable UI solution for Amazon Connect, including data tables, Lambda functions, contact flows, views, and workspaces. Download the solution package from the provided S3 link and extract all files to your local device. Once extracted, you'll find the following template files in your local directory that need to be uploaded to S3.
Prerequisites
- AWS Account with appropriate IAM permissions for CloudFormation, Amazon Connect, Lambda, and S3 services
- Existing Amazon Connect instance configured and operational
- S3 bucket in the same AWS region as your Amazon Connect instance
Architecture Overview
The solution deploys the following components:
- Data Table: Operational Patient Queue Table with attributes and records
- Lambda Functions: Four functions for data processing and transformation
- Contact Flow Module: Reusable module for reading operational data
- Views: Two Connect views for data display and error handling
- Contact Flow: Main flow for operational patient data management
- Workspace: Connect workspace with integrated views
Deployment Steps
Step 1: Prepare S3 Bucket
- Create an S3 bucket in the same region as your Amazon Connect instance
- Upload all CloudFormation YAML files to the S3 bucket:
parent-stack.yamldatatable-cft.yamllambda.yamlcontact-flow-module.yamlconnect-views-from-json.yamlcontact-flow.yamlconnect-workspace-view.yamlconnect-workspace.yaml
Step 2: Deploy CloudFormation Stack
⚠️ WARNING: This is a demonstration template NOT suitable for production use. Deploying this solution in production environments is not recommended.
- Navigate to the AWS CloudFormation console
- Create a new stack
- Select "Template is ready" and "Amazon S3 URL"
- Enter the S3 URL for
parent-stack.yaml - Configure the following parameters:
- Stack Name: Provide a descriptive name for the stack
- ConnectInstanceArn: Your Amazon Connect instance ARN
- S3BucketName: Name of the S3 bucket created in Step 1
- S3Region: AWS region where your S3 bucket is located
- S3KeyPrefix: (Optional) Prefix for template files in S3
- Review the configuration and create the stack
- Monitor the deployment until completion (Status: CREATE_COMPLETE)
Step 3: Configure Contact Flow Module
- Log in to your Amazon Connect instance
- Navigate to Flows → Modules
- Open the contact flow module created by the stack (name will include stack ID suffix)
- Verify Lambda function and data table references are correct in the contact flow blocks
- Select the references again
- Click Publish
- Select Create new version and enter a description
- Click Publish to confirm
Step 4: Update Security Profile
- Navigate to Security profiles
- Select the security profile used for testing
- Under Flow module tools, add the newly created flow module
- Click Save
Step 5: Configure Views
For Each View (Repeat for both views created):
- Navigate to Views
- Select the view created by the stack
- Go to the Integrations tab
- Select the flow module as the tool
- Set version to Latest
- Enable refresh by toggling the button
- Set refresh interval to 5 seconds
- Click Publish
Step 6: Configure Contact Flow
- Navigate to Flows
- Open the contact flow created by the stack
- Verify Lambda function and data table references
- Select the references again
- Click Publish to activate the flow
Step 7: Configure Workspace View
- Navigate to Views
- Open the workspace view created by the stack
- Verify the contact flow is associated with the view in the Connect application component
- Click Publish
Step 8: Configure Workspace
- Navigate to Workspaces
- Open the workspace created by the stack
- Verify the associated view is configured in the pages
- Click Save
Verification
After completing all configuration steps, verify the deployment by:
- Navigating to the home page to access the newly created workspace
- Confirming that the views display data correctly
- Testing the contact flow functionality with sample data

Stack Outputs
The CloudFormation stack provides several outputs that can be used for reference:
- Data Table ARN and Name
- Lambda Function ARNs and Names
- Contact Flow Module ARN
- View ARNs and Names
- Contact Flow ARN and Name
- Workspace ARN
Resource Cleanup
To remove all deployed resources:
- Navigate to the AWS CloudFormation console
- Select the deployed stack
- Click Delete
- Confirm the deletion
Important: This action will permanently remove all created resources including data tables, Lambda functions, contact flows, views, and workspaces.
Support
For issues or questions, please reach out to your designated AWS point of contact.
Co-author
Enjoyed reading this content? Let the author know!
Your likes, comments, shares, and saves help creators reach more builders.
Loading recommendations
Loading article