st.unarchiveJob

Take a job out of the archived stage of the account’s job tracker and into the stage you name.

Constraints

⏺️ Root Start: allowed.

⬆️ Parent Actions: N/A.

⬇️ Child Actions: N/A.

Parameters

{
  "actionType": "st.unarchiveJob",
  "label": "unarchiveJob1",
  "jobUrl": "https://www.linkedin.com/jobs/view/4450053454/",
  "stage": "saved"
}

In AI assistants, the MCP tool is unarchive_job. The n8n action is Unarchive job; the Make module is Unarchive a job.

ParameterDescription
labelOptional label included in workflow completion.
jobUrlRequired. LinkedIn URL of the job, in the linkedin.com/jobs/view/<id> form.
stageRequired. The stage to unarchive into: saved, inProgress, applied or interview.

Unarchiving behaviour

  • The destination is required. LinkedIn asks which stage to unarchive into, so there is no default.
  • LinkedIn decides which stages it offers for each job. A stage it does not offer returns stageNotAvailable, and nothing is changed. To move an archived job to an earlier stage, unarchive it to applied and move it from there with st.setJobStage.
  • After stageNotHonoured, the job has moved. Do not retry: read it back with st.retrieveTrackedJobs to see which stage it is in now.
  • Safe to repeat, and only for an archived job. A job already in the stage you name succeeds without changing anything. A job in any other stage returns jobNotArchived; to move it, use st.setJobStage.

Result options

json
{
  "actionType": "st.unarchiveJob",
  "label": "unarchiveJob1",
  "success": true
}

A successful call has no data. label is included only if specified in the action parameters.

Error result

json
{
  "actionType": "st.unarchiveJob",
  "label": "unarchiveJob1",
  "success": false,
  "error": {
    "type": "jobNotArchived",
    "message": "..."
  }
}

Possible error.type values:

  • jobNotArchived — The job is not archived.
  • jobNotFound — The job could not be opened or no longer exists.
  • stageNotAvailable — This stage is not available for this job.
  • stageNotHonoured — The job was moved, but to a stage other than the one requested.
  • trackerTooLarge — The job tracker holds too many jobs in this stage to locate this job.
  • unexpectedError — The change could not be completed.