Summary
Highlights
The video begins by explaining how to use the Sock Puppet app to fetch the current security wait time for San Francisco airport. The user searches for 'SFO airport security wait time' and selects a suitable website. A new Sock Puppet is created with a descriptive name, 'SFO weight time', and the webpage address is saved.
The tutorial then focuses on selecting the correct element on the webpage to extract the wait time. Initially, the direct '19 minutes' element is considered, but a more comprehensive text element containing 'Current security weight time at SFO' is chosen. The class of this element is used for extraction, and a variable named 'wait time' is assigned to the extracted text. The AI prompt is configured to ask 'What is the current wait time at SFO?' to refine the output.
The initial attempt with the AI prompt and element selection shows some issues. The video demonstrates the importance of testing the extraction without AI first to ensure the correct value is being retrieved. After adjusting the selected element and the AI prompt to 'give a very short answer', the output successfully displays '19 minutes', which is the desired result.
The next step involves creating an Apple Shortcut to utilize the Sock Puppet. A new shortcut named 'SFO wait time' is created, and the 'Execute and return value' action for the Sock Puppet is added. An airport icon and yellow color are chosen for the shortcut's appearance. A 'Show Notification' action is added to display the returned wait time.
The notification message is customized to read 'The current wait time is 19 minutes'. Finally, an automation is set up to trigger this shortcut automatically. The automation is configured to run when the user arrives at San Francisco International Airport, ensuring an immediate notification of the wait time upon arrival within a defined geographical area.
The video concludes by recapping that while selecting the correct web element can be tricky, testing without AI is crucial. It highlights that Sock Puppets can run automatically without needing to open the app, providing a seamless experience for getting airport wait time updates.