Библиотека / Мониторинг, эксплуатация и инциденты
Мониторинг, эксплуатация и инциденты
Сортировка действий по истечению срока годности в аптеке с Sheets, Slack, Gmail и Gemini
Запускается каждое утро, отмечает партии товара, срок годности которых близок к окончанию, Gemini готовит сводку для фармацевта на утверждение в Slack, после чего выполняет одобренные обновления в таблицах и отправляет письма.
Что делает
## 💊 Pharmacy Expiry Cascade ### How it works This workflow runs every morning to read pharmacy inventory, sales, branch stock, and supplier policy data from Google Sheets, then calculates which batches are approaching expiry. It packages recommended actions, uses Gemini to create a pharmacist-facing briefing, and sends it to Slack for approval. Approved actions are logged, routed, and executed through sheet updates, branch or supplier emails, and compliance alerts. ### Setup steps - Configure Google Sheets credentials and set the correct sheet_id in the Config node, ensuring the inventory, sales log, branch stock, supplier policies, decision log, reorder, and batch status sheets/tabs have the expected columns. - Configure Slack credentials, the slack_channel_id, and any Slack interactivity/approval settings needed for the Pharmacist Approval and Compliance Alert nodes. - Configure Google Gemini credentials for the Gemini Chat Model used by the Pharmacist Briefing chain. - Configure Gmail credentials for the branch and supplier email nodes, and set email_override if test routing or a fixed recipient is required. - Review the Daily 6AM schedule timezone and set horizon_days to the desired expiry look-ahead window. ### Customization Adjust horizon_days, supplier policy fields, approval text, routing rules, and the email/Slack message templates to match the pharmacy’s operating procedures and escalation thresholds. @youtube
Шаги
- When Scheduled Daily at 6AM
- Set Configuration Parameters
- Read Inventory from Sheets
- Read Sales Log from Sheets
- Read Branch Stock from Sheets
- Read Supplier Policies from Sheets
- Calculate Expiry Decisions
- Aggregate Expiry Actions
- Prepare Pharmacist Briefing
- Send Approval Request via Slack
- Set Decision Fields
- Split Action List
- Append Decision to Sheets
- Check Approval Status
Всего шагов: 22.
Похожие автоматизации
Мониторинг, эксплуатация и инцидентыОтмечать заказы B2B с риском оттока из Google Sheets с помощью Gemini и оповещениями в SlackШагов: 22Мониторинг, эксплуатация и инцидентыTriage hospital FHIR observations with Google Gemini, Google Sheets, and SlackШагов: 15Мониторинг, эксплуатация и инцидентыОтмечать рискованные B2B-заказы из Google Sheets с помощью Gemini и оповещать отдел продаж в SlackШагов: 19Мониторинг, эксплуатация и инцидентыMonitor competitor prices and stock with Gemini, Google Sheets and Slack alertsШагов: 31