Create LinkedIn auto-scrape
Save a scraping source as a collector and start it. Give the source EXACTLY one way: a bare url (people and company searches only) or the pair source_method plus source_input. Anything else is 422.
Use for the standing ask, “keep pulling everyone behind this link”. To wire outreach, author the plan FIRST on the mass-actions mount (preview_mass_action, then create_mass_action with scope kind none) and pass its ma_ac_ sid here: every new lead is appended to that run as one item. Omit mass_action_sid to collect only, omit replay_frequency for a one-shot.
Run 1 dispatches AT ONCE: real LinkedIn automation starts, and a linked run begins enrolling. Watch it with search_linkedin_auto_scrape_runs, read the leads with search_linkedin_auto_scrape_results. Rejections are all pre-flight 422: invalid_url, invalid_source_method, method_not_available, source_input_incomplete, account_not_in_team, sales_nav_required (sales-nav sources and company-decision-makers need Sales Navigator), mass_action_incompatible.
Contract:
- MCP tool
create_linkedin_auto_scrape, registry packagemcp.linkedin/linkedin_auto_scrapes, mountlinkedin.auto-scrapes. - Operation
create, response envelopecreate. - Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
Authorizations
Access token issued by gtm.service.id. Its access_identity claim carries team_sid, actor_sid and actor_type, and that team scope is authoritative.
Team scope for tokens that do not carry one. Ignored when the token already names a team.
Body
Request body of create_linkedin_auto_scrape.
Executor LinkedIn account sid (ln_ac_...): whose browser paginates the source.
18^ln_ac_Human label for the list view. Server derives "{result_kind} {source_method}" when omitted.
255LinkedIn or Sales Navigator people/company SEARCH url. Mutually exclusive with source_method plus source_input.
2048The paginated verb to replay. Required (with source_input) for every non-search source.
search-people-by-url, search-people-by-params, search-sales-nav-people-by-url, search-sales-nav-people-by-params, similar-profiles, company-employees, company-decision-makers, get-post-commenters, get-post-reactors, get-post-resharers, search-companies-by-url, search-companies-by-params, search-sales-nav-companies-by-url, search-sales-nav-companies-by-params, similar-companies The verb's own arguments. One key is mandatory per family: url, filters, anchor_company_ln_id, anchor_nickname (similar-profiles takes the vanity slug, never a URN), or activity_urn. filters takes the SAME schema as the matching scrape_linkedin_search_*_by_params tool (see it for the facet vocabulary and typeahead workflow).
Cadence: hourly | daily | weekly | monthly. Omit or null for a one-shot job that runs once.
hourly, daily, weekly, monthly Standing mass-action new leads enrol into. Cross-checked for same team, live, and target family compatible with result_kind.
18^ma_ac_