Flagsmith Trigger icon

Flagsmith Trigger

Starts the workflow when a Flagsmith flag changes

Flagsmith Trigger

AI-generated

Summary

Receives Flagsmith flag-change webhooks and starts the workflow with the webhook payload. Optionally filters events by the feature name in data.new_state.feature.name; verifies the webhook signature when a signing secret is stored.

Inputs

  • Environment Key (required) — Flagsmith environment API key for the environment to watch. The trigger registers and removes its webhook at the corresponding environment endpoint.
  • Feature Names — Optional comma-separated feature names. When provided, only payloads whose data.new_state.feature.name exactly matches one of the trimmed names trigger the workflow; payloads without that field are filtered out.
  • Flagsmith Admin API credentials (required) — Admin API credentials used to register and delete the Flagsmith webhook.

Output shape

One item containing the incoming webhook JSON payload when it passes the optional feature filter; no items when it does not.

The trigger verifies x-flagsmith-signature against the raw request body using the stored webhook secret. Invalid signatures receive HTTP 401 and do not start the workflow. Registration requires a webhook URL reachable by Flagsmith.

Links

Discussion