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