Enrich new HubSpot contacts with Instagram creator stats

By General Input

When a new contact lands in HubSpot with an Instagram handle, attach follower counts, engagement, and audience data so reps see a fully scouted creator.

Integrations

  • HubSpot
  • Modash

Type

Deterministic Code

Categories

  • Sales
  • Marketing

Build a deterministic code-based workflow that enriches every new HubSpot contact with Instagram creator data from Modash.

Trigger: an incoming webhook from HubSpot that fires when a new contact is created.

Steps, in order, each as its own discrete node:

1. Receive the HubSpot contact-created webhook payload and pull the new contact's ID out of it.

2. Use the HubSpot Get Contact operation to load the contact and read the Instagram handle off a custom property called instagram_handle (make the property name configurable).

3. If the instagram_handle property is empty, skip the Modash call and use the HubSpot Update Contact operation to set enrichment_status = no_handle on the contact, then stop.

4. If a handle is present, call the Modash Get Instagram Influencer Report operation with that handle as the userId.

5. Use HubSpot Update Contact to write these properties back to the contact: follower_count, engagement_rate, fake_follower_score, top_audience_country, top_audience_age_band, last_sponsored_brand, and enrichment_status = enriched.

6. If Modash returns a handle_not_found or other error response, instead set enrichment_status = handle_invalid on the contact and finish.

Keep this a straight node-based pipeline with structured input and output at every step. No LLM judgement is required; the only branching is the simple has-handle / no-handle / handle-invalid check.

Cost note for the reader: each successful enrichment costs one Modash credit, which acts as a natural per-contact rate limit.

Related prompts

Explore more prompts
Turn Mailjet email clicks into ranked HubSpot follow-upsiMessage campaign console with pre-flight checks and delivery boardA searchable RFP answer library your bid team drafts fromSee which target accounts just started advertising on LinkedInAccount health board that puts product usage next to your CRMLook up a customer's full chat history mid conversationLusha prospecting workbench with credit-safe revealsWhich companies your LinkedIn ads reach, matched to your CRMLead response desk with a running clock on every new leadApprove Lusha enrichment field by field before HubSpot saves it