clari-webhooks-events

Featured

Monitor Clari forecast changes using export job polling and change detection. Use when tracking forecast submission changes, building alerts for significant forecast movements, or syncing Clari data in near-real-time. Trigger with phrases like "clari webhooks", "clari notifications", "clari forecast alerts", "clari change detection".

AI & Automation 2,359 stars 334 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Clari Webhooks & Events ## Overview Clari does not provide real-time webhooks. Instead, build change detection by comparing periodic exports. This skill covers scheduled export diffing, Slack alerts for forecast movements, and Copilot webhook integration. ## Instructions ### Step 1: Forecast Change Detection Pipeline ```python # forecast_monitor.py import json from pathlib import Path from datetime import datetime def detect_changes( current: list[dict], previous: list[dict], threshold_pct: float = 10.0, ) -> list[dict]: prev_map = {e["ownerEmail"]: e for e in previous} changes = [] for entry in current: prev = prev_map.get(entry["ownerEmail"]) if not prev: continue prev_fc = prev["forecastAmount"] curr_fc = entry["forecastAmount"] if prev_fc == 0: continue change_pct = ((curr_fc - prev_fc) / prev_fc) * 100 if abs(change_pct) >= threshold_pct: changes.append({ "rep": entry["ownerName"], "previous": prev_fc, "current": curr_fc, "change_pct": round(change_pct, 1), "direction": "increased" if change_pct > 0 else "decreased", "detected_at": datetime.utcnow().isoformat(), }) return sorted(changes, key=lambda x: abs(x["change_pct"]), reverse=True) def save_snapshot(entries: list[dict], path: str = "data/latest.json"): Path(path).parent.mkdir...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
8 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category