Failure to set up Slack Trigger Note

Describe the problem/error/question

I am not able to properly set up the slack connection to my WIP workflow. I’ve set up and installed the app and have given all required bot token scopes.

There are, however, several issues I am facing. I have set up a Slack API and the OAuth2 API. However, in setup, I wasn’t able to connect the Client ID of the app to the OAuth API. That option just never came up.

I was trying to set a simple workflow up that would trigger on bot mention in a specific channel and then send a response to said channel. Here is where the problems started. The “send message” node seems to be working find when manually triggered, but the trigger node is not firing, even with listen mode activated. I have even set up and verified the request URL within the app in slack, but I still see no results.

In addition, I get error code 429 when trying to select channels to listen to in the trigger node and have to select the Slack channel manually by typing in the channel ID.

I’ve tried deleting and setting up the credentials several times now, but to no success. I assume the problem lies within the web hook, but I can’t seem to make any progress.

What is the error message (if any)?

429 - Too many requests

Please share your workflow

({
  "nodes": [
    {
      "parameters": {
        "trigger": [
          "app_mention"
        ],
        "watchWorkspace": true,
        "options": {}
      },
      "type": "n8n-nodes-base.slackTrigger",
      "typeVersion": 1,
      "position": [
        112,
        208
      ],
      "id": "06087448-4915-40c2-9430-596562380057",
      "name": "Slack Trigger",
      "webhookId": "4acb8b86-a537-4e1c-b303-c7b937eae42b",
      "executeOnce": false,
      "retryOnFail": false,
      "credentials": {
        "slackApi": {
          "id": "7P3UfbkCgjZkRShP",
          "name": "Slack API"
        }
      }
    },
    {
      "parameters": {
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "=C09BBN1TWUE",
          "mode": "id"
        },
        "text": "Ja, das war rot gute Frau",
        "otherOptions": {
          "includeLinkToWorkflow": false,
          "link_names": false,
          "unfurl_links": false
        }
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.3,
      "position": [
        416,
        0
      ],
      "id": "6bc1b101-4457-46aa-8add-19a4e7e28639",
      "name": "Send a message",
      "webhookId": "e161f610-61a3-4693-bb14-516a88d9e8b0",
      "credentials": {
        "slackApi": {
          "id": "7P3UfbkCgjZkRShP",
          "name": "Slack API"
        }
      }
    }
  ],
  "connections": {
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        []
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "e5e8c5c44203213749e682b4c21edc276ce507e74a3e2240f7c8c2a440a8682c"
  }
}

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: MacOS

Hi @theo_sh, welcome to community.

For your case, it seems your Slack API is reaching the limits, you can read the API Request limitation here for more information.

All I am trying to do is fire the trigger once the bot gets mentioned. I do not see this simple execution exceeding the limitations listed, or what am I missing?

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