Skip to content

LinkedIn and social URL cleanup and format enforcement

One of 565 written HubSpot workflow specs, by a collective of independent HubSpot consultants.

Professional

Seat pricing: Professional edition. To build it, a GTM Seat or an Ops Seat (an Ops Seat cannot create marketing emails or sequences). Per-hub plans: Data Hub Professional.

Contact5 stepsUpdated for HubSpot seat pricing
OutcomeLinkedIn profile URLs land in one clean, consistent format with tracking parameters stripped, and anything that is not a real LinkedIn profile URL gets flagged instead of silently sitting there unusable.
Workflow mapdata-quality-025
LinkedIn URL known or changed leads to Custom code: strip tracking, force https + www, check /in/ or /company/ path. Custom code: strip tracking, force https + www, check /in/ or /company/ path leads to Valid shape?. Valid shape? leads to yes: Set cleaned URL, status Valid - standardized; no: Status: Invalid - needs review, value untouched. yes no LinkedIn URL known or changed Custom code: strip tracking, force https + www, check /in/ or /company/ path Valid shape? Set cleaned URL, status Valid - standardized Status: Invalid - needs review, value untouched
LinkedIn URL known or changed leads to Custom code: strip tracking, force https + www, check /in/ or /company/ path. Custom code: strip tracking, force https + www, check /in/ or /company/ path leads to Valid shape?. Valid shape? leads to yes: Set cleaned URL, status Valid - standardized; no: Status: Invalid - needs review, value untouched. yes no LinkedIn URL known or changed Custom code: strip tracking, force https + www, check /in/ or /company/ path Valid shape? Set cleaned URL, status Valid - standardized Status: Invalid - needs review, value untouched

When to use it, when not to

Use it

  • Use it when reps or forms paste LinkedIn URLs in varied forms: with or without "https://", with or without "www.", with tracking query parameters attached, or as a mobile-app share-link format.
  • Use it to standardize the field for reliable use in mail merges, sales tools, or a "view on LinkedIn" button, so the stored value always opens correctly.
Read more on when to use itShow less

Skip it

  • Do not use it as validation that the profile is real, active, or belongs to the actual contact. It checks URL shape, not identity.
  • Do not use it on a property that also stores non-LinkedIn social links; keep LinkedIn in its own property so the pattern-matching logic only has to understand one URL shape.
Read more on when to skip itShow less

The rest of this spec

Prerequisites · 3 items

Every property with its label, internal name, type and options, plus the assets the workflow needs.

Enrollment · 4 parts

The trigger, the criteria as ticked in the UI, the re-enrollment rule and the suppression list.

Steps · 5 numbered actions

Each action in order with its parameters, branches and delays.

Known pitfalls · 4

Traps seen in production, each with what breaks and what to do instead.

Test plan and UAT script · 4 cases, 3 variants

How to prove it works in a test portal, one case per branch, and a sign-off sheet.

Files · PDF, Markdown, JSON, CSV, code

The properties JSON creates the fields in one call. The workflow JSON documents the build. The custom coded action ships as a ready-to-paste .js file.

Install · 1 click, switched off

The installer creates the properties and the workflow, switched off, then opens a task for what it cannot create. Nothing is deleted, enabled or enrolled.

Unlock all 565 specs, 149 EUR

One-time, excl. VAT. 30-day refund. Installs in 3 portals. Founding price until 30 November.

Read the free Data quality spec

Read 12 complete specs before you pay.

One per category, same format as the paid ones. Email only, no card.

We email the link, then a short note when specs change. Nothing else.

149 EUR199

Full library, 565 specs
Get the full library