curviate campaign create
Create a Campaign from a Campaign file, always as a draft: nothing runs until curviate campaign start. The file is checked before anything is sent, its Sequence as curviate campaign lint checks it. settings.priority (normal or prioritized) sets the Campaign's weight in each Account's budgets: 1 or 1.5, on every budget; every Campaign with work due still progresses and no limit is passed. Needs Automate.
Usage
curviate campaign create --file <file> [flags]Examples
curviate campaign create --file campaign.json
curviate campaign create --file - <<'EOF'
{
"name": "Q4 webinar follow-up",
"lead_list_ids": ["cl_YOUR_LIST_ID"],
"account_ids": ["acc_YOUR_ACCOUNT_ID"],
"sequence": {
"on_reply": "end",
"steps": [
{ "id": "invite", "do": "invite.send", "with": { "note": null }, "next": "end" }
]
}
}
EOFFlags
| Flag | Type | Required | Description |
|---|---|---|---|
--file | string | yes | The Campaign file: a path, or - to read it from stdin. curviate campaign get output is accepted as is. |
Also accepts these global flags: --api-key, --profile, --account, --team, --base-url, --timeout, --json, --fields, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Campaign.