@dench.com/cli 2.8.8-staging.192 → 2.9.0-staging.193
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 +31 -0
- package/campaign.ts +2316 -0
- package/crm.ts +54 -12
- package/dench.ts +57 -0
- package/email.ts +6 -2
- package/lib/api-schemas.ts +468 -0
- package/lib/command-registry.ts +203 -0
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -201,6 +201,37 @@ dench signin --staging
|
|
|
201
201
|
dench signin --host https://staging.dench.com
|
|
202
202
|
```
|
|
203
203
|
|
|
204
|
+
## Outreach campaigns
|
|
205
|
+
|
|
206
|
+
`dench campaign` runs email + LinkedIn outreach campaigns (the Outreach →
|
|
207
|
+
Campaigns page) from the terminal: create one, set its send windows, replace
|
|
208
|
+
its steps from a `steps.json`, fill it from a CRM view or explicit record
|
|
209
|
+
ids, launch it once the readiness check passes, and watch it. `<campaign>`
|
|
210
|
+
is an id or an exact, case-insensitive name.
|
|
211
|
+
|
|
212
|
+
```bash
|
|
213
|
+
dench campaign create --name "Founder outreach" --timezone America/Los_Angeles --window "Mon-Fri 9-18" --daily-cap 30
|
|
214
|
+
dench campaign steps set <campaign> --file steps.json
|
|
215
|
+
dench campaign add <campaign> --object lead --view "Q3 targets"
|
|
216
|
+
dench campaign launch <campaign> --ack-linkedin-risk
|
|
217
|
+
dench campaign get <campaign> # status, schedule, funnel, Now/Next, holds, people
|
|
218
|
+
dench campaign people <campaign> --status paused
|
|
219
|
+
dench campaign events <campaign>
|
|
220
|
+
dench campaign pause|resume|archive <campaign>
|
|
221
|
+
dench campaign stop <campaign> --person <enrollmentId>
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
Steps lock at launch (`steps set` works on drafts only); the schedule, daily
|
|
225
|
+
cap and stop-on-reply stay editable with `dench campaign set`. A campaign
|
|
226
|
+
holds at most 300 people. Every command takes `--json`. The full guide,
|
|
227
|
+
including the `steps.json` shape and the `--window` spec, is
|
|
228
|
+
`references/CAMPAIGNS.md` (`dench campaign help` for the flag list).
|
|
229
|
+
`dench email multichannel` drives the same campaigns with fewer controls.
|
|
230
|
+
|
|
231
|
+
Outreach needs a workspace member's credentials (a `dench signin` session, a
|
|
232
|
+
member-bound `DENCH_API_KEY`, or an agent session); an organization-only key
|
|
233
|
+
is refused.
|
|
234
|
+
|
|
204
235
|
## Sandbox / API key auth (no `dench signin` required)
|
|
205
236
|
|
|
206
237
|
Inside a Daytona sandbox the unified Dench API key is baked into envVars
|