I bet it was all done by the local agents...by the time tempe decided what to do...well...u get it
I can tell you first hand, from the East, there was a member of Consumer Affairs management on-call for this sort of thing, and other major passenger-related problems, 24/7/365. There was also a paper trail to keep track of disabled customers. Agents didn't like it, but we knew who touched the pax and where and how things got screwed up.
By the time this plane landed in SJU, we'd have known who-did-what and when, had a plan to get her home, had a hotel in SJU arranged, had a personal care attendant on standby in case she couldn't take care of herself overnight, had the person in charge in TPA personally meet with the party who was supposed to pick her up to assure them we were on top of things, and then the person in charge at SJU would personally meet the flight to help the customer, apologize for the mistake, reassure her we were going to take care of her, hand her new tickets and boarding passes for the next flight(s) and escort her to her hotel.
Written reports on the situation would already be in the midst of preparation.
A telephone call to the customer would be placed from Consumer Affairs the next day once she got home to address any immediate concerns, answer any questions, or to just let her vent.
And a formal, written apology with a full explanation for the mistake based on the results of those written reports and the account of the customer (even if it was to say it was her mistake and that she should look where she is going next time) would be sent within ten calendar days.
Many are surprised to learn that we weren't shy about (tactfully) letting someone know when they were in the wrong.