Pubsub webhook subscription for multiple shop

If more shops have my app installed, how can they receive the correct pubsub message? Is it handled by shopify?

Only one pubsub project id and topic id are used.

How are you setting up your pubsub in your app?

If I recall the flow correctly it’s:

1.) Create a topic
2.) Add the Shopify service account
3.) Add pubsub://{project}:{topic}in your shopify.app.toml

I don’t think there’s anything stopping you from adding two separate webhook.subscription blocks that point to two (or more) different topics, or even two (or more) projects. You could even mix an https handler and event bridge handler in there (I can’t imagine why though!).