Connecteam automation · runs daily
Approve or decline Connecteam time off requests with AI
Time off requests pile up in Pending Requests during the week, and a manager has to check every date range before answering, so employees wait for a reply.
Cotlet does it in your own Connecteam account with list_time_off_requests and decide_time_off_request, called by your AI agent, an n8n workflow or a script.
Hosted · nothing to install or maintain
Can Connecteam do this on its own?
Connecteam answers requests by hand in Pending Requests, and its API, on the Expert plan or higher with the HR & Skills hub, lists, creates and updates time off requests (checked 20 Oct 2026). Auto-approval is a policy switch for every request, not a rule on dates, length or overlaps. Reading each request stays with you.
How you do it in Connecteam today
- Admin approval is a switch in the policy, Time off request requires admin approval. With it off, Connecteam approves requests automatically and deducts them from the balance. The switch needs the HR Basic plan or higher.
- In the dashboard the admin opens Time Off in the left sidebar and clicks Pending Requests in the upper right.
- The window lists every request employees submitted within a date range, and the admin approves or declines each one.
- The gear icon on the Pending Requests tab sets whose requests reach this admin: a smart group they manage, their direct reports, specific users or no one.
- An approved request lands on the employee's timesheet by itself. A decision can be reversed from the View Request window, History tab, three-dot menu.
How to approve or decline Connecteam time off requests with AI
Go through pending time off requests. Approve requests of up to 3 days that start at least 14 days from now and do not overlap an approved request. Leave the rest for me with the reason. - 01
Read the pending queue
list_time_off_requests runs with status pending and follows next_cursor to the end, so a request list that grew over a weekend is judged as one batch. The account must be an admin allowed to act on requests; any other account gets APP_PERMISSION_DENIED and the run stops before anyone is judged.
- 02
Apply your rule
Each request is matched against the rule in your prompt, for example up to 3 days and a start at least 14 days out. The agent quotes the length and start date it relied on.
- 03
Check overlaps
list_time_off_requests with status approved shows who is already off in the same dates. A request that overlaps an approved one is left for you, so the team keeps its cover.
- 04
Decide
decide_time_off_request approves the matches. It declines only when your prompt says so, and everything else stays pending. An approved request lands on the employee's timesheet, and the employee sees the new status in the mobile app. Every call asks for your OK until you switch confirmation off for it.
- 05
Skip what changed
Before deciding, the agent reads the queue again. A request that another admin decided in the meantime is gone from it, so the agent logs it as already handled and leaves it alone.
What you get back
Pending requests: 6
Approved 3 (e.g. Priya Nair, Vacation, Oct 22 to Oct 23, 2 days)
Left for you 3:
- Marco Bell: 8 days in December, over your 3-day rule
- Jo Kim: starts in 5 days
- Sam Reyes: overlaps Ana Lopez, already approved Other ways to ask
- Every morning, approve one-day requests and list everything else for me.
- Show me pending requests that overlap an approved one, and approve nothing.
- Decline requests that start within the next 7 days and tell me who asked.
What Connecteam allows, and what to know first
- Admin approval in Time Off is available from the HR Basic plan and above; with it off, requests are approved automatically.
- Admins can act only on users they directly manage or whose smart group they administer, so the agent sees the requests your account sees.
- Employees see approved, declined or pending in the mobile app, and an approved request appears on their timesheet automatically.
- Each admin can switch on email or push alerts for new requests and for decisions of other admins under Time Off > Options > Settings.
- A decision can be changed afterwards in the History tab of the request, so a wrong approval is not final.
decide_time_off_request asks for your OK by default. To run it daily without you, switch confirmation off for that tool in your dashboard.
Sources: Connecteam Help: How Do I Approve Time-Off Requests? · Connecteam Help: Time Off: Admins Permissions · Connecteam Help: Starting Guide to Time Off
Call decide_time_off_request from a script
curl -X POST https://cotlet.dev/api/v1/connecteam/requests/5528/time-off-request/decide \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"decision":"approve"}' {
"request_id": "5528",
"status": "approved",
"name": "Priya Nair",
"policy_type": "Vacation",
"start_date": "2026-10-22",
"end_date": "2026-10-23",
"days": 2
} MCP: add https://cotlet.dev/mcp/v1 with the same key; the call is connecteam_write → decide_time_off_request. Example data.
Schedule it in n8n, Make, Zapier or cronConnecteam tools this automation uses
| Tool | Parameters |
|---|---|
| list_time_off_requests | status, start_date, end_date, cursor |
| decide_time_off_request | request_id, decision |
Frequently asked questions
Is it safe to connect Connecteam to Cotlet?
Yes. You sign in to Connecteam yourself, in your own Cloud Browser in the EU, and we never save your password. Your agents only get Connecteam 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 Connecteam.
Free 7-day trial with 2,000 credits, no card needed. Cotlet is independent and not affiliated with Connecteam.