When you need to describe something that was done just in time or at the end of a deadline, you can use different synonyms for the phrase "at the last minute." One of the most common options is "at the eleventh hour," which suggests that there was very little time left before the deadline. You could also use "in the nick of time," which emphasizes the fact that something was completed just before it was too late. Other alternatives include "at the end of the line," "at the last gasp," "at the wire," or "just in time." Whichever synonym you choose, they all convey the idea of doing something right before it's too late.