Streamline AWS Support with AWS Chatbot and Microsoft Teams

For platform teams, the main value here is not the chat UI itself but the integration boundary it creates between AWS Support, EventBridge, SNS, and Microsoft Teams. That chain turns support activity into a governed operational workflow, but it also introduces dependencies that must be designed deliberately: regional service availability, IAM permissions, channel type constraints, and message transformation logic all become part of the support path.

Architecturally, the event model matters. AWS Support events are not delivered to Teams directly; they are first normalized through EventBridge and then reshaped into a Chatbot-compatible payload. That means the quality of your notification experience depends on the stability of the transformation layer and on how carefully you map fields such as case identifiers and status changes into reusable metadata for downstream actions.

From an operations and security perspective, the workflow shifts responsibility into the chat environment without removing control requirements. Teams channel permissions, Chatbot guardrails, and AWS Support API access all need to align, otherwise notifications may arrive without actionable commands or, worse, expose capabilities more broadly than intended. Public-channel-only support also affects how teams segment incidents and who can observe support activity.

For enterprises running multiple accounts or managed services, the bigger implication is standardization. If the same channel receives support updates from several AWS accounts, custom actions can become a scalable pattern for acknowledgements, follow-up notes, and case triage. The trade-off is governance: shared channels reduce friction, but they require stricter naming, routing, and access conventions to keep incident handling understandable and auditable.


ChatOps is a collaborative approach to operations that integrates chat platforms with automation tools and processes. Itโ€™s a way to bring together people, tools, and processes in a single chat interface to facilitate communication, collaboration, and execution of tasks within a team or organization. It is critical for an Operations team to act quickly and efficiently to address issues, minimize outages, and improve incident response. One of the key tasks for an Operations team is to interact withย AWS Supportย portal to obtain help from AWS support experts. To streamline operations as part of ChatOps practice, you can useย AWS Chatbotย to get updates from AWS Support directly in your Microsoft Teams (Teams) or Slack channels. AWS Chatbot enables DevOps teams to operationalize their operations workflows (i.e. monitor and operate AWS applications) in chat channels such as Amazon Chime chat rooms, Teams or Slack, to significantly enhance teamโ€™s productivity. In this post, you will learn how to set up notifications from AWS Support via your Microsoft Teams room:
  • Receive notifications on a new AWS Support case creation
  • Receive notifications on an update to an AWS Support case
  • Get support case status and latest updates
  • Add a note into the Support case
The diagram below shows how AWS Chatbot allows users to receive notifications, run commands, and interact with AWS Support or AWS services directly from their preferred chat environment. Diagram shows how AWS Chatbot allows users to receive notifications, run commands, and interact with AWS Support or AWS Services directly from their preferred chat environment Fig-1: Two-way communication between chat application and AWS services through AWS Chatbot.

Prerequisites

To get started, you need to configure AWS Chatbot with your Microsoft Teams app and appropriate administration level permissions is required.
  • Ensure Microsoft Teams is installed and approved by your organization administrator
  • Verify that your Microsoft Teams administrator has approved the AWS Chatbot app for Microsoft Teams, and you have required IAM privileges in the AWS console.
  • You have aย Business, Enterprise On-Ramp, or Enterprise Supportย plan to be able to use the AWS Support API. Referย AWS Supportย for more information.

Getting started

Follow steps inย Get started with Microsoft Teamsย tutorial to setup basic connectivity between Teams and AWS Chatbot. You need to consider following notes during the process: Notes:
  • Steps listed under โ€œStep 1: Configure a Microsoft Teams clientโ€ are to be followed in your Teams channel. Ensure that the Teams channel is of typeย Public. Teams doesnโ€™t currently support AWS Chatbot in private channels.
  • Steps listed under โ€œStep 2: Configure a Microsoft Teams channelโ€ are to be followed in your AWS console.
    • You must set up โ€œAmazon Simple Notification Serviceย (Amazon SNS) topicโ€ for notifications in your Teams channel to receive notification of new AWS Support cases. Create a new SNS Topic (of Type:Standard) without subscription and this step will automatically add a Chatbot subscription into the given SNS Topic.ย Noteย that since AWS Support service is currently available in US East (N. Virginia), US West (Oregon), and Europe (Ireland) regions, so you must setup your SNS topic in one of these regions.
    • Forย Channel role, ensure at least โ€œAWS Support command permissionโ€ and โ€œRead-only command permissionsโ€ are added into your Chatbot role if creating a new IAM role.
    • Forย Channel guardrail policies, ensure at least โ€œSupportUserโ€ and โ€œReadOnlyAccessโ€ are added.
  • Steps listed under โ€œStep 3: Test notifications from AWS services to Microsoft Teamsโ€ are to be followed in your AWS console, and verify the test message (refer Fig 2 below) in your Teams channel.
  • Do not proceed furtherย until you have received the โ€˜test messageโ€˜ in your Teams channel. This is an important step to ensure the setup is working as expected. Refer toย this pageย to troubleshoot further.
