Split full names, clean addresses, dedupe keys

Any string surgery HubSpot operators cannot do: regex, lookups, multi-step logic.

The challenge

Form submissions arrive as a single name field, addresses come in whatever shape the visitor typed, and HubSpot's operators cannot express the rules needed to tidy them reliably.

How AuPerate solves it

Run Custom Code handles the awkward cases properly, such as titles and surname particles, and the library ships a tested snippet you can clone rather than writing it yourself.

How to build it
  1. 1Clone the name splitting snippet, which already handles titles and particles such as van and de.
  2. 2Add Run Custom Code, pass the raw value as Input 1, and enrol on create or on property change.
  3. 3Copy Output 1 and Output 2 into your first and last name properties.
  4. 4Extend the snippet for addresses or dedupe keys; it is yours to edit once cloned.
What the action gives you
  • Saved, versioned snippets or inline code
  • Encrypted secrets injected as secrets.KEY
  • axios, lodash, dayjs, crypto and form-data available
  • Console output captured for debugging

Build this in your own workflows

Install AuPerate once and every action appears in your HubSpot workflow editor.

Get Started