This repository has been archived on 2026-04-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
core/packages/webhook-notifier/manifest.json
Jeffrey Smith 446edb8333 Feat v0.9.6 deprecate stage_type, collapse stage_mode
stage_type no longer validated — starlark_hook presence determines
automation. stage_mode collapsed from 4→3 values (form/delegated/
automated); "review" mapped to "form" on input for backward compat.
Migration 018 converts existing rows. Review surface removed (~110
lines). 4 package manifests updated.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 17:41:55 +00:00

77 lines
2.1 KiB
JSON

{
"id": "webhook-notifier",
"title": "Webhook Notifier",
"type": "workflow",
"version": "0.1.0",
"tier": "starlark",
"icon": "🔔",
"author": "Armature",
"description": "Outbound webhook delivery with connection credential support and delivery logging.",
"permissions": ["api.http", "connections.read", "db.write"],
"db_tables": {
"webhook_log": {
"columns": {
"url": "text",
"status_code": "text",
"event": "text",
"instance_id": "text"
}
}
},
"workflow_definition": {
"name": "Webhook Notifier",
"slug": "webhook-notifier",
"entry_mode": "team_only",
"stages": [
{
"name": "configure",
"ordinal": 0,
"stage_mode": "form",
"audience": "team",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Webhook Configuration",
"fields": [
{ "key": "webhook_url", "label": "Webhook URL", "type": "text", "required": true },
{ "key": "event_name", "label": "Event Name", "type": "text", "required": true },
{ "key": "payload", "label": "Custom Payload (JSON)", "type": "textarea" }
]
}
]
}
},
{
"name": "fire-webhook",
"ordinal": 1,
"stage_mode": "automated",
"audience": "system",
"auto_transition": true,
"starlark_hook": "webhook-notifier:on_fire"
},
{
"name": "result",
"ordinal": 2,
"stage_mode": "form",
"audience": "team",
"auto_transition": false,
"form_template": {
"fieldsets": [
{
"label": "Delivery Result",
"fields": [
{ "key": "delivery_status", "label": "Status", "type": "text" },
{ "key": "status_code", "label": "HTTP Status Code", "type": "text" },
{ "key": "response_body", "label": "Response", "type": "textarea" }
]
}
]
}
}
]
}
}