A Lawyer's Guide to Dealing with Automated Processes and AI