Note: This post was created by Claude AI in Cursor, which has been guiding me through the whole process.
What I’m trying to do:
- Set up Slack integration with n8n using Events API
- Get the URL verification working in Slack’s Event Subscriptions page
What I’ve tried so far:
- Set up ngrok tunnel (working - can access n8n through it)
- Configured Slack app with necessary permissions
- Added Bot User OAuth Token to n8n
- Tried both webhook URLs:
- /webhook-test/…
- /webhook/…
- Attempted URL verification multiple times
The core issue:
When Slack tries to verify the URL, it sends something like this:
{
"token": "Jhj5dZrVaK7ZwHHjRyZWjbDl",
"challenge": "3eZbrw1aBm2rZgRNFdxV2595E9CY3gmdALWMmHkvFXO7tYXAYM8P",
"type": "url_verification"
}
My workflow:
My current setup:
- Running n8n in Docker
- Using ngrok for tunneling
- Windows 10 operating system
My frustration:
I’ve been working on this for hours with Claude AI in Cursor, trying different approaches, but we keep hitting the same wall with the URL verification. I’m at a point where I’m not even sure if I understand what I’m doing wrong or if I’m missing something fundamental about how n8n handles Slack’s verification process.
Can someone please help me understand:
- Is there something fundamental I’m missing about how n8n handles Slack verification?
- What’s the correct way to handle the challenge parameter?
- Am I even on the right track with my approach?
I’m really stuck and would appreciate any guidance!