Loading...
Loading...
Copy this instruction and paste it into your AI agent:
Install this skill: https://customermates.com/en/skills/raw/orthogonal-team-linkedin-profiles.mdFind everyone on a specific team/department at a company and return their LinkedIn profiles.
Extract from the user's query:
Use Brand.dev to disambiguate the company and get its domain, industry, and description. This is critical for companies with common names (e.g., "Mercury" the fintech vs "Mercury Financial" the credit card company).
orth run brand-dev /v1/brand/retrieve-by-name --query 'name=Mercury'From the result, build a company context string combining the company name, domain, industry, and a short description. Example: "Mercury fintech banking startup mercury.com". Use this context string in all subsequent search queries to improve precision.
If the user provides a domain directly, use /v1/brand/retrieve instead:
orth run brand-dev /v1/brand/retrieve --query 'domain=mercury.com'Run both searches in parallel:
Primary — Exa people search (best precision, returns LinkedIn URLs + structured data):
orth run exa /search --body '{
"query": "{company context string} {team} team members",
"category": "people",
"numResults": 50,
"includeDomains": ["linkedin.com"]
}'Use numResults: 50 by default — best balance of coverage vs context window size (~31K tokens). Each Exa result averages ~800 tokens of structured data, so 100 results would consume ~81K tokens and roughly half tend to be noise (wrong companies). If the user explicitly wants exhaustive results, bump to 100 (max). Exa costs 1 cent per request on Orthogonal regardless of numResults.
Try multiple query variations if results are sparse:
"{company} {team} team""{team} at {company} {industry}""{team} analyst OR engineer OR manager at {company}"Supplement — Hunter domain search (surfaces senior/executive people Exa misses):
orth run hunter /v2/domain-search --query 'domain={domain from Step 2}' --query 'limit=100'Hunter returns employees with names, titles, emails, and LinkedIn URLs. It has no useful department filter for niche teams (fraud people end up scattered across "management", "executive", "unknown"), so pull all results and filter by title keywords in Step 4. Hunter is especially good at finding senior leadership that Exa may miss.
This step is critical for accuracy:
Verify current company — For each result, confirm they currently work at the target company (not a similarly-named one). Use the domain and description from Step 2 to distinguish:
Verify team/department — Check that the person's title or department matches the target team. Be flexible with title variations:
Deduplicate — Merge Exa and Hunter results by LinkedIn URL. Prefer Exa data when both have the same person (richer structured data). Hunter may provide email addresses that Exa doesn't.
Flag uncertain matches — If a person's company match is ambiguous, include them in the results but flag with a note (e.g., "Could not confirm current employer — verify manually").
Output a clean markdown table:
## {Team} Team at {Company}
Found {N} members:
| Name | Title | Location | LinkedIn |
|------|-------|----------|----------|
| Jane Smith | Senior Fraud Analyst | San Francisco, CA | [Profile](https://linkedin.com/in/janesmith) |
| ... | ... | ... | ... |
**Uncertain matches** (verify manually):
| Name | Title | Note | LinkedIn |
|------|-------|------|----------|
| ... | ... | ... | ... |Include a note about coverage: "Some profiles may show abbreviated names (e.g., 'Oneida D.') — these are LinkedIn members with restricted visibility settings. Team members with no LinkedIn presence won't appear."
Only if the user requests more detail on specific people, use Fiber live-fetch per profile:
orth run fiber /v1/linkedin-live-fetch/profile/single --body '{"identifier": "https://linkedin.com/in/USERNAME"}'This returns full work history, education, skills, and recent activity. Run these in parallel for multiple profiles.
numResults, there are likely more. Bump to 100 or run follow-up queries with different title keywords