All jobs

Which Client Domains Expire Soon Without Auto-Renew? A Web Design Agency's Monthly Check of Every Domain on Vercel

A web design agency runs an agent each month that lists the client domains on its Vercel teams that expire in the next 90 days, with auto-renew off or DNS elsewhere.

Run this on RushOpens the console with this prompt ready to send. Connect Vercel there first.

What the agent does

This is for a web design agency that builds and hosts marketing sites for a few dozen clients: a winery, three restaurants, a physiotherapy clinic, some trades businesses. Over the years it bought many of the clients' domains through Vercel, added others that the client bought elsewhere, and spread them across a couple of Vercel teams. A domain that lapses takes the client's website and often their email with it, and the agency hears about it from an angry phone call. Once a month the agent lists every domain, finds the ones that need a person, and drafts the note to each client whose domain needs a decision.

The agency's technical lead connects Vercel once with POST /me/connections {"type": "mcp", "name": "vercel", "url": "https://mcp.vercel.com"}, signs in on Vercel's page and grants the connection access to the agency's teams. Vercel's MCP documentation says a project's resources are visible only once the sign-in has access to the team that owns it, and that the person's existing Vercel permissions still apply. The request names vercel in connections.

On a run the agent calls list_teams, then list_domains for each team, following the pagination it returns. Vercel's API reference for that list gives each domain's name, expiresAt (null when the domain was not bought through Vercel), renew, which says whether it is set to renew automatically, boughtAt, serviceType (zeit.world when Vercel handles the DNS, external when someone else does) and verified. For domains whose DNS is elsewhere it calls get_domain_config to see whether the domain still points where the agency expects, and get_domain_project_domains to name the project, and so the client, that uses it.

It sorts the domains into four lists: bought through Vercel and expiring within 90 days with renew off; bought through Vercel and expiring within 30 days with renew on, so the agency can check the card on the team will cover it; domains bought elsewhere, whose expiry Vercel does not hold, so the agency must check them at the client's registrar; and domains that are not verified. It writes domains.md and a short draft to each client whose domain needs a renewal decision. It buys, renews, transfers and changes nothing, and does not use buy_domain or any DNS write tool.

Start it with one API call

POST https://api.phoenix.so/o/{org}/sessions with this body:

{
  "agent": "claude",
  "input": "Monthly domain check for Fernway Studio, today 2026-12-01. Use the vercel connection, read only. 1) list_teams; for each team, list_domains following pagination; read name, expiresAt, renew, boughtAt, serviceType, verified. 2) For each project domain you can, call get_domain_project_domains on the apex to find the Vercel project using it; client = project name before the first '-' (e.g. 'larkvale-winery-site' = larkvale). 3) For serviceType external, call get_domain_config. Write domains.md with four tables: A) bought through Vercel, expiresAt before 2027-03-01, renew false; B) bought through Vercel, expiresAt before 2026-12-31, renew true; C) expiresAt null (bought elsewhere): domain, client, serviceType, what get_domain_config shows; D) verified false. Each row: domain, team, client, expiry date (UTC), days left, project. Then drafts/<client>.md for every client in table A: 4 to 6 plain sentences to the client saying which domain, when it expires, that it is not set to renew, and asking whether they want to keep it; no prices. Never buy, renew, transfer or remove a domain, never create, update or replace DNS records, never change a project.",
  "connections": [
    "vercel"
  ]
}
  1. 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.
  2. 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.
  3. 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

domains.md lists every client domain on the agency's Vercel teams that needs a person, with a drafted note for each client whose domain will lapse. It is among the session's artifacts, with the domains sorted into four lists: expiring with auto-renew off, renewing soon, held at another registrar where Vercel has no expiry date, and unverified. Each row names the team, the client by project, the expiry date and the days left. The notes are in drafts/, one per client whose domain will lapse unless someone acts.

What the technical lead checks before sending: domains a client said they would let go, which belong in a note to remove the site rather than renew; domains bought elsewhere, whose expiry the lead looks up at the client's registrar or in the agency's records; and a client mapped from a project name that does not follow the agency's naming. The account manager sends each note and renews a domain only after the client says yes.

Run it on every first of the month

In the console, a Project automation with a schedule trigger, cron 0 9 1 * * and the agency's timezone, runs a saved agent whose connections name vercel with this prompt. The schedule fills in no date, so the saved instructions say "the next 90 days" and "the next 30 days" from today, and the agent works out the cut-off dates.

When the agency takes on a client whose domain it moves to Vercel, nothing in the agent changes: the next month's list_domains includes it. Each month's session stays as the record of what was due and what the agency was told, which helps when a client later asks why their domain lapsed.

The use case this job follows, with its automation and trigger: Produce a report or file, no repo.

Why run it on Rush?

The Vercel sign-in sits in Rush's connection rather than as an access token with every team's rights in a script, and the agent sees only the teams the technical lead granted. Vercel's server includes tools that buy domains and replace DNS records, so the prompt forbids them and each run's record shows that none was called.

Each run has its own computer and a record of every Vercel call, so a disputed expiry date can be traced to the domain list the agent read that month. The session's total_cost_usd shows what the monthly check costs, which is easy to set against one client's site and email going dark for a weekend.

Frequently asked questions

Why can't it see expiry dates for some domains?

Vercel's API gives expiresAt only for domains bought through Vercel; for a domain added from another registrar it is null. The agent lists those separately so the agency checks them where they were bought.

Could it turn auto-renew on for the client?

Not in this prompt, and renewing spends money on the agency's Vercel team. The agency asks the client first; some clients want to move a domain to their own account instead.

Does it check SSL certificates too?

Vercel's server has list_certs and get_cert_by_id, so a team that manages its own certificates can add that to the prompt. This prompt leaves certificates out to keep the monthly list about decisions a client has to make.

More Vercel jobs

More jobs like this: Produce a report or file, no repo

Keep reading