How do I use on_sms_resive esphome trigger

Hi Im trying to use esp32 to check hot spring water’s temperature
I wnat to use the on_sms_received trigger.
the prosses should be something like this:
sending a sms throw my pgone ====> the esp gets the sms threw sim800l modem ===> the esp sending back a messege

There are very full examples here Sim800L Component — ESPHome

What exactly are you having problems with?