Create Project
AI-generatedSummary
Creates a new Vercel project by sending a POST to the Vercel REST API (/v9/projects) with the given name and optional build settings, and returns the API's project object for each input item.
Inputs
- projectName (required) — Name (slug) for the new project; sent as
name. - framework — Framework preset such as nextjs, vite or nuxt. Omitted from the request if blank (Other).
- buildCommand — Overrides the build command. Omitted if blank.
- outputDirectory — Overrides the output directory. Omitted if blank.
- installCommand — Overrides the install command. Omitted if blank.
- rootDirectory — Root directory within the repository. Omitted if blank.
Output shape
One output item per input item, whose json is the Vercel API response (the created project object), paired to the input item.
Uses the vercelApi credential (access token, base URL, optional team ID, which is sent as the teamId query string). The source also reads a
teamIdOverrideparameter that isn't declared in this operation's properties, so it falls back to the credential's team ID. If a request fails and Continue On Fail is enabled, the item's json is{ error: message }. Otherwise the node throws an error. Only non-empty optional fields are included in the request body.
Examples
Example 1: Create a Next.js project for a new customer site
Project Name: customer-site, Framework: nextjs, other fields blank.
Example 2: Create a monorepo project with custom build settings
Project Name: docs, Framework: vite, Root Directory: apps/docs, Build Command: pnpm build, Output Directory: dist.
