← Netlify

Rollback Deploy with Netlify API

Pipedream makes it easy to connect APIs for Netlify and 2,800+ other apps remarkably fast.

Trigger workflow on
HTTP requests, schedules and app events
Next, do this
Rollback Deploy with the Netlify API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

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

Developers Pipedream

Getting Started

Create a workflow to Rollback Deploy with the Netlify API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the Rollback Deploy action
    1. Connect your Netlify account
    2. Select a Site ID
    3. Select a Deploy ID
  2. Select a trigger to run your workflow on HTTP requests, schedules or app events
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Rollback Deploy with Netlify API on New Requests (Payload Only) from HTTP / Webhook API
HTTP / Webhook + Netlify
 
Try it
Rollback Deploy with Netlify API on New Item in Feed from RSS API
RSS + Netlify
 
Try it
Rollback Deploy with Netlify API on New Message from Discord API
Discord + Netlify
 
Try it
Rollback Deploy with Netlify API on New Message In Channels from Slack API
Slack + Netlify
 
Try it
Rollback Deploy with Netlify API on New Message in Channel from Discord Bot API
Discord Bot + Netlify
 
Try it
Rollback Deploy with Netlify API on New Submission from Typeform API
Typeform + Netlify
 
Try it
Rollback Deploy with Netlify API on Custom Events from Zoom API
Zoom + Netlify
 
Try it
Rollback Deploy with Netlify API on New Submission (Instant) from Jotform API
Jotform + Netlify
 
Try it
Rollback Deploy with Netlify API on Custom Webhook Events from Stripe API
Stripe + Netlify
 
Try it
Rollback Deploy with Netlify API on New Scheduled Tasks from Pipedream API
Pipedream + Netlify
 
Try it
Rollback Deploy with Netlify API on npm Download Counts from npm API
npm + Netlify
 
Try it
Rollback Deploy with Netlify API on New or Updated Event (Instant) from Google Calendar API
Google Calendar + Netlify
 
Try it
Rollback Deploy with Netlify API on Query Results from Snowflake API
Snowflake + Netlify
 
Try it
Rollback Deploy with Netlify API on Account Created from Zoom Admin API
Zoom Admin + Netlify
 
Try it
Rollback Deploy with Netlify API on New or Modified File or Folder from Dropbox API
Dropbox + Netlify
 
Try it
Rollback Deploy with Netlify API on New or Removed Documents in a Collection from Fauna API
Fauna + Netlify
 
Try it
Rollback Deploy with Netlify API on New or changed appointments from SuperSaaS API
SuperSaaS + Netlify
 
Try it
Rollback Deploy with Netlify API on Invitee Cancelled (Instant) from Calendly API
Calendly (Key) + Netlify
 
Try it
Rollback Deploy with Netlify API on New Deploy Failure (Instant) from Netlify API
Netlify + Netlify
 
Try it
Rollback Deploy with Netlify API on Weather for ZIP Code from HERE API
HERE + Netlify
 
Try it
Rollback Deploy with Netlify API on New Comments by Keyword from Hacker News API
Hacker News + Netlify
 
Try it
Rollback Deploy with Netlify API on New Emails sent to SES Catch-all Domain from AWS API
AWS + Netlify
 
Try it
Rollback Deploy with Netlify API on New Events from Gorgias (API Key) API
Gorgias (API Key) + Netlify
 
Try it
Rollback Deploy with Netlify API on New Tweet Metrics from Twitter Developer App API
X Developer App (formerly Twitter) + Netlify
 
Try it
Rollback Deploy with Netlify API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Netlify
 
Try it
Rollback Deploy with Netlify API on Activity Deleted from Strava API
Strava + Netlify
 
Try it
Rollback Deploy with Netlify API on Agency Listing Updated from Domain Group API
Domain Group + Netlify
 
Try it
Rollback Deploy with Netlify API on Asset Uploaded from Shotstack API
Shotstack + Netlify
 
Try it
Rollback Deploy with Netlify API on Assignment Done from Google Classroom API
Google Classroom + Netlify
 
Try it
Rollback Deploy with Netlify API on Balance Updated from Mocean API API
Mocean API + Netlify
 
Try it
Rollback Deploy with Netlify API on BigQuery - New Row from Google Cloud API
Google Cloud + Netlify
 
Try it
Rollback Deploy with Netlify API on Bill State Updated (Instant) from Clio - Australia API
Clio - Australia + Netlify
 
Try it
Rollback Deploy with Netlify API on Bill State Updated (Instant) from Clio - EU API
Clio - EU + Netlify
 
Try it
Rollback Deploy with Netlify API on Booking Contact Updated from Slottable API
Slottable + Netlify
 
Try it
Rollback Deploy with Netlify API on Box Changed Stage (Instant) from Streak API
Streak + Netlify
 
Try it
Rollback Deploy with Netlify API on Budget Snapshot Event (Instant) from Procore API
Procore + Netlify
 
