API Monitor Auto Restart
detail.loadingPreview
Workflow to automatically monitor API health and restart services if issues are detected. It logs status to Google Sheets and alerts via Slack.
🚀Ready to Deploy This Workflow?
About This Workflow
This workflow acts as an automated API health monitoring system. Upon receiving data via a webhook, it processes the information, stores embeddings of relevant text in Weaviate for retrieval, and uses a RAG agent to determine actions. Successful processing logs the status to a Google Sheet, while errors trigger a Slack alert.
Key Features
- Webhook Trigger: Initiates the workflow with incoming API status data.
- Text Splitting: Segments incoming data for processing.
- Embeddings Generation: Creates vector representations of text data using OpenAI.
- Weaviate Integration: Stores and retrieves vector embeddings for contextual understanding.
- RAG Agent: Leverages a Retrieval Augmented Generation agent to process and understand data in context.
- Google Sheets Logging: Appends the processing status to a specified Google Sheet.
- Slack Alerts: Notifies a designated Slack channel in case of errors.
How To Use
- Trigger: Send a POST request to the configured webhook URL (
api-monitor-auto-restart). The request body should contain the data to be processed. - Processing: The workflow splits the incoming text, generates embeddings, and stores them in Weaviate. A RAG agent then uses this information to determine the output.
- Logging: The output from the
RAG Agentnode is appended to the 'Log' sheet in the Google Sheet specified bySHEET_ID. - Alerting: If any node encounters an error during execution, a Slack alert will be sent to the
#alertschannel.
Apps Used
Workflow JSON
{
"id": "be1d3743-b029-461e-9e7a-e0b1c2e27c3d",
"name": "API Monitor Auto Restart",
"nodes": 0,
"category": "Monitoring",
"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: be1d3743-b029...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Get SSL Certificate Status and Notify on Expiry
Checks the SSL certificate validity for a given domain and sends an alert if it has expired.
Automated Health Check for URLs
This workflow periodically checks the availability of a list of URLs from a Google Sheet and sends alerts via Telegram if issues are detected.
Automated Error Notification Workflow
Automatically notifies you via various channels when any of your n8n workflows encounter an error.