{% extends "layouts/base.html" %} {% load static %} {% block title %} {% if object %}Edit Notification Channel{% else %}Create Notification Channel{% endif %} - Stream Processor {% endblock %} {% block content %}

{% if object %} Edit Notification Channel {% else %} Create Notification Channel {% endif %}

{% if object %} Update the notification channel configuration and settings. {% else %} Configure a new notification channel for receiving alerts and updates. {% endif %}

Back to Channels
{% csrf_token %}
Basic Information
{{ form.name }} {% if form.name.errors %}
{{ form.name.errors.0 }}
{% endif %}
A descriptive name for this notification channel.
{{ form.channel_type }} {% if form.channel_type.errors %}
{{ form.channel_type.errors.0 }}
{% endif %}
Select the type of notification delivery method.
{{ form.is_active }}
{% if form.is_active.errors %}
{{ form.is_active.errors.0 }}
{% endif %}
Enable this channel to receive notifications.
Channel Configuration
{{ form.configuration }} {% if form.configuration.errors %}
{{ form.configuration.errors.0 }}
{% endif %}
{{ form.configuration.help_text }}
Configuration Examples
Email: {"email": "admin@example.com"}
Webhook: {"url": "https://api.example.com/webhook", "headers": {"Authorization": "Bearer token"}}
Slack: {"webhook_url": "https://hooks.slack.com/services/...", "channel": "#alerts"}
Advanced Settings
{{ form.rate_limit }} {% if form.rate_limit.errors %}
{{ form.rate_limit.errors.0 }}
{% endif %}
Maximum notifications per minute.
{{ form.retry_attempts }} {% if form.retry_attempts.errors %}
{{ form.retry_attempts.errors.0 }}
{% endif %}
Number of retry attempts on failure.
{{ form.timeout_seconds }} {% if form.timeout_seconds.errors %}
{{ form.timeout_seconds.errors.0 }}
{% endif %}
Request timeout in seconds.
{% if object %} {% else %} {% endif %} Cancel
{% if object %} {% endif %}
{% if object %} {% endif %}
{% endblock %}