PostHog weekly active users by company
“from our posthog weekly active users by company export, take the week starting 9 november as the latest week and show one row per company, flagging companies whose active users dropped by more than half from their four week average, companies with no activity in the last two weeks, and users with no company attached”
From PostHog weekly active users by company export, using Companies, take the week starting 9 november as the latest week and show one row per company, flagging companies whose active users dropped by more than half from their four week average, companies with no activity in the last two weeks, and users with no company attached.
What the agent built
3 steps, each one an ordinary Mammoth step you can open and change.
- FilePostHog weekly active users by company exportCSV export · 40 rows
- FileCompaniesCSV export · 5 rows
- StepSummarize recent weekly activityStep 1
- JoinAdd company names5 of 6 paired
- StepFlag companies to reviewStep 3
- ResultCompany activity flags6 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 6 rows.
- Download PostHog weekly active users by company export sample (40 rows)PostHog: Insights > Weekly Active Users > Break down by Company ID > Export CSV
- Download Companies sample (5 rows)PostHog: People > Companies > Export CSV
What you get back
The result of that run, the rows to look at first.
| Company | Company ID | Latest active users | Four-week average | Drop flag | Activity flag | Company flag |
|---|---|---|---|---|---|---|
| Aster Lane | co_118 | 4 | 12 | Dropped by more than half | · | · |
| BrightOrbit | co_204 | 0 | 8.25 | Dropped by more than half | No activity in the last two weeks | · |
| No company attached | (none) | 8 | 1.75 | · | · | No company attached |
| Copperfield Ops | co_442 | 13 | 11.25 | · | · | · |
| Morrow Peak | co_559 | 10 | 9.25 | · | · | · |
| Northstar Ledger | co_317 | 11 | 10 | · | · | · |
How it works
How to use the Company activity flags workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Company activity flags: questions
How do you review weekly active users by company in PostHog?
What export should you use for this workflow?
What happens to rows that do not match a company?
How do you change the review rules?
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
The number you report every month, rebuilt from the latest export, plus the forecast that follows from it.
- Customer lifetime value by cohortWork out customer lifetime value by signup month cohort from Shopify customers and orders exports, with revenue per customer and average order count.See the workflow Built by the agent
- Profit and loss by monthBuild a monthly profit and loss statement from a QuickBooks general ledger export, with revenue, COGS, gross profit, expenses, and net income.See the workflow Built by the agent
- Pareto (ABC) analysisEvery item ranked by its total, with its share, the running share and an A, B or C classSee the workflow Template
- Inventory turnover by SKURank Shopify SKUs by inventory turnover ratio using product, order, and inventory exports from the last 12 months.See the workflow Built by the agent
- Cohort retentionEach month's new customers, and the share still buying 1, 2, 3… months laterSee the workflow Template
- Customer segmentation by revenueSegment Stripe customers into revenue tiers from exported customer, charge, and threshold files, then count customers and revenue in each tier.See the workflow Built by the agent