Slack Interactive Buttons Error: "Invalid token" UI + “unknown webhook” in logs after workflow activation or restart

When using Slack interactive approval buttons with the Slack Send Message and Wait for Response node (or when using Webhook-waiting URLs), clicking the button from Slack often results in:

Browser/UI:

Invalid token

n8n logs:

Received request for unknown webhook:
The requested webhook "<uuid>/webhook" is not registered.

This happens even though:
:white_check_mark: Workflow is active
:white_check_mark: Slack message was generated by the same node
:white_check_mark: The webhook was registered properly before


:white_check_mark: Root Cause (Observed)

The webhook URLs used by the “Wait for response” Slack node:

/webhook-waiting/<node-uuid>

are temporary and become invalid if:

:check_mark: Workflow is briefly deactivated and reactivated
:check_mark: n8n container restarts (Kubernetes rollout)
:check_mark: n8n reloads workflows after update
:check_mark: Scaling or leader election changes webhook registration state

Slack continues sending requests to the old webhook-waiting URL embedded in the original message, which n8n no longer recognizes. so the error is thrown.

This causes broken approval flows in production.

:white_check_mark: Steps to Reproduce

:one: Create workflow with Slack “Send Message and Wait for Response”
:two: Activate and send approval message → Works :white_check_mark:
:three: Restart n8n pod (Kubernetes) or deactivate/activate workflow
:four: Click Approve/Reject on original Slack message
Invalid token + unknown webhook

:white_check_mark: Environment

  • n8n: 1.116.2

  • Deployment: Self-hosted Kubernetes

  • TLS termination via Ingress

  • Slack App: Interactivity & Shortcuts enabled

1 Like