Integration

JavaScript

Calculations and field formatting in the Code node, before the CRM.

Overview

JavaScript here means the Code node inside n8n, not an image SDK. The node can total an amount, build a full name, drop extra rows, and format a date the way the CRM expects.

Where it helps

  • The standard n8n blocks do not know the rule you use for a discount or a priority.
  • Data from two sources becomes one object before it is saved.
  • A bad field does not pass through quietly: the workflow stops and sends an alert.

Describe the rule in plain language. The code stays in your workflow, so it can be read without a separate repository.