n8n has a ready-made node for most office jobs. Then there's the leftover: a total nobody planned for, a format that's slightly off, a rule with too many exceptions. That's what the Code node is for. The example here is a made-up staffing agency. Every Friday someone builds a pivot table to total each client's hours before invoicing. One Code node does it: total the hours per client and work out the invoice amount at $42 an hour. Then the same job in Python, so you can see what changes.
Robert Breen
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Robert
Contact Robert, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack