create_or_replace_approval_flow
Create or replace a job approval flow in Greenhouse. Overwrites existing approver groups for the same approval type; new flows stay pending until request_approvals starts them.
Instructions
Create or replace an approval flow for a job. Write operation — overwrites existing.
If the job already has a flow of this approval_type, its approver groups are replaced; otherwise a new flow is created (pending — call request_approvals to start it). To find job_id: list_jobs → match by name. For approver user IDs: list_users → match by name.
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": {
"job_id": "<job_id>",
"approval_type": "<approval_type>",
"approver_groups": "<approver_groups>"
},
"name": "create_or_replace_approval_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Greenhouse job ID | |
| sequential | No | Groups approve one after another (true) or all at once | |
| approval_type | Yes | Flow type: 'open_job', 'offer_job' or 'offer_candidate' | |
| approver_groups | Yes | Ordered approver groups: [{approvals_required: N, approvers: [{user_id: N} | {email: '...'}]}] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |