curviate motion create
Create a Motion from a Motion file, always as a draft: nothing runs until curviate motion start. The file is checked before anything is sent, its Sequence as curviate motion lint checks it.
Usage
curviate motion create --file <file> [flags]Examples
curviate motion create --file motion.json
curviate motion create --file - <<'EOF'
{
"name": "Q4 webinar follow-up",
"contact_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 Motion file: a path, or - to read it from stdin. curviate motion get output is accepted as is. |
Also accepts these global flags: --api-key, --profile, --account, --base-url, --timeout, --json, --fields, --preview, --verbose, --beta.
Exit codes: the exit code table. More commands: Motion.