sequence/patch_by_id
Tool: update
Update a sequence's metadata and trigger conditions.
Performs a partial update — only supplied fields are changed. Returns the full updated sequence object. The six condition* fields are one trigger rule and compose as a set (schemas/sequence) — changing one of them changes the rule. To clear a field — and to know why null fails — see call-contract. A sequence that reads back conditionAction: null or conditionOperator: null cannot have that null sent back — omit the field to leave it unchanged, or send one of its listed values.
Arguments
| name | type | req | notes |
|---|---|---|---|
| id | integer | ✓ | Sequence ID — the object's sequenceId (int64) |
Body
| field | type | req | constraints | description |
|---|---|---|---|---|
| name | string | – | ≤64 chars | Sequence display name |
| shortName | string | – | ≤8 chars | Short name for reporting/UI |
| conditionExtra | boolean | – | Apply an extra trigger condition beyond the base | |
| conditionNegate | boolean | – | Invert the trigger condition logic | |
| conditionTimes | integer | – | 0–100 | How many times the conditionReply/conditionAction condition must be met before triggering, compared via conditionOperator — a threshold, not an open/click/reply count |
| conditionReply | string | – | one of: All, Opened, NotOpened, NotReplied, Replied, RepliedInterested, RepliedNotInterested, RepliedNeutral, RepliedMaybeLater, Converted, NotConverted, Won, MeetingBooked, MeetingCompleted | Reply-based trigger condition |
| conditionAction | string | – | one of: Opened, Clicked, Bounced, Unsubscribed, Converted, Replied | Action-based trigger condition |
| conditionOperator | string | – | one of: GreaterThanOrEqual, LessThanOrEqual, Equal, NotEqual, GreaterThan, LessThan | Operator for condition evaluation |
Response
200 — Updated sequence object: see schemas/sequence. Deltas: conditionNegate may be absent from this single-item response.
Errors: 400, 401, 404, 406, 415, 422, 429, 500 — shared schema: schemas/errors.
Invoke
Call update with name: "sequence/patch_by_id".