Slack webhook receiving excessive events from any user, causing cloud limit to be exceeded

Describe the issue/error/question

I am using a webhook to listen to events on Slack. Whenever I save a message, an action is triggered (a reaction is added, or a message is sent). However, the problem is that Slack is spamming the webhook with these actions, and any user on Slack can trigger them. As a result, this is quickly using up my cloud limit. Can you please advise on how to address this issue?

Slack event page: Screenshot ciV3sO4s20230308 5816 · CleanShot Cloud

Please share the workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: Running version [email protected]
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: n8n.cloud

Hey @Andrej_Kostal,

Welcome to the community :cake:

This is a bit of a tricky one, We are only going to process the events we are being sent from Slack and we don’t have any way to control what it is sending. Looking at your setting Slack should only be sending events for the users that have added the app although if the integration is added to a channel it might be doing a bit more. It might be worth reaching out to Slack to find out how you can restrict what they are sending.

Hi Jon,

Thank you for your response. I’ve noticed that most of the events being sent by Slack are of the “user_change” type. After reviewing the documentation, I realized that I don’t actually need these events. Hopefully, this should resolve the issue to a large extent.

Once again, thank you for your assistance.

2 Likes

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