Sample test message: A sample default Chatbot message or notification showing successful integration. Fig-2: A sample default Chatbot message or notification showing successful integration.

Setup Teams notifications on new AWS Support case creation or updates

Amazon EventBridgeย is a serverless services that make easier for you to receive, filter, transform, route, and deliver AWS service events in your AWS cloud. You will use EventBridge to transform the AWS Support events into a Chatbot-compatible format, and route them to the Amazon SNS. SNS will then forward the notification to the Chatbot, which will ultimately send the notification to your Microsoft Teams channel. The diagram below illustrates the complete workflow. Diagram provides a complete workflow of an event originating from AWS Support, flowing and transforming through Amazon EventBridge, Amazon SNS, and AWS Chatbot service before ending up in the Microsoft Teams room. Fig-3: An event journey from AWS Support to a transformed message in Microsoft Teams.

Create an Amazon EventBridge rule for AWS Support cases

Note that AWS Support service is currently available in US East (N. Virginia), US West (Oregon), and Europe (Ireland) regions, so you must setup the EventBridge rule & SNS topic in one of these regions to receive Support events. Region US East is used in this post. Follow theย Creating an EventBridge rule for AWS Support casesย guide to setup an event rule for events emitted by AWS Support service (Ref: Step-3, Fig-3). Consider following during the process:
  • Underย Event pattern, forย AWS service, chooseย Support, forย Event type, chooseย Support Case Update. It should look like below:
{   
    "source": ["aws.support"], 
    "detail-type": ["Support Case Update"]  
}
JSON
  • Forย Target, use theย SNS topicย that you created as part of the pre-requisites. It has integration with AWS Chatbot endpoint.

Setup EventBridge transformation

You will need to transform the event to suit AWS Chatbot formatting (Ref: Step-4, Fig-3). Use parameters and transformation rules provided below. You can refer AWS Chatbotโ€™sย Custom notificationsย section to learn further about custom notification event schema. To create a target input transformer as part of a rule:
  1. Expand Additional settings, and Configure target input, select Input transformer
  2. Click on Configure Input transformer button to setup the transformation in a new window
  3. For the Sample event, use Support Case Update (keep copy for later reference)
  4. Under Target input transformer use:
    • {
        "account": "$.account",
        "case-id": "$.detail.display-id",
        "case-event": "$.detail.event-name"
      }
      JSON
  5. Under Template use below template:
    • {
          "version": "1.0",
          "source": "custom",
          "id": "c-wvermaf",
          "content": {
            "textType": "client-markdown",
            "title": ":warning: AWS support case <case-id> updated",
            "description": "AWS Support case <case-id> is in **<case-event>** state, in **<account>** account",
            "nextSteps": [
              "Check out case details here:  <https://console.aws.amazon.com/support/home#/case/?displayId=<case-id>|<case-id>> and take the appropriate action."
            ]
          },
          "metadata": {
            "caseId": "<case-id>"
          }
      }
      
      JSON
  6. Click onย Generate outputย to see your final transformed event message. If all looks good, clickย Confirmย to close the window. Clickย Nextย to setup Tags and clickย Create ruleย to create the rule. You can change the Input transformation later as needed.

Test complete workflow

You can now test the end-to-end workflow by creating or updating an AWS Support case, and following message should appear in your Teams channel (Ref: Fig-3). Snapshot showing custom message / notification received upon an update to AWS Support case. Fig-4: Custom message (notification) received upon an update to AWS Support case.

Responding to AWS Support cases within Teams channel

AWS Chatbot allows you toย run AWS commandsย directly from your chat channels. It also enables you to useย custom actions, which can be used to set up preconfigured action buttons that can be automatically added to your future similar / custom notification. These actions allow you to automate commonly used DevOps processes and incident response tasks. Using custom action, you can configure an action button to run either an AWS Command Line Interface (AWS CLI) or a Lambda function. In this case, we will use AWS CLI commands to interact with AWS Support cases via these custom actions.

Creating a custom action

