Outgoing webhook not firing from replies

I’ve developed a webhook to reply whenever someone writes a message containing a given text in a particular channel.

It works fine when the message is posted directly to the channel, but I’d also like it to respond when that text is on a reply to a message.

However, my webhook doesn’t even get called for replies.

Is there a way to make it work?