Skip to content

Add webhook-notification building block#34

Draft
wentzeld wants to merge 2 commits intomainfrom
add/webhooknotification
Draft

Add webhook-notification building block#34
wentzeld wants to merge 2 commits intomainfrom
add/webhooknotification

Conversation

@wentzeld
Copy link
Contributor

@wentzeld wentzeld commented Mar 2, 2026

Summary

  • New building block under building-blocks/webhook-notification/
  • TypeScript and Go variants
  • Cron trigger → Read Chainlink Data Feed → POST to webhook via ConfidentialHTTPClient
  • Config-driven support for Slack and Telegram webhook formats
  • Both variants pass cre workflow simulate

Test plan

  • cre workflow simulate my-workflow passes for TS (httpbin.org/post, status 200)
  • cre workflow simulate my-workflow passes for Go (httpbin.org/post, status 200)
  • Review README instructions for clarity

wentzeld added 2 commits March 2, 2026 12:21
  Adds a new building block that reads a Chainlink Data Feed on-chain
  and sends a price notification to Slack or Telegram via confidential
  HTTP webhook. Includes both TypeScript and Go variants.
  New building block demonstrating VaultDON secret injection via
  {{.pagerdutyRoutingKey}} body templates with ConfidentialHTTPClient.
  Includes both TypeScript and Go variants.
@wentzeld
Copy link
Contributor Author

wentzeld commented Mar 3, 2026

Updated

  • New building-blocks/webhook-alerting with TS and Go variants
  • Demonstrates VaultDON secret injection ({{.pagerdutyRoutingKey}} in request body)
  • PagerDuty Events API v2 integration via ConfidentialHTTPClient
  • Updated top-level README with new entry + clarified webhook-notification description

Test plan

  • webhook-alerting-ts simulation passes (httpbin.org -> 200)
  • webhook-alerting-go simulation passes (httpbin.org -> 200)
  • webhook-notification-ts still passes unchanged
  • webhook-notification-go still passes unchanged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant