{% extends "base.html" %} {% block title %}sendword — {% if is_new %}new hook{% else %}edit {{ form_name }}{% endif %}{% endblock %} {% block crumbs %}
HOOKS/ {% if is_new %} NEW {% else %} {{ slug | upper }}/ EDIT {% endif %}
{% endblock %} {% block content %}
{# --- Basic Info --- #}
BASIC INFO
{% if is_new %} Lowercase letters, numbers, and hyphens. Used in the webhook URL. {% else %} Slug cannot be changed after creation. {% endif %}
{# --- Authentication --- #}
AUTHENTICATION
How callers authenticate when triggering this hook.
Use ${ENV_VAR} syntax to reference an environment variable.
HTTP header containing the HMAC signature.
Use ${ENV_VAR} syntax to reference an environment variable.
{# --- Executor --- #}
EXECUTOR
Choose how sendword should run this hook.
Shell commands may use payload interpolation like {{ "{{ action }}" }}.
Duration with unit, e.g. 30s, 2m, 1h. Leave blank for default.
One variable per line, in KEY=VALUE format.
{# --- Payload Schema --- #}
PAYLOAD SCHEMA
One field per line: name:type or name:type:required. Types: string, number, boolean, object, array.
{# --- Trigger Rules --- #}
TRIGGER RULES
One filter per line: field:operator:value. Operators: equals, not_equals, contains, regex, gt, lt, gte, lte, exists.
One window per line: Days:HH:MM-HH:MM. Leave blank to allow at any time.
Duration with unit, e.g. 30s, 5m, 1h.
{# --- Retry --- #}
RETRY
0 = no retries.
{# --- Actions --- #}
CANCEL
{% endblock %}