How to Execute Action if Door Opened with Specific Code

Any chance you have an idea on how to have a yale lock do something in particular when a specific unlock code is entered? I’ve tried lockcodes but not sure what to enter into the “input string value” section.
These are the values under attributes:
lockCodes 3/28/2020, 5:56:17 PM {“1”:“Code 1”,“2”:“Code 2”,“3”:“Code 3”,“4”:“Code 4”,“5”:“Code 5”,“6”:“Code 6”,“7”:“Code 7”}