# Lightweight User Moderation with Slack and AWS Cognito

DevFeed: [Lightweight User Moderation with Slack and AWS Cognito](<https://devfeed.tech/articles/lightweight-user-moderation-with-slack-and-aws-cognito-35069.md>)

Original publisher: [Read original article](<https://medium.com/gumgum-tech/lightweight-user-moderation-with-slack-and-aws-cognito-7b3bd185d25d?source=rss----d4c1dee0f87b---4>)

Author: Mauricio Massaia

Published: 2025-05-20T23:39:54Z

Content type: article

Language: en

Sources: [GumGum](<https://devfeed.tech/sources/gumgum.md>)

Topics: [Slack](<https://devfeed.tech/topics/slack.md>), [Amazon Cognito](<https://devfeed.tech/topics/amazon-cognito.md>), [request management](<https://devfeed.tech/topics/request-management.md>), [Users](<https://devfeed.tech/topics/users.md>), [Web app](<https://devfeed.tech/topics/webapp.md>), [User Experience](<https://devfeed.tech/topics/user-experience.md>), [AWS Amplify](<https://devfeed.tech/topics/aws-amplify.md>)

Tags: [aws](<https://devfeed.tech/tags/aws.md>), [aws-cognito](<https://devfeed.tech/tags/aws-cognito.md>), [creative-studio](<https://devfeed.tech/tags/creative-studio.md>), [email](<https://devfeed.tech/tags/email.md>), [integration](<https://devfeed.tech/tags/integration.md>), [management](<https://devfeed.tech/tags/management.md>), [moderation](<https://devfeed.tech/tags/moderation.md>), [onboarding](<https://devfeed.tech/tags/onboarding.md>), [photoshop](<https://devfeed.tech/tags/photoshop.md>), [process](<https://devfeed.tech/tags/process.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [review](<https://devfeed.tech/tags/review.md>), [slack](<https://devfeed.tech/tags/slack.md>), [status](<https://devfeed.tech/tags/status.md>), [system](<https://devfeed.tech/tags/system.md>), [team](<https://devfeed.tech/tags/team.md>), [test](<https://devfeed.tech/tags/test.md>), [testing](<https://devfeed.tech/tags/testing.md>), [tool](<https://devfeed.tech/tags/tool.md>), [user](<https://devfeed.tech/tags/user.md>), [web-development](<https://devfeed.tech/tags/web-development.md>)

## AI overview

Creative Studio replaced email-based account reviews with a Slack moderation flow for its invite-only alpha. AWS Cognito's Pre Sign-Up Lambda checks whether an email domain is internal: internal users are automatically approved, while external users are marked pending; both are created in the user pool. A Slack app posts each registration to a private moderator channel with approval or rejection controls, and actions update Cognito and the related Slack thread. AWS SES emails users about registration outcomes. Threads record moderator actions, addressing missed email requests and unclear status, without building a full user management system.

## Source excerpt

We are building a web application to make a single and consistent way for our designers to build ad creatives with a seamless workflow from Photoshop to animated HTML, accounting for cropping, uploading, applying effects and making their lives easier. As we prepared to launch Creative Studio in a closed alpha testing phase -- where access was limited to a select group of users -- we recognized the importance of having a reliable user moderation process in place. In this invite-only environment, every new user account had to be reviewed and approved to maintain control over who could access and test the platform. In our previous tool, this moderation process was handled via email. When someone signed up, an email would be sent to a small group of administrators. These team members had to manually review each request and decide whether to approve it. This workflow quickly proved to be inefficient, especially with users signing up across different time zones. The responsible admin might miss the email, and days could pass without any feedback reaching the user. Often, frustrated users had to send follow-up emails to report the issue, which would then escalate and require IT support to resolve. Learning from that experience, we knew Creative Studio needed a more efficient and transparent system. Slack integration offered a smarter and more streamlined solution, giving us real-time visibility and control over the user onboarding process without building a full-scale user management system. User Moderation Challenges Previously, user moderation faced several critical issues due to the reliance on manual email checks: Manual Approval Process: Only a few team members had access to the moderation email. User approvals were frequently overlooked, causing significant delays. No Rejection Mechanism: There was no clear method for explicitly rejecting users, leaving many uncertain about their status. Difficulty Managing Approvals: Adjusting user statuses once set was cumbersome and