generated from slack-samples/bolt-js-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Description
I’m building a Slack Assistant app and using the new usermessage event structure. As per Slack’s guidelines, I listen a usermessage event and set "status": "thinking" to indicate the app is processing the user's message.
However, I’ve noticed that the “App is thinking...” spinner doesn’t consistently show up in the Slack client. Sometimes it works and other times there’s no visible indicator.
Here’s what I’m doing:
- In the userMessage event I'm immediately setting the status as "thinking"
- My business logic is a streaming http call to an LLM usually takes 10~15 seconds
- When the message is being processed I regularly update the status every 5 seconds "App is thinking", "App is searching..." etc.
- Despite this, the spinner often fails to appear in the Slack client, making the app seem unresponsive.
Has anyone else run into this?
Is there any guidance on how Slack decides whether to show the thinking spinner or how long it waits before timing out?
Any insight into this would be appreciated — especially workarounds or best practices to ensure a better UX.
Thanks!
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested