Vercel icon

Vercel

Deploy static HTML sites to Vercel

Actions2

Deployment → Create

AI-generated

Summary

Create a deployment of static HTML content to Vercel, optionally creating a new project or using an existing one, and optionally waiting for the deployment to complete before returning.

Inputs

  • Project Name — The name of the Vercel project to deploy to. If not provided, a new project is created with the name "n8n-{timestamp}".
  • HTML Content (required) — The HTML content to deploy. This can be raw HTML text or a file path (relative or absolute). Supports expressions (e.g., {{ $json.html }}) to dynamically provide HTML content.
  • Deploy to Production — Whether to deploy to the production environment (true/false). Defaults to true.
  • Deployment Mode — Choose whether the node waits for the deployment to complete ('blocking') or returns immediately with the deployment ID ('async'). Defaults to 'blocking'.
  • Max Wait Time (seconds) — Sets the maximum time to wait for deployment completion when using 'blocking' mode. Defaults to 300 seconds.
  • Disable Project Protection — If true, disables project protection features such as SSO and password protection on the project after deployment. Defaults to true.

Output shape

a list of JSON objects, one per input item, each containing deployment details

Each output item includes fields such as success (boolean), projectId, projectName, deploymentId, url (the deployed site's URL), status (deployment status), mode (deployment mode used), and optionally errorMessage if deployment failed. If 'blocking' mode is used, the node waits until the deployment is ready or an error occurs up to the max wait time; otherwise, it returns immediately with deployment ID to check status later. Errors are returned per item if 'Continue On Fail' is enabled.

Discussion