Try it
Rollback Deploy with Netlify API on Call Ended (Instant) from Rinkel API
Rinkel + Netlify
 
Try it
Rollback Deploy with Netlify API on Cancelled Booking with Customer from Appointedd API
Appointedd + Netlify
 
Try it
Rollback Deploy with Netlify API on Card Expired from Pipefy API
Pipefy + Netlify
 
Try it
Rollback Deploy with Netlify API on Catalog Item Updated from Square API
Square + Netlify
 
Try it
Rollback Deploy with Netlify API on Category Overspent from You Need a Budget API
You Need a Budget + Netlify
 
Try it
Rollback Deploy with Netlify API on Changed Collection Item (Instant) from Webflow API
Webflow + Netlify
 
Try it
Rollback Deploy with Netlify API on Changed Task Status from Yanado API
Yanado + Netlify
 
Try it
Rollback Deploy with Netlify API on Changes to Specific Files from Google Drive API
Google Drive + Netlify
 
Try it
Rollback Deploy with Netlify API on Channel Updates (Instant) from Telegram Bot API
Telegram + Netlify
 
Try it
Rollback Deploy with Netlify API on Chat Status Updated from HelpCrunch API
HelpCrunch + Netlify
 
Try it
Rollback Deploy with Netlify API on Client Updated from Paymo API
Paymo + Netlify
 
Try it
Rollback Deploy with Netlify API on Client Updated from RiskAdvisor API
RiskAdvisor + Netlify
 
Try it
Rollback Deploy with Netlify API on Collection Item Updated from Webflow (v2) API
Webflow (v2) - do not use + Netlify
 
Try it
Rollback Deploy with Netlify API on Completed Document (Instant) from signNow API
signNow + Netlify
 
Try it
Rollback Deploy with Netlify API on Completed Task from Todoist API
Todoist + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Created from Apollo.io API
Apollo.io + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Created from Mailjet API
Mailjet + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Deleted (Instant) from SmashSend API
SmashSend + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Joins Vault (Instant) from AttractWell API
AttractWell + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Status Updated from Ambivo API
Ambivo + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Unsubscribed from Vision6 API
Vision6 + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Updated from HubSpot API
HubSpot + Netlify
 
Try it
Rollback Deploy with Netlify API on Contact Updated from ProWorkflow API
ProWorkflow + Netlify
 
Try it
Rollback Deploy with Netlify API on Custom Webhook Events (Instant) from Trello API
Trello + Netlify
 
Try it
Rollback Deploy with Netlify API on Customer Card Expired (Instant) from Chargebee API
Chargebee + Netlify
 
Try it
Rollback Deploy with Netlify API on Customer Created (Instant) from Customer Fields API
Customer Fields + Netlify
 
Try it
Rollback Deploy with Netlify API on Customer Created from Plain API
Plain + Netlify
 
Try it
Rollback Deploy with Netlify API on Customer Updated (Instant) from Loyverse API
Loyverse + Netlify
 
Try it
Rollback Deploy with Netlify API on Dataset Refresh Completed from Microsoft Power BI API
Microsoft Power BI + Netlify
 
Try it
Rollback Deploy with Netlify API on Deleted Issue (Instant) from Taiga API
Taiga + Netlify
 
Try it
Rollback Deploy with Netlify API on Deleted Record from Insightly API
Insightly + Netlify
 
Try it
Rollback Deploy with Netlify API on Document Completed from Crove API
Crove + Netlify
 
Try it
Rollback Deploy with Netlify API on Document Creation Failed (Instant) from PandaDoc API
PandaDoc + Netlify
 
Try it
Rollback Deploy with Netlify API on Document Export Failed from Cloudpress API
Cloudpress + Netlify
 
Try it
Rollback Deploy with Netlify API on Donation Refunded from Raisely API
Raisely + Netlify
 
Try it
Rollback Deploy with Netlify API on Edit Event (Instant) from WaiverFile API
WaiverFile + Netlify
 
Try it
Rollback Deploy with Netlify API on Employee Updated from Breathe API
Breathe + Netlify
 
Try it
Rollback Deploy with Netlify API on Entitlement Threshold Reached (Instant) from Paigo API
Paigo + Netlify
 
Try it
Rollback Deploy with Netlify API on Envelope Sent or Complete from Docusign API
Docusign + Netlify
 
Try it
Rollback Deploy with Netlify API on Envelope Sent or Complete from Docusign Developer API
Docusign Developer + Netlify
 
Try it
Rollback Deploy with Netlify API on Event Created from Team Up API
Team Up + Netlify
 
Try it
Rollback Deploy with Netlify API on Event Deleted (Instant) from Add to Calendar PRO API
Add to Calendar PRO + Netlify
 
Try it
Rollback Deploy with Netlify API on Event Start from Teamup API
Teamup + Netlify
 
Try it
Rollback Deploy with Netlify API on Events (Instant) from Twilio SendGrid API
Twilio SendGrid + Netlify
 
Try it
Rollback Deploy with Netlify API on Exchange Rate Updated from CurrencyScoop API
CurrencyScoop + Netlify
 
Try it
Rollback Deploy with Netlify API on Expense Created from Splitwise API
Splitwise + Netlify
 
Try it
Rollback Deploy with Netlify API on File Deleted from DigitalOcean Spaces API
DigitalOcean Spaces + Netlify
 
Try it
Rollback Deploy with Netlify API on Form Created from 123FormBuilder API
123FormBuilder + Netlify
 
Try it
Rollback Deploy with Netlify API on Incident Updated (Instant) from Statuspage API
Statuspage + Netlify
 
Try it
Rollback Deploy with Netlify API on Inventory Object Updated from Booking Experts API
Booking Experts + Netlify
 
Try it
Rollback Deploy with Netlify API on Inventory Updated from Lightspeed Retail POS API
Lightspeed Retail POS + Netlify
 
Try it
Rollback Deploy with Netlify API on Inventory Updated from Sellercloud API
Sellercloud + Netlify
 
Try it
Rollback Deploy with Netlify API on Issue Created (Instant) from Linear (API key) API
Linear (API key) + Netlify
 
Try it
Rollback Deploy with Netlify API on Issue Created (Instant) from Linear (OAuth) API
Linear (OAuth) + Netlify
 
Try it
Rollback Deploy with Netlify API on Issue Created from PractiTest API
PractiTest + Netlify
 
Try it
Rollback Deploy with Netlify API on Issued Credential from Accredible API
Accredible + Netlify
 
Try it
Rollback Deploy with Netlify API on Item Position Changed from Miro Developer App API
Miro Developer App + Netlify
 
Try it
Rollback Deploy with Netlify API on Job Finished (Instant) from Cloud Convert API
Cloud Convert + Netlify
 
Try it
Rollback Deploy with Netlify API on Job Run Completed (Instant) from dbt Cloud API
dbt Cloud + Netlify
 
Try it
Rollback Deploy with Netlify API on Lead Details Updated from CINC API
CINC + Netlify
 
Try it
Rollback Deploy with Netlify API on Link Clicked from Mailchimp API
Mailchimp + Netlify
 
Try it
Rollback Deploy with Netlify API on Member Created from Patreon API
Patreon + Netlify
 
Try it
Rollback Deploy with Netlify API on Message Received from LoopMessage API
LoopMessage + Netlify
 
Try it
Rollback Deploy with Netlify API on Missed Inbound Call (Instant) from Ringcentral API
RingCentral + Netlify
 
Try it

Details

This is a pre-built, source-available component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Rollback Deploy on Netlify
Description:Restores an old deploy and makes it the live version of the site. [See docs](https://docs.netlify.com/api/get-started/#restore-deploy-rollback)
Version:0.1.2
Key:netlify-rollback-deploy

Code

import netlify from "../../netlify.app.mjs"; export default { key: "netlify-rollback-deploy", name: "Rollback Deploy", description: "Restores an old deploy and makes it the live version of the site. [See docs](https://docs.netlify.com/api/get-started/#restore-deploy-rollback)", version: "0.1.2", annotations: { destructiveHint: false, openWorldHint: true, readOnlyHint: true, }, type: "action", props: { netlify, siteId: { propDefinition: [ netlify, "siteId", ], }, deployId: { propDefinition: [ netlify, "deployId", (c) => ({ siteId: c.siteId, }), ], }, }, async run({ $ }) { const response = await this.netlify.rollbackDeploy(this.siteId, this.deployId); $.export("$summary", "Rolling back deploy"); return response; }, }; 

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
NetlifynetlifyappThis component uses the Netlify app.
Site IDsiteIdstringSelect a value from the drop down menu.
Deploy IDdeployIdstringSelect a value from the drop down menu.

Authentication

Netlify uses OAuth authentication. When you connect your Netlify account, Pipedream will open a popup window where you can sign into Netlify and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Netlify API.

Pipedream requests the following authorization scopes when you connect your account:

About Netlify

All-in-one platform for automating modern web projects

More Ways to Use Netlify

Triggers

New Form Submission (Instant) from the Netlify API

Emit new event when a user submits a form

 
Try it
New Deploy Failure (Instant) from the Netlify API

Emit new event when a new deployment fails

 
Try it
New Deploy Success (Instant) from the Netlify API

Emit new event when a new deployment is completed

 
Try it
New Deploy Start (Instant) from the Netlify API

Emit new event when a new deployment is started

 
Try it

Actions

Get Site with the Netlify API

Get a specified site. See docs

 
Try it
List Files with the Netlify API

Returns a list of all the files in the current deploy. See docs

 
Try it
List Site Deploys with the Netlify API

Returns a list of all deploys for a specific site. See docs

 
Try it

Explore Other Apps

1
-
24
of
2,800+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.