# Building Slack notifications to monitor pg\_dump and restore workflows

DevFeed: [Building Slack notifications to monitor pg\_dump and restore workflows](<https://devfeed.tech/articles/building-slack-notifications-to-monitor-pg-dump-and-restore-workflows-5110.md>)

Original publisher: [Read original article](<https://neon.com/blog/building-slack-notifications-to-monitor-pg_dump-and-restore-workflows>)

Author: Rishi Raj Jain

Published: 2024-08-01T16:36:26Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Slack](<https://devfeed.tech/topics/slack.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [PostgreSQL](<https://devfeed.tech/topics/postgresql.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [blog](<https://devfeed.tech/tags/blog.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [postgresql](<https://devfeed.tech/tags/postgresql.md>), [product](<https://devfeed.tech/tags/product.md>), [workflows](<https://devfeed.tech/tags/workflows.md>)

## AI overview

This article explains how to build Slack notifications for GitHub Actions workflows that run pg_dump and restore a production PostgreSQL database to a Neon environment. It covers configuring a Slack webhook and app, modifying the workflow, posting formatted status details with JavaScript, and handling successful or failed jobs.

## Source excerpt

📚 This article is part of a series on setting up Neon for dev, test, and staging environments while keeping your prod database in RDS. Find out what we're talking about. In a previous blog post, we showed you how to create a Neon Twin using a GitHub Action that automatically run...