Skip to content

Chat Webhook Triggers Workflow Without User Prompt #29475

@yuvalnav

Description

@yuvalnav

Describe the problem/error/question

I’m using an n8n Chat Webhook embedded in another website.
Every day, the workflow connected to this chat webhook is triggered at least 4–5 times without any actual prompt being submitted by a user.

What is the error message (if any)?

Because the prompt is empty, the workflow fails. The ChatInput variable does not exist, but the execution still continues to the next node in the workflow.
I could add an IF node to handle empty input, but I want to prevent these unnecessary executions from happening in the first place, since they consume executions and may increase costs.

Please share your workflow/screenshots/recording

Image
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
⚠️ WARNING ⚠️ If you have sensitive data in your workflow (like API keys), please remove it before sharing.

Share the output returned by the last node

Image

expected that if no prompt enters the chat won't be triggered at all

Debug info

core

  • n8nVersion: 2.17.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.14.1
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 20
  • license: enterprise (sandbox)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 720 hours
  • maxCount: 25000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/144.0.0.0 safari/537.36 edg/144.0.0.0
  • isTouchDevice: false

Generated at: 2026-04-29T10:25:38.283Z

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions