Company
Date Published
Author
Scott Sturdivant
Word count
1711
Language
English
Hacker News points
None

Summary

The author's wife was recently unemployed and needed help with calling the unemployment office. The author tried to call the office multiple times, but was met with busy signals due to the high volume of calls. To automate this process, the author used Twilio Studio and Python to create a flow that would retry the call until it connected. The author created a flow in Twilio Studio, which included a trigger that launched an outgoing call to the unemployment office's phone number, a make outgoing call widget that attempted to connect to the target number, and a run function that waited for 5 seconds before trying again if the call failed. Once the flow was complete, the author used the Twilio Python Helper Library to launch the flow into action by passing in the necessary parameters and credentials. The flow successfully connected the author's phone to the unemployment office's phone number after multiple attempts, allowing him to assist his wife during a difficult time.