Skip to content

Code node (JavaScript)

When a mapping is the wrong tool, write the five lines. The script sees the payload, returns a value, and that value becomes the payload — inside a sandbox with a time and memory limit.

The pipeline

This is the actual graph the template creates — 3 steps.

Connects to

  • PostgreSQL
  • Email

How you know it worked

MailHog holds one message with by-country.csv attached: GB 2, US 2, TR 1.

Try this template

Stop moving data by hand.

Start free with three projects, or talk to us about running it across your organisation.