Suggestions on creating an automation that allows me to schedule UPS pickups

Hello, I have an automation that I would like to create but I’m not very skilled at creating these so I thought I would ask for help from you brilliant folks.

So I often ship packages and use the “schedule a pickup” feature on UPS.com… it’s not an enormous amount of work but because I do it so often it can get tedious, and sometimes I forget…

Here are the steps I take:

  1. Open Chrome and go to UPS.com
  2. Click login
  3. Enter my credentials (which are saved w/ 1Password)
  4. Click “Schedule a Pickup”
  5. Scroll down and click submit

DONE

Thoughts? Is this possible?

I’d like to create a task in Fantastical such as “UPS pick up” and then that will trigger the automation… Is this something that’s possible?

This definitely possible!

The 2 ways I know of doing this are Keyboard Maestro or Python (or JavaScript)

Both of these will require you to get familiar with HTML.

Here’s a quick example using Keyboard Maestro. It’s likely you’ll have to play around with some things to get it working for you.

https://www.icloud.com/iclouddrive/0Df3kJVzjjwYAO6-ItlBoO2Vw#Sample_Chrome

For having it run on a Calendar task, I don’t have Fantastical, but in Calendar.app,

There is the option an alert to open/run a file.

If you create a file with the contents

#!/bin/bash

 osascript -e 'tell application "Keyboard Maestro Engine" to do script "Sample Chrome"'

It will run the above macro.