I'm developing an app specifically to integrate with message platforms like Slack, but there is also a web app. The whole stack is within AWS leverage a serverless model, so each customer will have a fully siloed architecture, outside of the slack component which has to have a shared API to integrate with Slack per their app requirements.
So far the best way I've come up to handle it is a DynamoDB user table with all the slack IDs tied in to a cognito_id/email, and any event that comes in from Slack gets enriched then passed to a specific customers lambda function, but I see a relatively long list of headaches in maintenance there.
How have people handled this?