Skip to content

How to run multiple instances of a single slack app with different event subscriptions and receive all events? #1263

@Mogadampalli-Jayanth

Description

@Mogadampalli-Jayanth

I want to use a single slack app for multiple purposes in Socket mode by running two instances.
and, I have created two App level tokens in slack settings which will be used for each instance.

Now, I have app.message() listener only in one instance.
Other instance is not registered to message listener and it only retrives msg using conversation.history api.

Now when I run two instances at a time and if I post a message in slack channel then only instance which has message listener event should receive the event generally.
But the instance which has message listener is not receiving all message events.

Can you please explain the reason for this case?
Also please tell whether two instances with different event subscriptions using different app tokens in socket mode can work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionM-T: User needs support to use the project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions