"Chat message received" trigger fires on it's own?

“Chat message received” trigger fires on it’s own?

Every few days I get “an Error” from my chatbot with an empty input - why is this happening? Why does the trigger send empty inputs in random times of day (most oftenly at night)

This issue is likely caused by webhook health checks or periodic pings from the chat platform itself. Many chat services send automated “heartbeat” messages to verify the webhook is still active, which appear as empty inputs in your workflow.

To fix this, add a simple filter at the start of your workflow to check if the message content exists before proceeding:

• Add an “IF” node after your trigger

• Set condition: `{{ $json.chatInput }}` exists and is not empty

• Only continue to your AI Agent if there’s actual content

• This will prevent empty messages from triggering errors in your workflow

This should eliminate those random nighttime errors while keeping your chatbot fully functional for real messages.