You should be able to use webhooks for this. A Shopify order creation webhook (https://help.shopify.com/en/manual/orders/notifications/webhooks) can fire off an event to WooCommerce. I don't use WordPress in production, but I believe there's a WordPress plug-in that allows the platform to receive an inbound webhook event and handle it (https://wordpress.org/plugins/wp-webhooks/). How it's handled would be up to you. You could evaluate the order line items and conditionally process them based on the product. At least this is a start!