Run Code (Code Lab Snippet)
“Run a saved Code Lab snippet against item data and write the result back”
Pair any saved Code Lab snippet with an automation. The trigger fires, your JavaScript runs in a safe sandbox with up to 3 inputs from item columns, and up to 3 outputs land back on the board. Replaces a whole stack of micro-purpose automations with one block.
Demo
Use Cases
Slugify a project name for URLs / filenames when an item is created
Calculate business days between two date columns and write to a number column
Validate and normalise a UK phone number to E.164 before pushing it to a CRM column
Parse JSON from a webhook column and extract the field you actually need
Generate a human-readable ticket ID like TKT-260428-XK7QF when status changes to 'New'
Real-World Example
Your sales board imports leads from a webhook into a JSON text column. Native automations can't parse JSON. Instead of stitching together five Make.com steps, you write a 3-line snippet in Code Lab — `JSON.parse(input1).order.total` — save it, and pair it with the Run Code action. When a new lead lands, the trigger fires, the snippet runs, and the order total appears in a number column. Total infrastructure required: zero.
Ready to use this recipe?
Get Community Cookbook from the monday.com marketplace and unlock every custom trigger and action. Always $10/month — the recipe list keeps growing but the price never goes up.