posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Feature Request: Name exports after the data they contain, not export.csv for example

Open HaynesPostHog opened this issue 9 months ago • 1 comments

Feature request

Is your feature request related to a problem?

Using a generic name like "export.csv" makes it difficult to manage when downloading multiple files, as they all end up with the same name.

Describe the solution you'd like

Dynamically name the CSV file based on the cohort name (e.g., "power-users-cohort.csv" or "trial-users-cohort.csv"). A datestamp of the export time would also be a nice addition.

Additional context

From: https://posthoghelp.zendesk.com/agent/tickets/31183

Debug info

Kind: feedback

Target area: cohorts

Report event: http://go/ticketByUUID/2911aec2-9c14-4405-9477-0a03a7046edc

Session: https://us.posthog.com/project/sTMFPsFhdP1Ssg/replay/0196f294-421f-7baf-bcea-64e8057fd736?t=4352

Exceptions: https://us.posthog.com/project/2/error_tracking?filterGroup=%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22type%22%3A%22AND%22%2C%22values%22%3A%5B%7B%22key%22%3A%22%24session_id%22%2C%22value%22%3A%5B%220196f294-421f-7baf-bcea-64e8057fd736%22%5D%2C%22operator%22%3A%22exact%22%2C%22type%22%3A%22event%22%7D%5D%7D%5D%7D

Location: https://us.posthog.com/project/87322/cohorts

Persons-on-events mode for project: person_id_override_properties_on_events

HaynesPostHog avatar May 23 '25 20:05 HaynesPostHog

Hi @benHPostHog I would like to work on this issue, if its not fixed already

Indira-kumar avatar Jun 16 '25 07:06 Indira-kumar

We're including cohort name in exports as of https://github.com/PostHog/posthog/pull/32464 - there's already code that would allow this to be extended for other export types that don't already do this

luke-belton avatar Jun 20 '25 06:06 luke-belton