Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Автоматизация эл. почты

Автоматизация эл. почты

Approve and log rack power overage charges with Google Sheets, Gmail and OpenAI

When an API call/webhook arrives, it handles email with OpenAI / ChatGPT using Data Table, Gmail, Google Sheets, Telegram.

Что делает

DATA CENTER COLOCATION RACK POWER OVERAGE BILLING APPROVAL Value: turns a raw DCIM power-threshold alert into a manager-approved, correctly-tiered overage charge with a full audit trail. WHO IT'S FOR: colocation operations and billing teams who currently calculate power overage charges by hand and chase down manager sign-off over email or Slack. HOW IT WORKS: 1. Webhook receives a rack power threshold alert from the DCIM monitoring system. 2. Normalize + Fetch Contract pull the customer's contracted kW allocation. 3. Compute Overage Amount & Billing Tier (Code) applies a grace band and a 3-tier $/kW rate — real math, not a prompt. 4. Branch 1 exits draws within the grace band with no charge. 5. For billable overages, AI drafts a factual invoice-adjustment explanation. 6. A Gmail send-and-wait pauses the workflow for ops manager approval (Approve / Edit / Reject) — nothing bills without a human. 7. Branch 2 (3-way) commits the charge, applies a manager override amount, or waives it entirely. 8. Every outcome merges into one audit log across a Data Table, a Sheets ledger, and a Telegram alert to finance. NODE SUMMARY: Rack Power Threshold Alert (webhook) -> Normalize Alert Payload -> Fetch Customer Contract Power Allocation -> Compute Overage Amount & Billing Tier (Code) -> Check Overage Threshold (branch) -> Draft Overage Invoice Adjustment (AI) / Log Grace Period Pass -> Request Ops Manager Approval (send-and-wait) -> Branch on Approval (branch, 3-way) -> Commit Overage Charge / Apply Manager Override Amount / Log Waiver Granted -> Notify Customer No Charge -> Merge Billing Outcomes -> Shape Billing Record -> Log Billing Decision -> Update Sheets Billing Ledger -> Notify Finance. INPUT: a DCIM power-threshold alert webhook. OUTPUT: a committed billing charge (or waiver), a customer email where relevant, and a billing-decision log in a Data Table, Sheet, and Telegram alert. STICKY COLOUR LEGEND: trigger=1 (yellow), transform=2 (grey/teal), ai=3 (purple/blue), branch=4 (orange), storage=5 (green), notify=6 (red/pink).

Шаги

  1. Rack Power Threshold Alert
  2. Normalize Alert Payload
  3. Fetch Customer Contract Power Allocation
  4. Compute Overage Amount & Billing Tier
  5. Check Overage Threshold
  6. Log Grace Period Pass
  7. Draft Overage Invoice Adjustment
  8. Overage Drafting Model
  9. Request Ops Manager Approval
  10. Branch on Approval
  11. Apply Manager Override Amount
  12. Log Waiver Granted
  13. Notify Customer No Charge
  14. Commit Overage Charge

Всего шагов: 19.

Похожие автоматизации