Need help in Response Time and Duplicate Response Issue in Node.js Slack AI Chatbot
I need assistance with my Slack AI chatbot, built on a Node.js Vercel function. The bot is experiencing an issue related to Slack event subscriptions. Specifically, the bot needs to respond to events within 3 seconds, but when handling large queries, it occasionally sends two responses. This happens because if the bot doesn’t respond within 3 seconds, Slack re-triggers the event.