sdkDeterministic

Update subsequence

pipeline.updateSubsequence

Update an existing subsequence on a campaign (e.g. toggle enabled, change the workflow, or retarget the trigger). Changing the trigger is rejected if it collides with another subsequence on the same campaign.

Parameters

workspaceId
string
Optional workspace ID or slug. Required when this credential can access multiple workspaces and no workspace was configured on the client.
campaignIdrequired
string
No description.
subsequenceIdrequired
string
No description.
trigger
string
No description.
interested_reply | meeting_request | no_reply | custom_tag
triggerTag
string
No description.
name
string
No description.
enabled
boolean
No description.
triggerConfig
object
No description.
workflowDefinition
object
No description.

Example

TypeScripttypescript
await pipeline.updateSubsequence({
"campaignId": "00000000-0000-4000-8000-000000000000",
"subsequenceId": "00000000-0000-4000-8000-000000000000"
})

Response

The operation is available, but its typed response schema has not been published yet.

Exceptions

PipelineError
Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.
Pipeline TypeScript SDK documentation | Pipeline