Automated Server Update Notifications
detail.loadingPreview
Proactively monitor your servers for available package updates and receive timely email notifications. This automated workflow ensures your systems stay secure and up-to-date with minimal manual effort.
About This Workflow
This n8n workflow automates the crucial task of monitoring your servers for available software updates. It connects to your server via SSH to execute the 'apt list --upgradable' command, checks if any packages require an update, and then sends a formatted email notification to a designated address. Scheduled to run daily, it provides a consistent and reliable way to stay informed about your server's patching status, helping you maintain a secure and optimized environment. The workflow leverages code nodes to intelligently format the output and conditional logic to only send alerts when updates are actually available.
Key Features
- Automated Daily Checks: Runs automatically every day to ensure you never miss an update.
- SSH Integration: Securely connects to your server to fetch update information.
- Intelligent Update Detection: Only sends notifications when there are actual packages to update.
- Customizable Email Alerts: Easily configure sender, recipient, and subject for notifications.
- Formatted HTML Output: Presents the list of upgradable packages in a clear, readable HTML list.
How To Use
- Configure SSH Credentials: In the 'List upgradable packages' node, set up your SSH connection details, including hostname, username, and password (or SSH key).
- Set Daily Schedule: Adjust the 'Run workflow every day' node to your preferred daily execution time.
- Define Email Recipients: In the 'Send Email through SMTP' node, update the 'toEmail' and 'fromEmail' fields with your desired addresses.
- Configure SMTP Credentials: In the 'Send Email through SMTP' node, set up your SMTP server details and authentication in the credentials section.
- Review and Activate: Ensure all connections and parameters are correct, then activate the workflow to start receiving update notifications.
Apps Used
Workflow JSON
{
"id": "cd255cca-5164-4588-a7fb-a1c469f85ab7",
"name": "Automated Server Update Notifications",
"nodes": 6,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: cd255cca-5164...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.
Visualize Your n8n Workflows: Interactive Dashboard with Mermaid.js
Gain unparalleled visibility into your n8n automation landscape. This workflow transforms your n8n instance into a dynamic, interactive dashboard, leveraging Mermaid.js to visualize all your workflows in one accessible place.