What I’ve been doing lately for clients is automating their workflows.
ChatGPT released Operator and it is a game changer, but it requires another AI to control it to be useful, more on that soon.
Using Operator made me realize that I could automate away a lot of menial tasks that my clients have.
An example is adding alt descriptions to images on a WordPress site.
I wrote a script that takes all the images in a WordPress post and adds the alt descriptions to them.
It does the following:
- It uses playwright and navigates to the media library
- Then it clicks on edit on the first image
- Uploads it to Gemini
- Gemini generates the alt description
- Playwright inserts that alt description into the alt text field
- It clicks on update
- And then moves onto the next image