To create an AWS CLI command action
  1. Choose the vertical ellipsis (3 dots) button on the bottom of the above. Support Case notification in your Teams channel (Ref: Fig-4). It should open a workflow in new window.
  2. Inย Manage actions, chooseย Create.
  3. Enter a custom action name, sayย GetSupportCaseDetails.
  4. Enter a name for your custom action button, sayย GetCaseDetails. This name is shown on a button on your notification.
  5. Forย Custom action type, chooseย CLI action.
  6. Enter below command
    • support describe-cases โ€“display-id $caseId โ€“max-results 100 โ€“query Cases[0].[Status, Subject, RecentCommunications.Communications[0].Body] โ€“region us-east-1ย Note: Chatbot exposes predefined variables from your custom notifications to be used as variables for these custom actions. If you noticed in the previous section (Step-5 of Setup EventBridge transformation), we added โ€œmetadataโ€œ: โ€œcaseIdโ€ in the event transformation template. Letโ€™s make use of it, so that same button/action can be used for all AWS Support case notifications and the Case ID is automatically substituted via this variable.
  7. Add our new variable by choosing + Add more variables.
    • Variable name:ย caseId
    • Name expression:ย event.metadata.caseId
  8. ย Chooseย Next.
  9. Verifyย Display criteriaย i.e. the conditions that must be met to display this custom action button on a specific notification. In this case they are:
    • NotificationTypeย equalsย Custom.
    • caseIdย has any value
  10. Chooseย Save. Wait until you get the message โ€œSuccessfully createdย GetSupportCaseDetailsโ€.
  11. You should get a message like below:
Snapshot showing "GetCaseDetails" button has been created Fig-5: Snapshot showing a custom action button has been created.

Test Scenarios

  • Letโ€™s test the end-to-end flow by updating an AWS Support case. Following message should soon appear in your Teams channel. Notice the newย GetCaseDetailsย custom action button now appearing with the latest chat message. The Chatbot is intelligent enough to recognize that the custom action button belongs to these types of messages, and it automatically applies the button.
Snapshot showing auto. availability of the "GetCaseDetails" button for custom chat massage. Fig-6: Snapshot showing presence of the custom action button in a custom chat massage.
  • Test the button action to fetch the case update in your Teams channel. Notice it should autofill the required variable i.e.ย CaseIdย in this case. Chooseย Runย to fetch the case Status, Title and latest note.
Snapshot showing execution of the "GetCaseDetails" button Fig-7: Snapshot showing execution of the custom action button.
  • You will receive a response with the latest case details, as per the defined CLI action. Example response below:
Snapshot showing response from AWS CLI command ran as part of the "GetCaseDetails" button Fig-8: Snapshot showing output post execution of the custom action button.

What next?

Well, you can use the above information to effectively manage common Support case management tasks per your business needs. For example, if your AWS account is being managed byย AWS Managed Servicesย (AMS), their proactive monitoring will identify an issue, create an AWS Support case, and simultaneously request your approval before remediating a non-preapproved issue. To boost productivity, you can create custom action buttons, such as โ€˜Approvedโ€™ or โ€˜Need More Infoโ€™, within your Teams channel. These buttons allow you to add instructions directly into a Support case, enabling seamless communication with the AMS operations team. You can also use AWS Chatbot to manage your Support case management workflows for your multi-account cross-region applications in chat channels. For example, you can set up AWS Chatbot in multiple AWS accounts to send AWS Support notifications into the same Teams channel. All your custom action buttons setup in that channel will be automatically applied across related notifications from all AWS accounts. Depending on your ChatOps practices, you can choose to set up separate Microsoft Teams channels based on criteria such as AWS account, application, or environment (production/non-production). In addition, you can directly interact withย Amazon Q Developerย in Microsoft Teams and Slack messaging platforms that are configured with AWS Chatbot, to answer questions about AWS best practices, troubleshooting issues, or identifying next steps.

Resources

Conclusion

In this blog, you learned how to use AWS Chatbot features, such asย Custom notificationsย andย Custom actionsย for Microsoft Teams, to enhance your ChatOps experience. Additionally, you gained insights on performing common AWS Support management tasks directly within the Microsoft Teams channel, such as receiving case notifications and making updates to cases, significantly enhancing your teamโ€™s productivity.

About the authors:

Nitin Verma

Nitin is Principal Solutions Architect that specializes in cloud operations andย AWS Managed Servicesย (AMS), helping customers achieve operational excellence in the AWS cloud. He has more than a decade of experience related to cloud Migration, Modernization, and DevSecOps. Speak to your AWS representative to learn more about AMS. You can follow Nitin onย LinkedIn

Abhijit Barde

Abhijit is the Principal Product Manager forย AWS Chatbot, where he focuses on making it easy for all AWS users to discover, monitor, and interact with AWS resources using conversational interfaces.
https://aws.amazon.com/blogs/mt/streamline-aws-support-with-aws-chatbot-and-microsoft-teams/

Enjoyed this article? Sign up for our newsletter to receive regular insights and stay connected.