@audienti/cli 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +49 -0
- package/package.json +1 -1
- package/src/api-client.js +4 -0
- package/src/cli.js +1185 -104
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,28 @@ All notable changes to the Audienti CLI are documented here.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.1.7] - 2026-07-12
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- Show writer test-run target-step error status and warnings when a draft fails instead of rendering an empty drafted-copy block.
|
|
12
|
+
|
|
13
|
+
## [0.1.6] - 2026-07-12
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- Add `audienti writer test-run <prsp_id>` for a single-prospect campaign preview with the no-reply path, planned actions, channel changes, and drafted messages, plus `--mode plan` and `--mode step --step <step_key|row_number>` for fast simulator and targeted writer-debug runs.
|
|
18
|
+
- Add `audienti analytics prospects --cohort-start YYYY-MM-DD --cohort-end YYYY-MM-DD` to inspect prospects by the `AccountProspect.created_at` cohort while keeping `--window` for activity counts.
|
|
19
|
+
- Add `audienti analytics prospects cohort-analysis --weeks <n>` to compare recent weekly prospect cohorts by current pipeline-stage counts.
|
|
20
|
+
- Add `--motion <motn_id>` to prospect analytics so cohorts can be narrowed to one motion/play.
|
|
21
|
+
- Add `--provenance <source>` to prospect analytics for lower-level intake source filters.
|
|
22
|
+
- Add `audienti analytics users --user me` for account-user action audit analytics with date-range, cohort, motion, and provenance filters.
|
|
23
|
+
- Add `audienti motions analytics <motn_id>` to inspect one motion's produced-day prospect cohorts, current active/inactive mix, and funnel stages from `AccountProspect.created_at`.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Group root help by work area and common workflow so `audienti help` is easier to scan.
|
|
28
|
+
|
|
7
29
|
## [0.1.5] - 2026-07-11
|
|
8
30
|
|
|
9
31
|
### Added
|
package/README.md
CHANGED
|
@@ -52,9 +52,12 @@ Common inspection commands:
|
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
54
|
audienti operator next --plan
|
|
55
|
+
audienti writer test-run <prsp_id>
|
|
56
|
+
audienti motions analytics <motn_id>
|
|
55
57
|
audienti prospects show <prsp_id> --json
|
|
56
58
|
audienti prospects list --profiles
|
|
57
59
|
audienti analytics prospects --window 24h
|
|
60
|
+
audienti analytics users --user me --window 30d
|
|
58
61
|
audienti analytics visibility --window 24h --user me
|
|
59
62
|
audienti analytics content --window week
|
|
60
63
|
```
|
|
@@ -67,6 +70,52 @@ audienti operator next --plan
|
|
|
67
70
|
audienti operator next --done --note "Connection request sent."
|
|
68
71
|
```
|
|
69
72
|
|
|
73
|
+
To inspect activity for prospects that entered the account during a specific
|
|
74
|
+
cohort while keeping a separate activity window:
|
|
75
|
+
|
|
76
|
+
```bash
|
|
77
|
+
audienti analytics prospects --cohort-start 2026-07-01 --cohort-end 2026-07-07 --window 7d
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
To compare recent weekly prospect cohorts by their current pipeline stages:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
audienti analytics prospects cohort-analysis --weeks 4 --motion <motn_id>
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
To see whether one motion is producing prospects by day, and where each
|
|
87
|
+
produced-day cohort currently sits in the funnel:
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
audienti motions analytics <motn_id>
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
To audit one account user's outbound actions, optionally narrowed to one motion
|
|
94
|
+
and one AccountProspect.created_at cohort:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
audienti analytics users --user me --start 2026-07-01 --end 2026-07-07 --cohort-start 2026-06-01 --cohort-end 2026-06-30 --motion <motn_id>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
To run a writer campaign test for one prospect, including the no-reply path,
|
|
101
|
+
planned actions, channel changes, and drafted messages:
|
|
102
|
+
|
|
103
|
+
```bash
|
|
104
|
+
audienti writer test-run <prsp_id>
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
For fast simulator work, plan the branches without drafting every message:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
audienti writer test-run <prsp_id> --mode plan
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
For writer debugging, draft only one selected timeline row on one branch:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
audienti writer test-run <prsp_id> --mode step --branch no-accept --step 3
|
|
117
|
+
```
|
|
118
|
+
|
|
70
119
|
To update a prospect's attached profile channels through the same paths used by
|
|
71
120
|
the prospect show page:
|
|
72
121
|
|
package/package.json
CHANGED
package/src/api-client.js
CHANGED
|
@@ -233,6 +233,10 @@ export class AudientiClient {
|
|
|
233
233
|
return this.requestJson(accountPath(accountId, ["analytics", "prospects"], query));
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
+
analyticsUsers(accountId, query = {}) {
|
|
237
|
+
return this.requestJson(accountPath(accountId, ["analytics", "users"], query));
|
|
238
|
+
}
|
|
239
|
+
|
|
236
240
|
analyticsVisibility(accountId, query = {}) {
|
|
237
241
|
return this.requestJson(accountPath(accountId, ["analytics", "visibility"], query));
|
|
238
242
|
}
|