Slack assistant.threads.setStatus sometimes clears too early in n8n (using official template)

I’m following the official “Thinking UI” template (https://n8n.io/workflows/5749-create-a-slack-ai-chatbot-with-threads-and-thinking-ui-using-openrouter-and-postgres/).

The workflow sets the loading state with assistant.threads.setStatus, runs a long task, and finally posts a Slack message to clear the loading. Most of the time it works, but sometimes the loading indicator disappears immediately, even though the task is still pending. This leaves the user with no loading state visible for a few seconds, until the final reply arrives.

Has anyone else experienced this intermittent behavior when using the Slack + Thinking UI pattern in n8n? Any suggestions on how to ensure the loading stays visible until the final message is sent?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.