Can I trigger a task from my online store?
You can! While Shopify's online store doesn't allow you to call Mechanic from Liquid itself, you can use JavaScript to remotely create a Mechanic event from the client side, using Mechanic's webhook system.
To learn more, start here: An introduction to webhooks.