Skip to content

[Feature Request] Webhook Template Filters / String Formatters (e.g., slugify, lowercase) for Third-Party API Integrations #3394

Closed as duplicate

Description

@IBIMSEINES

Description

Currently, Seerr supports custom JSON payloads and variables in the Webhook notification agent. However, variables like {{subject}} or {{media.title}} only output raw string values (e.g., "Naruto Shippuden").

Many specialized third-party downloaders—particularly regional anime downloaders like AniWorld Downloader—do not have native Sonarr/Radarr indexer integrations. Instead, they expose lightweight REST APIs that expect formatted URL slugs (e.g., naruto-shippuden) or lowercased strings in their JSON payload to trigger downloads.

Without string transformation helpers in Seerr, users cannot connect Seerr directly to these APIs. They are forced to deploy, host, and maintain external proxy middleware (such as Node-RED, Python Flask containers, or custom webhooks) solely to transform plain text titles into valid URL slugs before forwarding the request.

Desired Behavior

Implement template filters/formatters into the Webhook JSON payload editor (similar to Liquid, Jinja, or Handlebars filters).

Requested Filter Examples:

  • {{subject | slugify}} -> Converts "Naruto Shippuden" to "naruto-shippuden"
  • {{subject | lowercase}} -> Converts "Naruto" to "naruto"
  • {{subject | urlencode}} -> Encodes special characters for URL safety

How this enables direct API integration:
By adding string filters, Seerr webhooks could construct target URLs dynamically on the fly. This allows users to trigger third-party download APIs directly from Seerr with zero middleman software involved.

Additional Context

Primary Case Study: Direct Integration with AniWorld Downloader

The AniWorld Downloader exposes a simple REST API endpoint (POST /api/download) to queue anime downloads. It expects the series URL built from a clean slug:

Target API Expects:

{
  "title": "Naruto Shippuden",
  "series_url": "[https://aniworld.to/anime/stream/naruto-shippuden](https://aniworld.to/anime/stream/naruto-shippuden)",
  "language": "German Dub",
  "provider": "VOE"
}

With Template Filters in Seerr, the configured Webhook payload would simply be:

{
  "title": "{{subject}}",
  "series_url": "[https://aniworld.to/anime/stream/](https://aniworld.to/anime/stream/){{subject | slugify}}",
  "language": "German Dub",
  "provider": "VOE"
}

By supporting basic string formatters in Seerr's existing webhook engine, Seerr could seamlessly interface with tools like AniWorld Downloader and many other custom download automation scripts out of the box.

Search Existing Issues

  • Yes, I have searched existing issues.

Code of Conduct

  • I agree to follow Seerr's Code of Conduct

Activity

  1. added
    awaiting triage
    on Aug 14, 2026
  2. M0NsTeRRR commented on Aug 14, 2026

    @M0NsTeRRR
    Member

    This will be possible with the linked PR of the duplicated issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions