How can I create custom workflows for cash on delivery orders?

Hi! A complete newcomer to the Shopify development ecosystem here :sweat_smile:

I’m trying to build custom handling for the Cash on Delivery method. Here, any order paid for in cash should trigger a custom workflow (which makes a bunch of API calls internally, etc)

So far, I’ve looked at the following options, but to no avail:

  1. Shopify extensions to customize the cart/POS.
  2. Payment specific apps (these require a lot of prior verification)

I do know that something like this is possible, as can be seen from the following apps:

  1. https://apps.shopify.com/cod-order-confirmation-1
  2. https://apps.shopify.com/cod-order-confirmation
  3. https://apps.shopify.com/cash-on-delivery-cod-order-confirmation
  4. https://apps.shopify.com/cod-order-verification
  5. https://apps.shopify.com/codbot-cod-sms-verification

Could someone with more experience shed some light on where I’m going wrong here?

Cheers!