# StartupJobs and JazzHR integration (`nguyendan/startupjobs-to-jazzhr`) Actor

Automatically transfers job applications from StartupJobs that are connected to a job offer that exists in JazzHR and puts them into JazzHR. The transferred applications are saved into the dataset so that on consecutive runs, they are not processed again. Built on StartupJobs API and JazzHR API.

- **URL**: https://apify.com/nguyendan/startupjobs-to-jazzhr.md
- **Developed by:** [Dan Nguyen](https://apify.com/nguyendan) (community)
- **Categories:** Developer tools, Open source
- **Features:** Full permissions
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## StartupJobs2JazzHR

This actor (see [Apify Actor documentation](https://docs.apify.com/actor) for more info on Apify actors) transfers job applications from StartupJobs that are connected to a job offer that exists in JazzHR and puts them into JazzHR. The transferred applications are saved into the dataset so that on consecutive runs, they are not processed again.

For example, if the job application is for a backend developer in StartupJobs, but this job offer does not exist on JazzHR, the application will not be transferred.\
To pair StartupJobs job offers with those in JazzHR, the offers simply need to have their names equal.

The actor is built on [StartupJobs API](https://www.startupjobs.cz/dev/public-api) and [JazzHR API](http://www.resumatorapi.com/v1/).

### Input

The StartupJobs and JazzHR token are needed so that the actor can use their public APIs.\
​
To get a StartupJobs token you need to contact their support.\
​
[Here is how to get your JazzHR token](https://success.jazzhr.com/hc/en-us/articles/222540508-API-Overview#whereiskey).

```
{
    "startupJobsToken": "your StartupJobs api token",
    "jazzHRToken": "your JazzHR api token"
}
```

### Run state

The actor keeps a record of already processed applications in the dataset, so it does not fetch their details from JazzHR unnecessarily on each run.
​

### Process overview

1. Initialize state based on which the actor will filter transferable applications (state loaded from dataset and from JazzHR)
2. Gets new StartupJobs applications and filters them by the following conditions:
   1. Application was not posted before - determined by comparing with state.
   2. Application is connected to job offer also listed on JazzHR as well. Decided based on JazzHR and StartupJobs offer name equality.
3. POST filtered applications to JazzHR.
4. Updates current state for next run.

### Documentation reference

- [Apify SDK](https://sdk.apify.com/)
- [Apify Actor documentation](https://docs.apify.com/actor)
- [Apify CLI](https://docs.apify.com/cli)
- [StartupJobs API](https://www.startupjobs.cz/dev/public-api)
- [JazzHR API](http://www.resumatorapi.com/v1/)

# Actor input Schema

## `startupJobsToken` (type: `string`):

Your StartupJobs token. You have to contact the StartupJobs support to generate it for you.

## `jazzHRToken` (type: `string`):

Your JazzHR token. <a href='https://success.jazzhr.com/hc/en-us/articles/222540508-API-Overview#whereiskey'> Here is how to find your token.</a>

## Actor input object example

```json
{}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("nguyendan/startupjobs-to-jazzhr").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("nguyendan/startupjobs-to-jazzhr").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call nguyendan/startupjobs-to-jazzhr --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nguyendan/startupjobs-to-jazzhr"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Qu7kCE1DRsFjOqEBx/builds/9wUX1DBDd5u6fo5Cw/openapi.json
