Auto-enrich new Ashby candidates with People Data Labs

By General Input

When a new application lands in Ashby, deepen the candidate file with People Data Labs and DM the hiring manager a short brief in Slack.

Integrations

  • Ashby
  • People Data Labs
  • Slack Bot

Type

Agentic Task

Categories

  • HR & People

Build me an agent workflow that enriches every new Ashby candidate the moment their application is created, attaches a research note in Ashby, and DMs the hiring manager in Slack.

Trigger: an Ashby webhook for the 'new application created' event. The webhook payload gives me the application id, candidate id, candidate email, candidate name, and job id.

When it fires, do this:

1) Use Ashby Get Application Info and Ashby Get Candidate Info to confirm the candidate's email, name, any LinkedIn URL already on file, and the job they applied to. Use Ashby Get Job Info to grab the job title and a short summary of requirements so we have something to write fit notes against.

2) Call People Data Labs Person Enrichment using the candidate's email (and name as a secondary identifier). Pull current job title and company, work history, education, skills, and public profile URLs (LinkedIn, GitHub, Twitter).

3) If Person Enrichment returns a match, call People Data Labs Company Enrichment on the candidate's current employer to pull industry, headcount range, and most recent funding round. PDL 404 (no match) responses are not billed, so it is fine to attempt the company lookup whenever a person match exists.

4) Use Ashby Create Candidate Note to attach a structured profile summary to the candidate. Format the note with these sections: Current role and tenure (title at company, how long), Prior companies (two or three with title and dates), Education, Public links (LinkedIn / GitHub / Twitter where available), and a two-line 'Fit notes' block written against the job's requirements. Keep it scannable, not a wall of text.

5) Use Slack Bot Send a Message to DM the hiring manager. The hiring manager comes from the Ashby job record (look up their Slack user by email). The DM should include the candidate's name, current title at company, three highlights pulled from the enriched profile (e.g. notable previous employers, relevant skills, education), and a direct link to the candidate in Ashby.

Failure mode: if People Data Labs Person Enrichment returns HTTP 404 (no match), skip the candidate note entirely and instead use Slack Bot Send a Message to post a single lightweight line in our recruiting channel: candidate name, the role they applied for, the Ashby link, and a short 'PDL had no match, recruiter please screen manually.' Do not create a half-empty note in Ashby in that case.

Other constraints: keep the Ashby note under ~250 words. Do not fabricate facts that are not in the enrichment payload. If a section has no data (e.g. no education on file), omit that section rather than writing 'unknown.' The Slack DM should be short — three to five lines plus the Ashby link, not a paragraph.

Make the recruiting Slack channel and the 'how to find the hiring manager' lookup easy to change later, since those vary per team.

Related prompts

Explore more prompts
A brand asset library your marketing team actually searchesTurn Mailjet email clicks into ranked HubSpot follow-upsClean out the Looker dashboards and Looks nobody opensLiveKit live operations console for room moderationWake up dormant Keap leads with a researched reasonLiveChat coverage board for planning next week's shiftsPhone routing control panel for LiveKit voice agentsLinkedIn Ads budget pacing dashboard for every client accountGive your team Looker numbers without buying more seatsPause marketing emails to escalated customers, then restore them