Go to website
Back
Articles on:
Data Management
Managing data in Flagsmith, with integrations, or exporting it to your own infrastructure.
How would I define an experiment for a subset of users based on existing traits in a CDP?
We have integrations between our platform and many popular CDP platforms. For example we have an integration with Amplitude which sends user flags from our API to Amplitude behind the scenes. This then allows customers to use Amplitude to work with this data downstream. Our current list of integrations can be found here - https://docs.flagsmith.com/integrations/amplitude/ We're always working on adding customer requested integrations, let us know if there is an integration you are interested
Some readers
Is there a way to get a list users that have a certain trait via the API?
Unfortunately Flagsmith does not have this capability at the moment.
Some readers
What events can I send from Flagsmith into my own infrastructure?
We have webhooks for both flag change events and audit log events. We do not have webhooks at the user level at present. More info here: https://docs.flagsmith.com/system-administration/
Some readers
How do I keep sensitive customer data within my own systems while still registering them as Identities in Flagsmith?
You are in control of what traits you send, so for example you could send us tenancy ID that the user is working within, and then use that to define a segment. Additionally, with Enterprise customers we have a setting we can utilize that when enabled, allows you to send us the data so that our segment engine can process it and provide the relevant results, but never persist the data to disk.
Some readers
Is it possible to export the users to a .CSV or something similar?
Yes, you can grab them via the API.
Some readers
Is it possible to query the users who have a particular flag turned on or off?
Yes, you can do something like: https://api.flagsmith.com/api/v1/environments//identities/?page=2&page_size=10 Then you can filter if you open our browser inspector. It's possible to search against ID: /identities/?q=produc&page_size=10
Some readers
Can I set up an asynchronous process to fetch the most recent flags and cache the result for an offline client to use?
A best practice used is using eg. Redis and a webhook set up to point to their infrastructure which in turn keeps Redis up to date. There is not an implementation for caching on the server side as it's difficult for Flagsmith to know what sort of resources you have available at runtime.
Some readers