If/Else

Conditionally run steps in the first branch or path that matches rules based on one or more input variables (related: switch, parallel, paths, ifelse, if else)

Integrate the If/Else API with the Vercel API

Setup the If/Else API trigger to run a workflow which integrates with the Vercel API. Pipedream's integration platform allows you to integrate If/Else and Vercel remarkably fast. Free for developers.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
New Deployment from the Vercel API

Emit new event when a deployment is created

 
Try it
Cancel Deployment with the Vercel API

Cancel a deployment which is currently building. See the documentation

 
Try it
Create Deployment with the Vercel API

Create a new deployment from a GitHub repository. See the documentation

 
Try it
List Deployments with the Vercel API

List deployments under the account corresponding to the API token. See the documentation

 
Try it

Connect If/Else

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
If/Else is single path branching operator. 
Create non-linear workflows with multiple 
execution branches and Pipedream will execute 
the first branch that matches the configured 
rules. The order in which rules are defined
will affect the path of execution.

The code for this operator is not currently 
public. Please select the *If/Else* operator
from the *Add Step* menu.

Check out the docs to learn more:
https://pipedream.com/docs/workflows/control-flow/ifelse
*/

Overview of Vercel

The Vercel API empowers developers to automate, manage, and interact with their Vercel projects and deployments directly through code. With the Vercel API on Pipedream, you can harness the power of serverless functions to create dynamic and responsive workflows. Automate deployment processes, sync deployment statuses with other tools, trigger notifications based on deployment events, or manage your domains and aliases—all within the seamless integration landscape of Pipedream.

Connect Vercel

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    vercel_token_auth: {
      type: "app",
      app: "vercel_token_auth",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.vercel.com/www/user`,
      headers: {
        Authorization: `Bearer ${this.vercel_token_auth.$auth.personal_access_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo