Back
Netlify Deployment failed. Slack Post to channel.

Notify Slack when Netlify deployment fails

Connect

How this automation works

Get immediate Slack alerts when a Netlify deployment fails. When a deployment on the selected Netlify site fails, this Applet posts a message to your chosen Slack channel with the failure details. It's ideal for development and operations teams who need to triage build errors quickly using Netlify and Slack. Note: Customize the message to fit your tone.

If
Netlify icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site fails.
DeployId SiteId SiteName SiteUrl Branch CommitRef ErrorMessage FailedAt
Then
Slack icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will post a message to the channel you choose in Slack.
channel message title title_url image_url

Services used in this Applet

Create your own Netlify and Slack workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

7 triggers, queries, and actions

Build completed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a build on your Netlify site finishes, whether it succeeded or failed. Use the BuildState ingredient to branch on the outcome.

Build started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new build begins on your Netlify site.

Deployment failed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site fails.

Deployment succeeded

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site completes successfully and goes live.

Site details

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
Look up details about a Netlify site, including its URL, last deploy state, and custom domain.

Post to channel

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will post a message to the channel you choose in Slack.

Trigger a deploy

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger a new build and deployment for a Netlify site.

Build completed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a build on your Netlify site finishes, whether it succeeded or failed. Use the BuildState ingredient to branch on the outcome.

Build started

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a new build begins on your Netlify site.

Deployment failed

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site fails.

Deployment succeeded

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This trigger fires when a deployment on your Netlify site completes successfully and goes live.

Post to channel

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will post a message to the channel you choose in Slack.

Site details

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
Look up details about a Netlify site, including its URL, last deploy state, and custom domain.

Trigger a deploy

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
Trigger a new build and deployment for a Netlify site.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on Netlify and Slack

About Netlify

Netlify is a cloud platform for deploying and hosting modern web applications with git-based CI/CD, automated builds, and global CDN distribution. Connect your projects to automate deployment notifications and trigger builds programmatically.

Explore Netlify

More integrations with Netlify

About Slack

Slack brings all your team communication into one place. Turn on Applets to bring important information into channels, quickly share photos, automate reminders, and much more.

Explore Slack

More integrations with Slack

IFTTT helps all your apps and devices work better together

Get started for free