Quinyx automation · runs daily
Approve Quinyx absence requests with AI
Employees send absence requests from the Quinyx mobile app or the staff portal, and each one waits in your Needs Approval list until you decide what happens to every shift it covers.
Cotlet does it in your own Quinyx account with list_approval_requests, get_approval_request, list_shifts, approve_request and deny_request, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Quinyx do this on its own?
Quinyx has no API operation to approve or deny an absence request (checked 22 Oct 2026). The v2 API creates and deletes absences for an employee at a unit, and the User API lets an employee submit a leave application and list the managers it can go to. Neither lets a manager decide a request.
How you do it in Quinyx today
- An employee sends an absence request from the mobile app or the staff portal. Quinyx notifies the managers who have write access on the absence permission and a direct manager role one level above the employee.
- In the web app, the manager opens Schedule, clicks the bell icon in the upper-left corner and opens Absence requests under Needs Approval.
- The request shows the period and the shifts scheduled in it. In the mobile Manager menu, the Time trackers icon shows how many holiday days the employee has left, if the organization uses Time Trackers.
- For each shift in the period the manager picks Unassign, Delete, Reassign or Keep, writes a comment and selects Approve or Deny.
- Every request is read and decided by hand, so one that arrives while the manager is away waits.
How to approve Quinyx absence requests with AI
Go through the absence requests waiting for me in Quinyx. Approve those where at least 3 colleagues are still scheduled each day and the shifts can stay open, deny the ones that overlap the stocktake week, and list the rest for me. - 01
Read the inbox
Your agent calls list_approval_requests with category absence_request. It sees only the requests Quinyx sends to your account, which depend on your role and permissions, so a manager with a narrower role sees a shorter list.
- 02
Open each request
get_approval_request returns the period, the employee's comment, every shift scheduled inside the period and the holiday days left when the organization uses Time Trackers. A request with no balance data is not denied for that reason; it goes on your list.
- 03
Check who else is working
For each day in the period the agent calls list_shifts for the same unit and counts colleagues already scheduled. The count is judged against the number in your prompt, for example 3.
- 04
Choose an action per shift
Shifts in an approved period are set to keep or unassign by default; an unassigned shift becomes open and can be offered to colleagues later. Delete and reassign are never picked on their own: a request that needs either goes on your list.
- 05
Decide and comment
approve_request runs for the matches and deny_request for the ones your rule rejects, each with a comment that names the rule. Both ask for your OK per call until you switch confirmation off. Right before deciding, the agent reads the request again and skips one that another manager handled in the meantime.
What you get back
Absence requests waiting: 6
Approved 3, e.g. Elena Ruiz, 4 to 5 Nov (4 colleagues scheduled each day), 2 shifts unassigned
Denied 1 (Sam Okafor, overlaps stocktake week)
Left for you 2:
- Priya Nair: only 2 colleagues scheduled on 12 Nov
- Jake Ortiz: request covers a shift that needs a reassign Other ways to ask
- Every morning, deny absence requests that overlap the stocktake week and say so in the comment.
- Approve requests for a single day when at least 4 colleagues are scheduled, and list longer ones for me.
- Show the pending absence requests with each employee's remaining holiday days, but decide nothing.
What Quinyx allows, and what to know first
- Quinyx sends an absence request only to managers with write access on the absence permission for the group and a direct manager role at least one level above the employee's highest role, so the account behind this job decides which requests it can see.
- If an employee has a manager under Reports to (People > People details > Advanced details), that manager receives all of that employee's absence requests.
- When the unit setting Select manager on absence request is true, the employee chooses which qualifying manager gets the request, so some of them never reach your account.
- In the mobile Manager menu, Quinyx lets the manager choose Unassign, Delete, Reassign or Keep for each shift in the period, or change all shifts at once, and a handled request disappears from the list.
approve_request and deny_request ask for your OK by default. To run it daily without you, switch confirmation off for those tools in your dashboard.
Sources: Quinyx Help: Absence request notification logic · Quinyx Help: Mobile, approve an absence request · Quinyx Help: Notifications panel · Quinyx Developer Portal: v2 absences
Call approve_request from a script
curl -X POST https://cotlet.dev/api/v1/quinyx/requests/77310/approve \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"comment":"Approved: 4 colleagues are scheduled each day. Both shifts are now open.","shift_actions":[{"shift_id":"90412","action":"unassign"},{"shift_id":"90437","action":"unassign"}]}' {
"request_id": "77310",
"category": "absence_request",
"status": "approved",
"employee": "Elena Ruiz",
"shift_actions": [
{
"shift_id": "90412",
"action": "unassign"
},
{
"shift_id": "90437",
"action": "unassign"
}
],
"comment": "Approved: 4 colleagues are scheduled each day. Both shifts are now open."
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is quinyx_write → approve_request. Example data.
Schedule it in n8n, Make, Zapier or cronQuinyx tools this automation uses
| Tool | Parameters |
|---|---|
| list_approval_requests | category, group_id |
| get_approval_request | request_id |
| list_shifts | group_id, from, to, employee_id, unassigned_only |
| approve_request | request_id, comment, shift_actions |
| deny_request | request_id, comment |
Frequently asked questions
Can the agent check my holiday balance rules?
It reads the Time Trackers balance that get_approval_request returns when your organization uses Time Trackers. The balance rules themselves stay in Quinyx.
Is it safe to connect Quinyx to Cotlet?
Yes. You sign in to Quinyx yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Quinyx once you enable it, every background request is listed, and the browser profile is stored encrypted with AES-256-GCM, the cipher 1Password uses for its vaults. The AI model never sees a login, posts and messages wait for your OK, and Disable for agents cuts access in one click. Independent scanners grade cotlet.dev A+ on Qualys SSL Labs, securityheaders.com and Mozilla Observatory; live results are on https://cotlet.dev/security.
Give your agent access to Quinyx.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Quinyx.