attach_applicant_to_vacancy
Attach an applicant to a vacancy and place them on a pipeline stage, with support for rejection reasons or hiring details such as quota and employment date.
Instructions
Attach an applicant to a vacancy and place them on a funnel stage (WRITE operation). vacancy + status (stage ID from list_stages) are required. For rejection — rejection_reason; for hiring — fill_quota + employment_date.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"account_id": "<account_id>",
"applicant_id": "<applicant_id>",
"vacancy": "<vacancy>",
"status": "<status>"
},
"name": "attach_applicant_to_vacancy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | IDs of attached files | |
| status | Yes | Pipeline stage ID from list_stages (required) | |
| comment | No | Comment for the transition | |
| vacancy | Yes | Vacancy ID (required) | |
| account_id | Yes | HuntFlow account ID | |
| fill_quota | No | Quota ID — for the hiring stage | |
| applicant_id | Yes | Applicant ID (from create_applicant → id) | |
| employment_date | No | Employment start date YYYY-MM-DD | |
| rejection_reason | No | Rejection reason ID (list_rejection_reasons) — for the rejection stage |