The code validity in Guesty Locks Manager is created/updated for all reservations with an ETD date and time in the future. This allows for codes to be created for last minute reservations, or updated in the case of a mid-stay reservation change.
Important:
For automated messages, schedule at least 20 minutes after reservation confirmation to allow time for the variable to populate. Learn more about how messages are sent for last minute bookings here.