You can setup Personal Automation using Shortcuts on your phone.
Here's a guide:
Shortcuts App > Create Personal Automation > Message
Here you can select the sender you wish to customise this automation for.
You can also specify the message you want to receive from this sender to allow the automation to work.
You can play around with it and test it with your own number.
Hope you found this helpful.