Actions4
- Environment Actions
- Feature Actions
- Identity Actions
Feature → Update Feature State
AI-generatedSummary
Sets a feature flag’s enabled state and value for a Flagsmith environment by posting the full state to the update-flag endpoint.
Inputs
- Environment Key (required) — The environment API key to target.
- Feature Name or ID (required) — Select a feature or provide its ID. The options are loaded for the selected environment.
- Enabled — Whether the feature is enabled in the environment; defaults to false.
- Value Type — Type of value to set: Boolean, Integer, or String; defaults to String.
- Value — Value to set, sent as a string. Use "true" or "false" for Boolean and a number for Integer. Defaults to an empty string.
- Request Options — Optional batching, SSL certificate validation, proxy, and timeout settings.
Output shape
A list of n8n items containing the HTTP response body.
The operation sends both enabled and value on every request, so both are applied as a full state update. The feature ID is converted to a number in the request.