Would Automation Hat Mini - sense doorbell press?

Hi, I have a conventional old doorbell - which comprises a 12v transformer in the loft, a mechanical chimebox in the hallway and of course the door bell button.

All I’d like, is for the Raspberry PI to sense whenever someone rings the bell.

As a newbie to the world of Raspberry PI, I’d just like a bit of advice and ask if the Automation Hat Mini could be used for this?

I’d use an input on the Hat - would I use an output on the Hat to link back into the doorbell circuit?

doorbell