What the agent does
This is for a marketing agency that runs every client's work in ClickUp: one Folder per client, a List per retainer or campaign, and a status called Client Review that a task moves into when a blog post, ad set or landing page draft has gone to the client for sign-off. Work that sits in Client Review for a week pushes back the launch date the client will later ask about. The account directors want a list each Tuesday and Thursday of what is waiting and for how long, with a short, friendly nudge written for each client, and they want to send the nudges themselves.
The operations lead connects ClickUp once with POST /me/connections {"type": "mcp", "name": "clickup", "url": "https://mcp.clickup.com/mcp", "auth": {"mode": "oauth"}} and opens the authorize_url. ClickUp's docs say its MCP server accepts only OAuth, has no deletion tools, and counts every tool call against a daily limit per workspace that depends on the plan, from 100 calls a day on Free Forever to 1,000 on Business without the AI add-on. The job is written to stay well under that.
On a run the agent calls clickup_get_workspace_hierarchy to find the client Folders and their Lists, then one clickup_filter_tasks call with statuses set to Client Review across those Folders. It passes the task ids, up to 100 at a time, to clickup_get_bulk_tasks_time_in_status, which returns how long each task has been in its current status, and keeps tasks that have been in Client Review for more than three working days. It calls clickup_get_workspace_members once, which lists members and guests, and for each kept task it calls clickup_get_task_comments and reads the newest comment, to tell a task where the client already replied "looks good, one change" from one where the agency has heard nothing.
It returns a table grouped by client: task name, List, days in Client Review, assignee, and the newest comment with its author and date. For each client with at least one silent task, it drafts a nudge of a few lines that names the deliverables and the launch they hold up, in the agency's voice. It posts nothing: the request forbids clickup_create_comment, clickup_send_chat_message, clickup_update_task and every other tool that writes.
Start it with one API call
POST https://api.phoenix.so/o/{org}/sessions with this body:
{
"agent": "claude",
"input": "Find deliverables waiting on client approval. Use the clickup connection. Call clickup_get_workspace_hierarchy and take every Folder under the Space \"Clients\". Call clickup_get_workspace_members to learn which users are guests. Call clickup_filter_tasks once with those Folders and statuses [\"client review\"]. Pass the task ids, up to 100 per call, to clickup_get_bulk_tasks_time_in_status and keep tasks in client review for more than 3 working days (Mon-Fri). For each kept task call clickup_get_task_comments and read the newest comment. Write approvals.md: one section per client Folder, oldest wait first, each task with its List, days in client review, assignee, newest comment (author, date, first 200 characters) and task link. Then, for each client with a task whose newest comment is not from the client, draft a nudge of at most 80 words from the account director naming those deliverables. Mark a task 'client replied' when the newest comment is from a guest. Make at most 60 ClickUp calls in total. Never call clickup_create_comment, clickup_update_task, clickup_send_chat_message, clickup_execute_operator or any other write tool.",
"connections": [
"clickup"
]
}- Get an API key. In the console, open Settings, then API keys, and create a key for your org. Send it in the Authorization header as a Bearer token.
- Send the request. POST the body in request.json to https://api.phoenix.so/o/{org}/sessions. The run starts in its own cloud sandbox.
- Read what came back. Follow the run on its live stream or wait for the run.completed webhook, then read the result and its trajectory.
What comes back
approvals.md lists the tasks waiting on client approval, one section per client, with a drafted nudge for each. The session lists it as an artifact, and the session's result says how many tasks are waiting and for how many clients. Each account director reads their clients' sections, edits the nudges and sends them by email or in the client's shared Slack channel, as they would anyway. Tasks marked client replied go back to the team member who owns them, since the client is waiting on the agency there.
What the account director checks: a task that went into Client Review by mistake, which the list cannot tell from a real one; a client who approved on a call, which ClickUp never heard about; and how the agent decided who the client is. The request treats a comment from a ClickUp guest as the client's, which holds only if the agency invites clients as guests, so an agency that does not would name its client contacts in the prompt instead.
Run it on every Tuesday and Thursday morning
In the console, a Project automation with a schedule trigger at 0 9 * * 2,4 in the agency's timezone runs a saved agent whose connections name clickup, with the prompt above as its instructions. Twice a week fits the rhythm of client feedback; daily would mostly repeat itself and spend more of the workspace's ClickUp call limit.
Each run is its own session. When a client later asks why a launch slipped, the agency can open the Tuesday and Thursday lists for those weeks and show how long the draft sat with them and when it was nudged.
The use case this job follows, with its automation and trigger: Draft outreach from your CRM.
Why run it on Rush?
The ClickUp sign-in stays in Rush's connection, and ClickUp's docs say its MCP server takes no personal API keys, so a script on someone's laptop would need its own OAuth handling just to start. Each run has its own computer and a record of every ClickUp call, which matters on a server that counts each call against a daily limit: the agency can see exactly how many calls the check used.
The job is read only by construction, and the nudges reach clients only through an account director. The session records its total_cost_usd, so the agency can see what each check costs.
Frequently asked questions
How many ClickUp calls does one run use?
One call for the hierarchy, one for the members list, one filter call, one time-in-status call per hundred waiting tasks, and one comments call per task kept. The request caps the total at 60, under the daily limit ClickUp's docs give for every plan, which ClickUp counts per workspace and per client.
Our status is called Waiting on Client, not Client Review. Does that matter?
Only the prompt changes. clickup_get_list returns each List's statuses, so the agent can confirm the status name exists before filtering, and the request can name several statuses if Lists use different ones.
Can it move the task back to In Progress when the client replies?
ClickUp's server has clickup_update_task, so it could, but this job does not. Moving a task is a decision about the work, and the person who owns the task makes it.
More ClickUp jobs
More jobs like this: Draft outreach from your CRM
- Which Estimates Are Still Waiting for an Answer? A Landscaping Company's Monday Follow-Up List From QuickBooks (QuickBooks)
- Which Tax Clients Still Haven't Sent Their Documents? An Accounting Firm's Monday List From Asana, With a Reminder Drafted for Each (Asana)
- Research Maintainers of Self-Hosted Tools for Partnerships (Notion)