It's every bridesmaid's worst nightmare: A dress left hundreds of miles away and a fast-approaching wedding.

Luckily, Southwest Airlines came to the rescue for a bridesmaid who left her dress in Houston after heading to a Saturday wedding in Costa Rica. A friend tweeted Southwest Airlines to see if they could deliver the dress on an upcoming flight.

"Yesterday evening, I got a call from my friend, in a panic, saying that she had left her bridesmaid dress in Cypress at the alterations place," the bridesmaid's friend Rachel Turner told Houston's ABC13. "I asked about overnight shipping to Costa Rica, and they told me the earliest it could get there would be Monday."

Alright, let’s do it!

— Southwest Airlines (@SouthwestAir)March 1, 2019

After Southwest stepped in, Turner dropped the dress off at William P. Hobby Airport in Houston this morning, and the dress was safely packed in a duffel and put on a plane en route to Costa Rica.

UPDATE: The dress has arrived at Houston Hobby!

(Shout out to the bridesmaid’s friend Rachel, who dropped it off at the airport this morning. We all need a friend like Rachel.)

— Southwest Airlines (@SouthwestAir)March 1, 2019

Southwest generously kept us all updated via Twitter and let us track the dress's journey using its flight tracker. Even the Southwest dispatchers got in on the #RescueTheDress operation.

Touching down soon... Our Dispatchers added a special tag to this flight in their system.#RescueTheDress

— Southwest Airlines (@SouthwestAir)March 1, 2019

It was a happy ending for all. The dress was reunited with its bridesmaid soon after it landed in Liberia, Costa Rica around 2 p.m. Can you hear the sigh of relief from that wedding party?

Ladies and gentlemen, it has arrived.

Operation#RescueTheDress: COMPLETE!

— Southwest Airlines (@SouthwestAir)March 1, 2019

Lessons learned: If you forget an extremely important article of clothing, an airline might help out if you tweet at them. And your forgetfulness might go viral.