@zoominfo/gtm-ai-cli 1.0.1 → 2.0.0

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.
Files changed (3) hide show
  1. package/README.md +75 -29
  2. package/dist/index.js +82 -82
  3. package/package.json +3 -2
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # GTM AI CLI
2
2
 
3
3
  A command-line interface for searching [ZoomInfo](https://www.zoominfo.com/) go-to-market (GTM) data.
4
- Search and enrich companies and contacts, surface intent signals and news, manage GTM context, and pipe results
5
- through your shell as JSON, JSONL, CSV, YAML, or a table.
4
+ Search and enrich companies and contacts, surface intent / news / scoop signals, browse engagement history,
5
+ manage GTM context, and pipe results through your shell as JSON, JSONL, CSV, YAML, or a table.
6
6
 
7
7
  ## Installation
8
8
 
@@ -14,6 +14,8 @@ The easiest way to install the GTM CLI on MacOS or Linux is using [Homebrew](htt
14
14
  brew install zoominfo/gtm-ai/gtm-ai-cli
15
15
  ```
16
16
 
17
+ > **Heads-up:** the unrelated [Git Time Metric](https://github.com/git-time-metric/gtm) project also ships a `gtm` binary via Homebrew — always install with the tap-qualified name above, not a bare `brew install gtm`.
18
+
17
19
  To upgrade to the latest version, run
18
20
 
19
21
  ```shell
@@ -31,6 +33,8 @@ Ensure that you install it as a **global** package
31
33
  npm install -g @zoominfo/gtm-ai-cli
32
34
  ```
33
35
 
36
+ This installs the canonical `gtm` command plus a `zoominfo` alias — every command works identically under either name (e.g. `zoominfo companies search`). These docs use `gtm` throughout.
37
+
34
38
  ### Download a Prebuilt Binary
35
39
 
36
40
  Download the latest binary from the [releases](https://github.com/Zoominfo/gtm-ai-cli/releases) page for your platform.
@@ -46,7 +50,7 @@ Make the downloaded package executable and place it on your PATH
46
50
  ```shell
47
51
  chmod +x gtm-macos-arm64
48
52
  mv gtm-macos-arm64 /usr/local/bin/gtm
49
- xattr -d com.apple.quarantine /usr/local/bin/apollo #only required on macOS
53
+ xattr -d com.apple.quarantine /usr/local/bin/gtm #only required on macOS
50
54
  ```
51
55
 
52
56
  **Windows**
@@ -61,7 +65,7 @@ git clone https://github.com/Zoominfo/gtm-ai-cli.git
61
65
  cd gtm-ai-cli
62
66
  npm install
63
67
  npm run build
64
- npm link # makes `gtm` available globally
68
+ npm link # makes `gtm` (and its alias `zoominfo`) available globally
65
69
  ```
66
70
 
67
71
  ## Authentication
@@ -137,7 +141,7 @@ gtm lookup --field tech-products --vendor "HubSpot, Inc"
137
141
  gtm lookup --field metro-regions --fuzzy "san francisco"
138
142
  ```
139
143
 
140
- Valid `--field` names: `industries`, `metro-regions`, `states`, `countries`, `continents`, `management-levels`, `departments`, `job-functions`, `employee-count`, `revenue-ranges`, `company-types`, `company-rankings`, `intent-topics`, `scoop-topics`, `scoop-types`, `scoop-departments`, `news-categories`, `naics-codes`, `sic-codes`, `tech-vendors`, `tech-products`, `tech-categories`, `tech-skills`, `hashtags`, `buying-groups`, `board-members`, `years-of-experience`, `sub-unit-types`, `job-titles`.
144
+ Valid `--field` names: `industries`, `metro-regions`, `states`, `countries`, `continents`, `management-levels`, `departments`, `job-functions`, `employee-count`, `revenue-ranges`, `funding-round-types`, `company-types`, `company-rankings`, `intent-topics`, `scoop-topics`, `scoop-types`, `scoop-departments`, `news-categories`, `naics-codes`, `sic-codes`, `tech-vendors`, `tech-products`, `tech-categories`, `tech-skills`, `hashtags`, `buying-groups`, `board-members`, `years-of-experience`, `sub-unit-types`, `job-titles`.
141
145
 
142
146
  ---
143
147
 
@@ -158,8 +162,9 @@ gtm companies search --type public --country "United States" --revenue-min 10000
158
162
  # Companies using a specific tech product (lookup product IDs first)
159
163
  gtm companies search --tech "5f1d1d5c123" --metro "MA - Boston" --employees "250to499,500to999"
160
164
 
161
- # Series A-B funded ($1M-$20M) software companies in the US
162
- gtm companies search --industry software --country "United States" --funding-min 1000 --funding-max 20000
165
+ # US software companies whose most recent round was Series A or B
166
+ # (use --any-funding-round to match any round in their history instead)
167
+ gtm companies search --industry software --country "United States" --recent-funding-round "Series A,Series B"
163
168
 
164
169
  # By NAICS / SIC codes
165
170
  gtm companies search --naics "541511,541512"
@@ -187,6 +192,9 @@ gtm companies enrich --file companies.json
187
192
  ```shell
188
193
  gtm companies similar --id 344589814
189
194
  gtm companies similar --name "Stripe"
195
+
196
+ # Narrow to look-alikes that share attributes with the reference company
197
+ gtm companies similar --id 344589814 --same-industry --same-country --page-size 50
190
198
  ```
191
199
 
192
200
  ---
@@ -211,8 +219,17 @@ gtm contacts search --management-level Manager --department "Engineering & Techn
211
219
 
212
220
  # Sales leaders with accuracy score ≥ 90
213
221
  gtm contacts search --management-level "VP Level Exec" --department Sales --accuracy-min 90
222
+
223
+ # People who WORK in metro Boston (not just companies headquartered there) — --location-type
224
+ # scopes the location filters to the person, the company HQ, or both
225
+ gtm contacts search --job-title "CFO" --metro "MA - Boston" --location-type Person
226
+
227
+ # Within 25 miles of a zip code
228
+ gtm contacts search --management-level "C Level Exec" --zip 02110 --zip-radius 25
214
229
  ```
215
230
 
231
+ `--location-type` accepts `Person`, `HQ`, `PersonOrHQ`, `PersonAndHQ`, or `PersonThenHQ` and requires at least one location filter (`--metro`, `--state`, `--country`, `--zip`). It's also available on `gtm intent search` and `gtm scoops search`.
232
+
216
233
  **Enrich.** Provide any valid identifier combination — `personId` (most accurate), `email`, `phone`, or `firstName + lastName + (company OR companyId)`:
217
234
 
218
235
  ```shell
@@ -266,13 +283,7 @@ gtm intent search --topics "Mobile Apps" --signal-score-min 80 \
266
283
  gtm intent search --topics "AI Agents" --audience-strength-min B --audience-strength-max A
267
284
  ```
268
285
 
269
- **Enrich** — pull intent signals for a specific company:
270
-
271
- ```shell
272
- gtm intent enrich --company-id 344589814 --topics "Cloud Applications" "Java"
273
- gtm intent enrich --name "ZoomInfo" --topics "AI Agents" --signal-score-min 70
274
- gtm intent enrich --website https://www.stripe.com --topics "Payments"
275
- ```
286
+ For intent signals on a *specific* company, use [`gtm signals`](#gtm-signals--per-company-intent--news--scoops) with `--types INTENT`.
276
287
 
277
288
  ---
278
289
 
@@ -295,31 +306,31 @@ gtm scoops search --scoop-types Layoffs --employees "10000plus" --published-star
295
306
  gtm scoops search --scoop-types "Product Launch" --description "artificial intelligence" --published-start 2026-04-01
296
307
  ```
297
308
 
298
- **Enrich** — get scoops for a specific company:
299
-
300
- ```shell
301
- gtm scoops enrich --company-id 344589814 --scoop-types "New Hire" Promotion
302
- gtm scoops enrich --name "Stripe" --published-start 2026-01-01
303
- ```
309
+ For scoops on a *specific* company, use [`gtm signals`](#gtm-signals--per-company-intent--news--scoops) with `--types SCOOP`.
304
310
 
305
311
  ---
306
312
 
307
- ### `gtm news` — news articles
313
+ ### `gtm signals` — per-company intent + news + scoops
308
314
 
309
- `enrich_news` is currently the only news tool. Requires `--company-id`.
315
+ One call returns the latest signals across all three categories for up to 10 companies — ideal for
316
+ a quick "what's happening at these accounts" sweep. Replaces the former `gtm intent enrich`,
317
+ `gtm scoops enrich`, and `gtm news enrich` commands (the MCP consolidated those tools into
318
+ `enrich_company_signals`).
310
319
 
311
320
  ```shell
312
- # Recent funding/financial news for ZoomInfo
313
- gtm news enrich --company-id 344589814 --categories FINANCIAL_RESULTS FUNDING
321
+ # Everything recent for one company (intent + news + scoops, sorted by latest date)
322
+ gtm signals --company-ids 344589814
314
323
 
315
- # Product news in the last quarter
316
- gtm news enrich --company-id 344589814 --categories PRODUCT --publishing-start 2026-03-01 --publishing-end 2026-05-31
324
+ # Just the news
325
+ gtm signals --company-ids 344589814 --types NEWS
317
326
 
318
- # Leadership news (appointments, departures)
319
- gtm news enrich --company-id 344589814 --categories PERSON
327
+ # Intent + scoops across a batch of target accounts
328
+ gtm signals --company-ids 344589814 239305146 5237537 --types INTENT SCOOP
320
329
  ```
321
330
 
322
- Valid `--categories`: `FINANCIAL_RESULTS`, `FUNDING`, `GENERAL_NEWS`, `GENERAL_PRESS_RELEASE`, `MERGER_OR_ACQUISITION`, `PERSON`, `PRODUCT`.
331
+ The response is `{ results: [{ company, signals: [...] }] }` — each signal has `signalType`,
332
+ `date`, `summary`, and type-specific `details`. Charges data credits for companies not under
333
+ management (companies enriched within the prior 12 months don't incur additional charges).
323
334
 
324
335
  ---
325
336
 
@@ -372,6 +383,41 @@ gtm research contact --contact-id 1260398587 \
372
383
 
373
384
  ---
374
385
 
386
+ ### `gtm engagements` — meetings, emails, and conversation intelligence
387
+
388
+ Requires your ZoomInfo org to have a calendar / email / meeting provider integration configured.
389
+ `list` is free (no data credits).
390
+
391
+ ```shell
392
+ # Recent engagements (default window: last 7 days → 7 days ahead)
393
+ gtm engagements list --limit 10
394
+
395
+ # Meetings with a specific account, newest first
396
+ gtm engagements list --company-id 344589814 --type MEETINGS --sort -chronological
397
+
398
+ # A specific date window (ISO 8601, max 90 days)
399
+ gtm engagements list --start 2026-06-01T00:00:00Z --end 2026-08-01T00:00:00Z
400
+ ```
401
+
402
+ **Ask** — natural-language questions over calls, meetings, and emails. Scope to exactly one of an
403
+ engagement, an account, or a contact:
404
+
405
+ ```shell
406
+ # Account scope: synthesize across recent engagements
407
+ gtm engagements ask --company-id 344589814 --query "What concerns has this account raised recently? What did we promise them?"
408
+
409
+ # Contact scope
410
+ gtm engagements ask --contact-id 1260398587 --query "What has this person told us they care about?"
411
+
412
+ # Engagement scope: drill into one call/meeting/email (IDs come from `gtm engagements list` — quote them, some contain angle brackets)
413
+ gtm engagements ask --engagement-id "<abc123@mail.example.com>" --query "What were the main objections?"
414
+
415
+ # Include the raw transcript / email body (engagement scope only — can be very large)
416
+ gtm engagements ask --engagement-id "abc123" --query "Summarize this call" --include-content
417
+ ```
418
+
419
+ ---
420
+
375
421
  ### `gtm raw` — universal escape hatch
376
422
 
377
423
  Use this when you need a tool that doesn't have a curated wrapper yet.