snowflake-webhooks-events

Solid

Implement Snowflake event-driven patterns with alerts, notifications, and external functions. Use when setting up Snowflake alerts, email notifications, external API calls, or event-driven pipelines triggered by Snowflake data changes. Trigger with phrases like "snowflake alerts", "snowflake notifications", "snowflake events", "snowflake external function", "snowflake email".

AI & Automation 2,266 stars 315 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

# Snowflake Webhooks & Events ## Overview Snowflake uses alerts, email notifications, external functions, and notification integrations for event-driven patterns (not traditional webhooks). ## Prerequisites - ACCOUNTADMIN or role with `CREATE ALERT` privilege - Email notification integration configured - For external functions: API Gateway (AWS/GCP/Azure) configured - For S3/GCS event notifications: Snowpipe configured ## Instructions ### Step 1: Snowflake Alerts (Built-in Event System) ```sql -- Alert when daily revenue drops below threshold CREATE OR REPLACE ALERT revenue_drop_alert WAREHOUSE = ANALYTICS_WH SCHEDULE = '60 MINUTE' IF (EXISTS ( SELECT 1 FROM daily_order_metrics WHERE metric_date = CURRENT_DATE() AND total_revenue < ( SELECT AVG(total_revenue) * 0.5 FROM daily_order_metrics WHERE metric_date BETWEEN DATEADD(days, -30, CURRENT_DATE()) AND DATEADD(days, -1, CURRENT_DATE()) ) )) THEN CALL SYSTEM$SEND_EMAIL( 'revenue_notifications', 'oncall@company.com', 'Revenue Alert: Below 50% of 30-day average', 'Daily revenue has dropped significantly. Check dashboard.' ); ALTER ALERT revenue_drop_alert RESUME; -- Alert when warehouse credits exceed daily budget CREATE OR REPLACE ALERT credit_usage_alert WAREHOUSE = ANALYTICS_WH SCHEDULE = '30 MINUTE' IF (EXISTS ( SELECT 1 FROM SNOWFLAKE.ACCOUNT_USAGE.WAREHOUSE_METERING_HISTORY WHERE start_time >= CUR...

Details

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

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

snowflake-observability

Set up Snowflake observability using ACCOUNT_USAGE views, alerts, and external monitoring. Use when implementing Snowflake monitoring dashboards, setting up query performance tracking, or configuring alerting for warehouse and pipeline health. Trigger with phrases like "snowflake monitoring", "snowflake metrics", "snowflake observability", "snowflake dashboard", "snowflake alerts".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-reliability-patterns

Implement Snowflake reliability patterns: replication, failover, Time Travel recovery, and application-level resilience for Snowflake integrations. Use when building fault-tolerant pipelines, configuring disaster recovery, or adding resilience to production Snowflake services. Trigger with phrases like "snowflake reliability", "snowflake failover", "snowflake replication", "snowflake disaster recovery", "snowflake Time Travel".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-prod-checklist

Execute Snowflake production readiness checklist with monitoring and rollback. Use when deploying Snowflake pipelines to production, preparing for go-live, or validating production Snowflake configuration. Trigger with phrases like "snowflake production", "snowflake go-live", "snowflake launch checklist", "snowflake prod ready".

2,266 Updated today
jeremylongshore
AI & Automation Solid

snowflake-policy-guardrails

Implement Snowflake governance guardrails with network rules, session policies, authentication policies, and automated compliance checks. Use when enforcing security policies, implementing data governance, or configuring automated compliance for Snowflake. Trigger with phrases like "snowflake policy", "snowflake guardrails", "snowflake governance", "snowflake compliance", "snowflake enforce".

2,266 Updated today
jeremylongshore
AI & Automation Featured

snowflake-known-pitfalls

Identify and avoid Snowflake anti-patterns and common mistakes in SQL, warehouse management, data loading, and access control. Use when reviewing Snowflake configurations, onboarding new users, or auditing existing Snowflake deployments for best practices. Trigger with phrases like "snowflake mistakes", "snowflake anti-patterns", "snowflake pitfalls", "snowflake what not to do", "snowflake code review".

2,266 Updated today
jeremylongshore