Data preparation and quality
Normalize person names
Normalize first and last names with spacing, capitalization, preservation, and compound-name review.
Explore 60 ways to put custom code to work in HubSpot, from cleaning contact data to routing leads and synchronizing your ERP.
Each recipe explains the problem, the data it needs and the rules you can customize. 60 recipes are available to use.
Find your starting pointRoute records by configured country and segment territory rules while preserving existing owners.
Explore recipe60 recipes
Data preparation and quality
Normalize first and last names with spacing, capitalization, preservation, and compound-name review.
Data preparation and quality
Normalize company display names while retaining legal source text.
Data preparation and quality
Validate phone strings against international numbering-plan metadata, normalize to E.164 and return extensions separately.
Data preparation and quality
Map country aliases to configured ISO-like CRM values.
Data preparation and quality
Remove configured anchored boilerplate from generated names idempotently.
Data preparation and quality
Parse configured date text or timestamps into a UTC CRM date.
Data preparation and quality
Extract prioritized UTM or campaign parameters and map aliases.
Data preparation and quality
Reconcile explicit preference additions and removals with remove-wins conflicts.
Data preparation and quality
Backfill configured qualification fields while preserving existing values and rejecting invalid industries.
Assignment and routing
Route records by configured country and segment territory rules while preserving existing owners.
Assignment and routing
Stable weighted owner distribution with exclusions and duplicate protection.
Assignment and routing
Selects an available representative below capacity with deterministic tie breaking.
Dates and timing
Adds working days while honoring weekdays and holidays.
Dates and timing
Measures elapsed or weekday business time and evaluates an SLA.
Dates and timing
Adds a day or month contract period with month-end and business-day policies.
Dates and timing
Derives named dates from an event anchor and offsets.
Dates and timing
Checks touch-to-conversion elapsed time against an inclusive lookback window.
Dates and timing
Classifies a renewal or payment due date against now and a reminder window.
Commercial operations and calculations
Reconciles installment amounts against a total and prior payments at configured precision.
Commercial operations and calculations
Apply the price effective at an explicit evaluation time to a HubSpot line item, while exposing the next scheduled change and notice window.
Commercial operations and calculations
Collects a scheduled payment with Stripe PaymentIntents.
Commercial operations and calculations
Calculates revenue, cost, margin and margin percentage per line item.
Commercial operations and calculations
Converts recurring item amounts into configured target currency.
Commercial operations and calculations
Sums non-superseded signed quotes in one currency.
Commercial operations and calculations
Counts eligible products meeting a numeric threshold.
Commercial operations and calculations
Computes a weighted mean score from eligible contacts.
Commercial operations and calculations
Recalculates subscription quantity from eligible deals.
Commercial operations and calculations
Creates future renewal deals from a bounded contract schedule using a CRM-enforced unique schedule key.
Commercial operations and calculations
Selects the latest prior price for a product and currency.
CRM records and relationships
Matches a contact to a company by domain, optionally creates it, then associates it.
CRM records and relationships
Copies or replaces associations from a source record to a target.
CRM records and relationships
Links records when a configured business key has exactly one match.
CRM records and relationships
Selects an associated record and copies a chosen property.
CRM records and relationships
Unions campaign memberships from associated contacts onto a company.
CRM records and relationships
Propagates a parent property to associated children with override protection.
CRM records and relationships
Maps a source contact into an authorized destination HubSpot contact model.
CRM records and relationships
Reconciles deal line items into custom operational records.
CRM records and relationships
Allocates a formatted business identifier using a portal sequence.
CRM records and relationships
Creates a lead from one eligible source record and its single associated contact.
CRM records and relationships
Requests enrollment of eligible associated contacts in a workflow.
History and lifecycle management
Record tracked field transitions with deduplication and optional HubSpot note.
History and lifecycle management
Search contacts by a trusted key and merge only confident unprotected duplicates.
History and lifecycle management
Normalize company domains and merge confident duplicate companies.
History and lifecycle management
Track submission state so retries do not create duplicate CRM records.
History and lifecycle management
Plan and archive a record plus explicitly included dependents with protection checks.
History and lifecycle management
Complete open tasks associated with a selected CRM record.
Messaging, documents, and calendar work
Send one idempotent Twilio SMS and return provider acceptance status.
Messaging, documents, and calendar work
Create one owner-specific follow-up task associated to a source record.
Messaging, documents, and calendar work
Generate a labeled operational summary and optionally create a CRM note.
Messaging, documents, and calendar work
Reconcile one Google Calendar booking by stable booking ID, including cancellation.
Messaging, documents, and calendar work
Archive a signed quote document in HubSpot Files and associate it with a deal.
Messaging, documents, and calendar work
Translate customer feedback with DeepL and preserve source text.
Integrations and data imports
Import HubSpot campaign performance into a pre-created custom object keyed by reporting period.
Integrations and data imports
Synchronizes one ERPNext Customer into a HubSpot company.
Integrations and data imports
Synchronize a bounded catalog REST page into HubSpot products by SKU.
Integrations and data imports
Projects one ERPNext Sales Order and its line-item snapshot into a HubSpot order.
Integrations and data imports
Imports Stripe invoice totals, status, currency and line snapshots into a configured HubSpot custom object.
Integrations and data imports
Enriches a specified HubSpot company from an OpenCorporates company-number lookup.
Integrations and data imports
Verify email deliverability with ZeroBounce and write the signal to a HubSpot contact.
Integrations and data imports
Finds one customer row by primary key through Supabase PostgREST.
You don’t need to provision a server or wire up a separate API. Focus on the part that is specific to your workflow.
1. Choose and customize
Pick a pattern, inspect the logic and replace the sample rules with yours.
2. Connect and test
Map your data, add the credentials you need and inspect a sample result.
3. Use it in HubSpot
Publish the action, add it to your workflow and use the outputs in the next step.