İçeriğe geç
YENİAlaaddin ile tanış: sesi olan yapay zekâ cinin. trig8n 1 Ocak 2027'de yayında. Yeniliklere bak

Kütüphane / İzleme, Operasyon ve Olaylar

İzleme, Operasyon ve Olaylar

Audit and cancel unused SaaS seats with Google Sheets, OpenAI and Slack

On a schedule, it monitors systems with OpenAI / ChatGPT using Google Sheets, Slack, Zoom.

Ne yapar

## 💰 SaaS Subscription Audit & Auto-Cancel Unused Seats ### How it works Every week, the workflow reads your subscription inventory from Google Sheets and loops through each seat. Per-platform HTTP calls fetch real usage data — Google Workspace, Slack, Zoom, or a generic SaaS API. A code node normalises the raw responses into a uniform structure, then GPT-4o-mini assesses whether the seat is unused and what action to take. Unused seats trigger a cost-threshold check: high-cost seats (above a configurable dollar threshold) require a Slack approval before cancellation — the workflow waits for a manager to approve or reject via inline button. Low-cost unused seats are cancelled directly without asking. Every decision — active, cancelled, or rejected — is logged to the Audit Log sheet. After all seats are processed, a Slack summary report is posted with the run totals. ### Setup steps 1. Connect Google Sheets OAuth2 and create a sheet with tabs: Subscriptions, Audit Log. Replace YOUR_GOOGLE_SHEET_ID in all four Sheets nodes. 2. Connect OpenAI API to the AI assessment node. 3. Connect Slack OAuth2 and replace YOUR_SLACK_CHANNEL_ID in the approval request, summary, and error nodes. 4. Add real API credentials and endpoints to the four platform usage nodes (Google Workspace, Slack, Zoom, Generic). 5. Set the high-cost threshold in the Is High Cost Seat? node to match your policy. 6. Activate the weekly schedule trigger.

Adımlar

  1. Weekly Audit Trigger
  2. Get Subscription Inventory
  3. Loop Over Subscriptions
  4. Route By Platform
  5. Google Workspace - Get Last Login
  6. Slack - Get User Activity
  7. Zoom - Get User Activity
  8. Generic SaaS - Get Usage
  9. Normalize Usage Data
  10. Parse AI Decision
  11. Is Unused Seat?
  12. Log Active Seat
  13. Is High Cost Seat?
  14. Request Approval - Slack

Toplam 24 adım.

Benzer otomasyonlar