Connect the integration
Connecting your Vercel account to Relevance AI is a straightforward process:- Go to the “Integrations” page in the sidebar of your Relevance AI dashboard.
- Click on “Vercel” from the available integrations.
- Click on the “Add Integration” button.
- In the pop-up window, sign into your Vercel account.
- Grant the necessary permissions for Relevance AI to access your Vercel projects and deployments.
- Once authenticated, your Vercel account will appear as a connected integration.
Tool steps for Vercel
The Vercel integration provides a comprehensive set of actions that your agents can use to interact with your deployments and development workflows. These actions can be incorporated into your agent’s workflows as tool steps, enabling sophisticated deployment automation capabilities.Deployment Management
Create Deployment
List Deployments
Cancel Deployment
Advanced Operations
Vercel API Call
Use the integration’s API tool step (Advanced)
In addition to the pre-built actions available in the tool directory, you can build custom tools that perform Vercel-specific activities using the Vercel API Call tool step.How to use the Vercel API Call tool step
Create a new tool
Add the Vercel API Call tool step
- Scroll down to Tool-steps
- Search for “Vercel API Call” in the tool step search bar
- Add the Vercel API Call tool step to your workflow
Select your Vercel account
Configure the API endpoint
- Method: Select the HTTP method (GET, POST, PUT, DELETE, PATCH)
- Path: Enter the API endpoint path (e.g.,
/v13/deployments) - Body: Add any required request body data
- Headers: Add any custom headers if needed
Test your API call
Example: Getting Deployment Details
Here’s a practical example of using the Vercel API Call tool step to retrieve details about a specific deployment: API Endpoint:GET /v13/deployments/{id}
Configuration:
- Uses the GET method to retrieve deployment information
- Specifies the deployment ID in the path
- Returns comprehensive details about the deployment including status, creator, and metadata
Common Vercel API Endpoints
Here are some commonly used Vercel API endpoints you can use with the API Call tool step:Deployments
Deployments
- List deployments:
GET /v6/deployments - Get deployment:
GET /v13/deployments/{id} - Create deployment:
POST /v13/deployments - Cancel deployment:
PATCH /v12/deployments/{id}/cancel - Delete deployment:
DELETE /v13/deployments/{id}
Projects
Projects
- List projects:
GET /v9/projects - Get project:
GET /v9/projects/{id} - Create project:
POST /v10/projects - Update project:
PATCH /v9/projects/{id} - Delete project:
DELETE /v9/projects/{id}
Domains
Domains
- List domains:
GET /v5/domains - Get domain:
GET /v5/domains/{domain} - Add domain:
POST /v10/projects/{id}/domains - Remove domain:
DELETE /v9/projects/{id}/domains/{domain}
Environment Variables
Environment Variables
- List env variables:
GET /v9/projects/{id}/env - Create env variable:
POST /v10/projects/{id}/env - Update env variable:
PATCH /v9/projects/{id}/env/{id} - Delete env variable:
DELETE /v9/projects/{id}/env/{id}
Teams
Teams
- List teams:
GET /v2/teams - Get team:
GET /v2/teams/{id} - List team members:
GET /v2/teams/{id}/members
Example use cases
Here are some ways you can leverage the Vercel integration with your agents:Automated Deployment Pipeline
Automated Deployment Pipeline
Multi-Environment Deployment Manager
Multi-Environment Deployment Manager
Deployment Status Monitor
Deployment Status Monitor
Rollback Automation Agent
Rollback Automation Agent
Performance-Based Deployment Scheduler
Performance-Based Deployment Scheduler
CI/CD Integration Agent
CI/CD Integration Agent
Deployment Notification System
Deployment Notification System
Preview Deployment Manager
Preview Deployment Manager
Frequently asked questions (FAQs)
What permissions does the Vercel integration require?
What permissions does the Vercel integration require?
Can I restrict my Agent to only access certain projects?
Can I restrict my Agent to only access certain projects?
How do I authenticate with Vercel for API calls?
How do I authenticate with Vercel for API calls?
What's the difference between the pre-built Vercel tool steps and the API Call tool step?
What's the difference between the pre-built Vercel tool steps and the API Call tool step?
Can I use webhooks to trigger my agents based on Vercel events?
Can I use webhooks to trigger my agents based on Vercel events?
Are there rate limits for Vercel API calls?
Are there rate limits for Vercel API calls?
Can I manage environment variables through the integration?
Can I manage environment variables through the integration?
How do I cancel a deployment that's already in progress?
How do I cancel a deployment that's already in progress?
PATCH /v12/deployments/{id}/cancel endpoint. You’ll need the deployment ID, which you can obtain from the “List Deployments” tool step or from deployment creation responses.Can I deploy to specific branches or environments?
Can I deploy to specific branches or environments?

