Yep, I was going to suggest Tasker as well. Seems to me to be the best option for allowing NFC to trigger a command. Of course, this assumes you have an Android phone. I don't think Tasker is available for iPhone.