Enrich new HubSpot contacts with Instagram creator stats
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
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.
What it does
- Watches HubSpot for brand new contacts and reads their Instagram handle the moment the record is created.
- Pulls a fresh creator profile from Modash with follower count, engagement rate, fake-follower score, top audience country, top audience age band, and last sponsored brand.
- Writes those numbers straight back onto the HubSpot contact so reps see a fully scouted creator the first time they open it.
- If a contact arrives without an Instagram handle, tags the record so it is easy to filter out, chase down, or revisit later.
What you’ll need
- A HubSpot account with permission to read and update contacts.
- A Modash account with API access. One Modash credit is spent per enriched contact.
- An Instagram handle field on your HubSpot contact record. You can use an existing custom property or create a new one.
How to customize it
- Change which HubSpot property holds the Instagram handle, or point the workflow at TikTok or YouTube handles instead.
- Pick different Modash metrics to store on the contact, like top audience city, gender split, recent sponsored brands, or paid post performance.
- Narrow the trigger so it only fires for contacts in a specific lifecycle stage, list, or owner.
Use cases
- Lead Enrichment
- Data Sync