# Compare Historical Layoff-to-Hiring Reversal Changes

**Use case:** 

Compare Historical Layoff-to-Hiring Reversal Changes. Use Layoff-to-Hiring Reversal Intelligence to produce structured decision-ready results. Replace example inputs with your target.

## Input

```json
{
  "currentItems": [
    {
      "id": "h1",
      "company": "Acme",
      "eventType": "hiring",
      "role": "Engineer",
      "openings": 45,
      "netHiringSignal": 45
    },
    {
      "id": "h2",
      "company": "Acme",
      "eventType": "hiring",
      "role": "Sales",
      "openings": 20,
      "netHiringSignal": 20
    }
  ],
  "previousItems": [
    {
      "id": "l1",
      "company": "Acme",
      "eventType": "layoff",
      "affectedWorkers": 300,
      "netHiringSignal": -300
    }
  ],
  "maxItems": 20000,
  "mcpToolName": "",
  "mcpToolArguments": {},
  "mcpFailOnError": false,
  "mcpActionPreset": "AUTO_SAFE_WRITE"
}
```

## Output

```json
{
  "mode": {
    "label": "Mode",
    "format": "string"
  },
  "recordCount": {
    "label": "Record Count",
    "format": "integer"
  },
  "previousRecordCount": {
    "label": "Previous Record Count",
    "format": "integer"
  },
  "newCount": {
    "label": "New Count",
    "format": "integer"
  },
  "removedCount": {
    "label": "Removed Count",
    "format": "integer"
  },
  "agentAction": {
    "label": "Agent Action",
    "format": "string"
  },
  "topSignals": {
    "label": "Top Signals",
    "format": "array"
  }
}
```

## About this Actor

This example demonstrates how to use [Layoff-to-Hiring Reversal Intelligence](https://apify.com/quanmatrix/layoff-hiring-reversal-intelligence.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/quanmatrix/layoff-hiring-reversal-intelligence.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/quanmatrix/layoff-hiring-reversal-intelligence.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
