Liquid console
Test Mechanic Liquid code in a live scratchpad — experiment with filters, inspect event data, and debug task logic without creating a task.
The Liquid console is a scratchpad for testing Mechanic Liquid code. It's available in the footer of every page of the Mechanic app — look for it at the bottom of the screen.
Type any Liquid code and the console runs it after you edit, showing the output after a short delay. This is useful for experimenting with filters, testing snippets from a task, or inspecting data available for a specific event. Use Reset to clear your scratchpad, Documentation to open the Liquid docs, or Ask Mechanic when you want help using the console.

Inspecting event data
When viewing a specific event in the Mechanic app, the console has access to that event's data — the same variables your tasks had when they processed it. This makes it a useful debugging tool.
For example, on a shopify/orders/create event page, you could use {% log order.line_items[0] %} to inspect the contents of an order's first line item.

Last updated
Was this helpful?