Flagsmith icon

Flagsmith

Read and control Flagsmith feature flags

Actions4

Identity → Set Trait

AI-generated

Summary

Writes one or more traits to a Flagsmith identity and re-evaluates its segments. Sends the identity identifier and traits in a POST request to /identities/ using the configured Environment API credentials.

Inputs

  • Identifier (required) — Identity identifier, such as a user ID or email.
  • Traits — Add one or more traits, each with a string Key and Value. The node sends them as trait_key and trait_value pairs; if none are configured, it sends an empty traits list.
  • Request Options — Optional batching, SSL certificate validation, HTTP proxy, and request timeout settings.

Output shape

A list of n8n items containing the Flagsmith API response.

The node makes a POST request to /identities/ and passes the response through the standard n8n HTTP routing. The exact response fields depend on the Flagsmith API.

Links

Discussion