IT Blaster to Zigbee

Is it possible to use IR codes, receive them with an IR Blaster and use them to start an automation?
I have an MOES IR Blaster I can learn the IR codes, I can send the IR code. But I want to use it as a trigger for an automation. How?

I’ve never used the Moes devices specifically, but most low-cost IR blasters do not have an open “receive” mode so they have very limited utility as sources of triggers.

What are you using ? ZHA or Zigbee2MQTT ?

I tried both