As part of a marketing campaign, HOPS invited potential candidates to engage in a text message dialogue to determine their eligibility for a government-endorsed training scheme. I developed a system to send messages and process replies according to a predefined script, ensuring it could handle accidental and intentional misuse. PostgreSQL was chosen for the database, and was accessed via PHP’s PDO extension.