View as Markdown
CATS icon

CATS ACTION

Add Candidate to Job Pipeline

Adds a specific candidate to a job pipeline in CATS. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's CATS account once, then configure and run Add Candidate to Job Pipeline from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "cats-add-candidate-pipeline",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    cats: { authProvisionId: "apn_xxxxxxx" },
    createActivity: true,
    candidateId: 10,
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Add Candidate to Job Pipeline inputs
Property Type Description
createActivity Create Activity boolean
Whether a corresponding activity should be created automatically. This mimics what happens when a pipeline is created from the CATS UI.
Optional
candidateId Candidate ID integer
The ID of the candidate.
Required Dynamic
jobId Job ID integer
The ID of the job to which the record is added.
Required Dynamic
rating Rating integer
The record's rating for the job (0-5).
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
cats-add-candidate-pipeline
Version
0.0.2
App
CATS
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes