Inventory Slack Alert Workflow
detail.loadingPreview
Triggers an alert based on inventory changes, processes data using RAG, and logs results.
About This Workflow
This workflow is designed to monitor inventory-related events and trigger alerts. It utilizes a webhook trigger to receive data, processes it through text splitting and embeddings for language model interaction, stores and retrieves information from Pinecone, and leverages a RAG (Retrieval Augmented Generation) agent to generate responses. The results are logged to a Google Sheet, and error notifications are sent via Slack.
Key Features
- Webhook Trigger: Initiates the workflow upon receiving external data.
- Text Splitting: Divides incoming text into manageable chunks for processing.
- Embeddings: Converts text into numerical representations using Cohere for semantic understanding.
- Pinecone Integration: Stores and retrieves vector embeddings for knowledge retrieval.
- RAG Agent: Utilizes a retrieval-augmented generation agent for sophisticated text processing and response generation.
- Google Sheets Logging: Appends processed results to a specified Google Sheet.
- Slack Alerts: Sends notifications to a Slack channel for errors.
How To Use
- Webhook Trigger: Configure the webhook URL to receive inventory update events.
- Text Splitter: Adjust
chunkSizeandchunkOverlapas needed based on your data's characteristics. - Embeddings: Ensure your Cohere API key is correctly configured.
- Pinecone Insert/Query: Set up your Pinecone index (
inventory_slack_alert) and credentials. - Chat Model: Configure your OpenAI API key for the RAG agent.
- RAG Agent: Define the system message and customize the prompt for your specific needs. The input to the RAG agent is passed as
{{ $json }}. - Append Sheet: Configure your Google Sheets credentials and specify the
SHEET_IDandLogsheet name. The 'Status' column will be populated with the text output from the RAG Agent. - Slack Alert: Configure your Slack API credentials and the target channel for error notifications.
Apps Used
Workflow JSON
{
"id": "efbabf3c-4cf4-48c3-8ebe-9b98ea3d4eab",
"name": "Inventory Slack Alert Workflow",
"nodes": 17,
"category": "Automation",
"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: efbabf3c-4cf4...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
Supply Chain Delay Monitor
Automated monitoring and logging of supply chain delays using a webhook, text processing, embeddings, and a vector store.
Automated Google Drive Backup for n8n Workflows
Automatically back up n8n workflows to Google Drive on a schedule.
MCP Server GitHub Agent Tool
Automate GitHub operations using natural language commands via an MCP Server agent.