argorant 0.12.0 → 0.13.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.
- package/README.md +68 -1
- package/bin/argorant.js +961 -68
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,14 @@ CI, and agents.
|
|
|
46
46
|
| `verify <email>` / `verify --file emails.csv -o out.csv` | Verify your own addresses (verification pool; recent re-checks free) | pool |
|
|
47
47
|
| `find "<first last>" --domain <d>` / `find --file people.csv -o found.csv` | Find a person's work email from a name and company domain, one or a whole list ([details](#find-emails)) | 1 credit found, 0.25 nothing found |
|
|
48
48
|
| `find status \| download \| resume \| cancel <job_id>`, `find pricing` | Manage a find job; show prices, balance and limits | free |
|
|
49
|
-
| `campaigns …` |
|
|
49
|
+
| `campaigns …` | Email campaigns, see below | - |
|
|
50
|
+
| `account` | Plan, credits, requests per minute, campaign emails, scopes | free |
|
|
51
|
+
| `lists ls \| create \| show \| people \| rename \| rm \| export` | Saved lists, a page at a time ([details](#lists-exports-credits-and-webhooks)) | free, export 1 credit per valid contact |
|
|
52
|
+
| `exports ls \| status \| download` | Your exports, newest first | free |
|
|
53
|
+
| `companies count \| search \| people` | Companies that match your filters | free |
|
|
54
|
+
| `lookup industries \| countries \| keywords \| technologies \| titles [text]` | The exact labels to use in filters | free |
|
|
55
|
+
| `credits packs \| quote \| buy \| purchases` | Buy a credit pack; asks first, then the saved card or a payment link | the pack price |
|
|
56
|
+
| `webhooks ls \| add \| set \| test \| deliveries \| rm` | Get events sent to your own server | free, Pro plan and up |
|
|
50
57
|
|
|
51
58
|
## Phone numbers
|
|
52
59
|
|
|
@@ -205,6 +212,66 @@ needs a paid plan" apart from "something broke".
|
|
|
205
212
|
command always wins over the stored one, `ARGORANT_API_BASE` overrides both,
|
|
206
213
|
and `argorant logout` removes the file.
|
|
207
214
|
|
|
215
|
+
## Lists, exports, credits and webhooks
|
|
216
|
+
|
|
217
|
+
These commands call the API under `/api/v1` and work with any API key that has the right
|
|
218
|
+
permissions. Lists come back a page at a time: `-n` sets the page size, `--cursor` continues
|
|
219
|
+
where the last page ended (the command prints the next cursor), and `--all` reads every page.
|
|
220
|
+
|
|
221
|
+
```sh
|
|
222
|
+
npx argorant account # plan, credits, requests per minute
|
|
223
|
+
npx argorant lookup industries soft # exact labels for --industry
|
|
224
|
+
npx argorant lookup titles "head of"
|
|
225
|
+
npx argorant companies count --country Germany --employees 11-50,51-200
|
|
226
|
+
npx argorant companies search saas --country Germany -n 10
|
|
227
|
+
|
|
228
|
+
npx argorant lists # your saved lists, newest first
|
|
229
|
+
npx argorant lists create --name "DACH CFOs" --title CFO --country Germany,Austria,Switzerland
|
|
230
|
+
npx argorant lists show 1240
|
|
231
|
+
npx argorant lists people 1240 --all --json # the people in it, contact details hidden
|
|
232
|
+
npx argorant lists rename 1240 --name "DACH finance leaders"
|
|
233
|
+
npx argorant lists export 1240 -n 500 -o cfos.csv # 1 credit per valid contact
|
|
234
|
+
npx argorant lists export 1240 --include-phones # plus 10 credits per phone number returned
|
|
235
|
+
npx argorant lists rm 1240 --yes
|
|
236
|
+
|
|
237
|
+
npx argorant exports # your exports, newest first
|
|
238
|
+
npx argorant exports status 5521
|
|
239
|
+
npx argorant exports download 5521 -o leads.csv
|
|
240
|
+
|
|
241
|
+
npx argorant credits packs # 500, 5,000, 25,000 and 100,000 credits
|
|
242
|
+
npx argorant credits quote 5000 # the price, nothing is bought
|
|
243
|
+
npx argorant credits buy 5000 # asks first, then pays (see below)
|
|
244
|
+
npx argorant credits purchases
|
|
245
|
+
|
|
246
|
+
npx argorant webhooks add https://example.com/hooks/argorant --events reply.received,reply.positive
|
|
247
|
+
npx argorant webhooks # your webhooks and every event you can pick
|
|
248
|
+
npx argorant webhooks test 3
|
|
249
|
+
npx argorant webhooks deliveries 3
|
|
250
|
+
npx argorant webhooks set 3 --inactive
|
|
251
|
+
npx argorant webhooks rm 3 --yes
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
`credits buy` shows the quote first and only buys after a yes: at a terminal it asks, anywhere
|
|
255
|
+
else it needs `--yes`. When your workspace saved its card for API and agent purchases and the
|
|
256
|
+
purchase fits the limits you set in Settings, that card is charged right away. Otherwise you get a
|
|
257
|
+
payment link to pay yourself, and the credits are added once the payment goes through.
|
|
258
|
+
`--pay-with link` always gives the link. Bought credits stay valid for 365 days.
|
|
259
|
+
|
|
260
|
+
`lists rm` and `webhooks rm` work the same way: they ask at a terminal and need `--yes` anywhere
|
|
261
|
+
else. A webhook's signing secret is shown once, when you add it.
|
|
262
|
+
|
|
263
|
+
### Safe retries and support
|
|
264
|
+
|
|
265
|
+
Every change the CLI makes through `/api/v1` carries an `Idempotency-Key`. If a command fails
|
|
266
|
+
halfway (a dropped connection, a closed laptop), run it again with your own key to get the
|
|
267
|
+
first answer back instead of doing the work twice:
|
|
268
|
+
|
|
269
|
+
```sh
|
|
270
|
+
npx argorant credits buy 5000 --yes --idempotency-key buy-5000-oct
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
Errors show the server's message and a request id. Quote the request id if you contact support.
|
|
274
|
+
|
|
208
275
|
## Campaigns and inboxes
|
|
209
276
|
|
|
210
277
|
Email outreach from the terminal, with any Argorant API key. Nothing sends until you launch.
|