Skip to content

Function: createSlackWebhookBuilder() ​

ts
function createSlackWebhookBuilder(webhookUrl): SlackNotifierNode;

Defined in: slack/src/builders/create-slack-webhook-builder.ts:15

Compiles a passive SlackNotifierNode for a one-way Slack incoming webhook (slack.webhook).

Produces a frozen AST node with type: 'slack:notifier' and interactionMode: 'notify-only' used for outbound signal alerts without interactive human decision prompts.

Parameters ​

ParameterTypeDescription
webhookUrlstring | EnvRefSlack incoming webhook URL or symbolic P.env(...) reference.

Returns ​

SlackNotifierNode

Frozen passive Slack webhook notifier AST node.

Throws ​

If a literal webhookUrl string is empty.

Released under the MIT License.