/actions/linkedin-extract-connections/run/schedule route.
Incremental mode fetches only new data since the last retrieval instead of the full dataset on every run. It is available only on some engagement-free actions and requires an Engagement Identity.
More information here : Incremental Sync Guide
Prerequisites
- Engagement Identities enabled in your workspace and at least one Engagement Identity created with a connected LinkedIn account
- API key with access to runs, schedules, and identities
Shared setup (reuse in your code)
The examples below use a single base URL and a small request helper so headers and error handling stay consistent. Define these once and reuse them across Part 1 and Part 2.Part 1: Implementing Incremental Mode
1.1 Create a new scheduled run in incremental mode
To schedule Extract LinkedIn Connections in incremental mode, sendsync_mode: "incremental" in the parameters object and use an Engagement Identity in identity_ids.
Behavior:
- First run: Full sync (capped by
max_results). - Next runs: Only new connections since the last run. No need to call continue; each scheduled execution is automatically incremental.
1.2 Async mode: continue an incremental run
If you use async instead of schedule, you trigger each incremental update by calling the continue endpoint after the previous run has finished. JavaScript example: run async and continue later (Extract Connections)Part 2: Migrating full-mode schedules to incremental
Schedules cannot be updated in place (e.g. to addparameters.sync_mode). To switch existing Extract Connections schedules from full to incremental, you must:
- List schedules for
linkedin-extract-connections(optionally restricted to Engagement Identities). - For each schedule: get full details, cancel it, then create a new schedule with the same config plus
parameters.sync_mode: "incremental".
scheduled_run_uid, uid, identity_ids, inputs, callback, cron, timezone, parameters, max_results.
2.1 Get Engagement Identity IDs
Filter identities withtype: "engagement" so you only migrate schedules that use them (or only recreate schedules using those identities). The helper below paginates so all identities are returned (not only the first 100).
2.2 List Extract Connections schedules (full mode)
List schedules for the Extract Connections action. The helper paginates so all matching schedules are returned.2.3 Filter by Engagement Identity (optional)
If the list response includesidentity_ids (or similar), keep only schedules whose identities are in your set of Engagement Identity UIDs. If the API does not return identity info, you can still migrate all Extract Connections schedules and rely on the fact that the new schedule you create will use an Engagement Identity.
2.4 Cancel and recreate each schedule with incremental mode
For each schedule to migrate:- GET the schedule by
scheduled_run_uidto getinputs,callback,cron,timezone,identity_ids, etc. - POST
.../schedules/{scheduled_run_uid}/cancelto delete it. - POST
.../actions/linkedin-extract-connections/run/schedulewith the same config plusparameters: { sync_mode: 'incremental' }.
edgesRequest from the shared setup):
If you don’t need to get older results with the first incremental mode. Keep the max_results low to avoid time consumption
2.5 Full migration script (Extract Connections + Engagement Identities)
End-to-end example: list active Extract Connections schedules, restrict to those using Engagement Identities, then migrate each to incremental by cancel + recreate. Runs sequentially to avoid rate limits.Summary
For more on incremental sync behavior and limits, see the Incremental Sync guide and Continue a run.

