Hello Roland, I understand a little and I'll try to help you, then tell me if it worked
To integrate your three projects with separate domains into a single workspace while keeping messages separate, you can:
Use the same Intercom app_id for all three domains.
Implement multiple brand styles for each domain:
• Go to Settings > Channels > Messenger > Web > Styles
• Add new brands and specify the URLs for each domain
In your Next.js app, update the Intercom settings for each domain:
• Include the Intercom script in your app's head element
• Set the correct app_id and update user data on each page load:
window.Intercom('update', {
app_id: 'YOUR_APP_ID',
website: 'current_[domain.com](https://domain.com)', // Set this dynamically
// Other user data
});
This setup will keep your data in one workspace while maintaining separate branding and message isolation for each domain.
Hope this helps :)