changedInput schema / properties / operations / items / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "approvalMode": {
- "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
- "enum": [
- "manual_review",
- "auto_when_confident",
- "automatic"
- ],
- "type": "string"
- },
- "campaignId": {
- "type": "string"
- },
- "clientOperationId": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "graph": {
- "additionalProperties": false,
- "properties": {
- "anchorEdges": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "targetIndex": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "targetIndex",
- "label"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- },
- "edges": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "condition": {},
- "label": {
- "type": "string"
- },
- "sourceIndex": {
- "minimum": 0,
- "type": "integer"
- },
- "targetIndex": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "sourceIndex",
- "targetIndex"
- ],
- "type": "object"
- },
- "maxItems": 200,
- "type": "array"
- },
- "nodes": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "config": {
- "default": {}
- },
- "existingNodeId": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "nodeType": {
- "minLength": 1,
- "type": "string"
- },
- "position": {
- "additionalProperties": false,
- "properties": {
- "x": {
- "type": "number"
- },
- "y": {
- "type": "number"
- }
- },
- "required": [
- "x",
- "y"
- ],
- "type": "object"
- }
- },
- "required": [
- "nodeType",
- "label"
- ],
- "type": "object"
- },
- "maxItems": 100,
- "type": "array"
- }
- },
- "required": [
- "nodes",
- "edges"
- ],
- "type": "object"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "op": {
- "const": "create",
- "type": "string"
- },
- "sourceConfig": {
- "additionalProperties": {},
- "type": "object"
- }
- },
- "required": [
- "op",
- "name",
- "sourceConfig",
- "graph"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "approvalMode": {
- "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
- "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
- },
- "clientOperationId": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "emailGoogleAccountId": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "name": {
- "minLength": 1,
- "type": "string"
- },
- "op": {
- "const": "set_meta",
- "type": "string"
- },
- "outreachIntents": {
- "items": {
- "additionalProperties": {},
- "type": "object"
- },
- "maxItems": 20,
- "type": "array"
- },
- "workflowId": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "op",
- "workflowId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "clientOperationId": {
- "type": "string"
- },
- "enabled": {
- "type": "boolean"
- },
- "op": {
- "const": "set_enabled",
- "type": "string"
- },
- "workflowId": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "op",
- "workflowId",
- "enabled"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "accountIds": {
- "description": "Accounts the workflow sends from (LinkedIn account IDs). Omit it to default to the workspace's only LinkedIn account that is ready; with several, the error lists them so you can ask the person. An explicit [] stays empty: the LinkedIn steps send from no account and their leads wait until one is set.",
- "items": {
- "minLength": 1,
- "type": "string"
- },
- "maxItems": 25,
- "type": "array"
- },
- "clientOperationId": {
- "type": "string"
- },
- "op": {
- "const": "set_linkedin_accounts",
- "type": "string"
- },
- "workflowId": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "op",
- "workflowId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "clientOperationId": {
- "type": "string"
- },
- "op": {
- "const": "restore_guidance",
- "type": "string"
- },
- "versionId": {
- "description": "versionId of a previous node instructions version to restore.",
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "op",
- "versionId"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approvalMode": {
+ "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed.",
+ "enum": [
+ "manual_review",
+ "auto_when_confident",
+ "automatic"
+ ],
+ "type": "string"
+ },
+ "campaignId": {
+ "type": "string"
+ },
+ "clientOperationId": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "graph": {
+ "additionalProperties": false,
+ "properties": {
+ "anchorEdges": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "targetIndex": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "targetIndex",
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "edges": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "condition": {},
+ "label": {
+ "type": "string"
+ },
+ "sourceIndex": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "targetIndex": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "sourceIndex",
+ "targetIndex"
+ ],
+ "type": "object"
+ },
+ "maxItems": 200,
+ "type": "array"
+ },
+ "nodes": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "config": {
+ "default": {}
+ },
+ "existingNodeId": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "nodeType": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "position": {
+ "additionalProperties": false,
+ "properties": {
+ "x": {
+ "type": "number"
+ },
+ "y": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "x",
+ "y"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "nodeType",
+ "label"
+ ],
+ "type": "object"
+ },
+ "maxItems": 100,
+ "type": "array"
+ }
+ },
+ "required": [
+ "nodes",
+ "edges"
+ ],
+ "type": "object"
+ },
+ "name": {
+ "description": "Required with graph. With workflow, overrides the name in the file.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "op": {
+ "const": "create",
+ "type": "string"
+ },
+ "sourceConfig": {
+ "additionalProperties": {},
+ "description": "Required with graph. Not accepted with workflow: an imported workflow gets its lead source in this workspace.",
+ "type": "object"
+ },
+ "workflow": {
+ "additionalProperties": {},
+ "description": "A whole workflow in the file format the workflow editor exports ({ kind: \"campaignstack-workflow\", version, name, approvalMode?, nodes, edges }), instead of graph. Validated as a whole; every problem is listed. It is created paused with no accounts and no lead source; its review mode comes from the file, and webhook and provider-side destinations are kept as written. The result lists what must be set before set_enabled succeeds.",
+ "type": "object"
+ }
+ },
+ "required": [
+ "op"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "approvalMode": {
+ "$ref": "#/properties/operations/items/anyOf/0/properties/approvalMode",
+ "description": "Whether what this workflow drafts waits for a person. manual_review: every message waits in the review queue. auto_when_confident: messages still wait, and the ones the confidence check rates as safe to send unchanged go out on their own once the workspace's calibration allows it (a daily cap applies, and booking confirmations, files, conversation turns and flagged drafts always wait). automatic: no review step at all. On a signal agent this also removes its review steps; on any other workflow, review steps already in the graph keep waiting, so remove them with campaignstack_edit_workflow_graph. Omit to keep the current mode; on create, omit to start from the owner's onboarding answer. Only a workspace owner or admin can set it. Set automatic only when the user asked for messages to go out unreviewed."
+ },
+ "clientOperationId": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "emailGoogleAccountId": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "op": {
+ "const": "set_meta",
+ "type": "string"
+ },
+ "outreachIntents": {
+ "items": {
+ "additionalProperties": {},
+ "type": "object"
+ },
+ "maxItems": 20,
+ "type": "array"
+ },
+ "workflowId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "workflowId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clientOperationId": {
+ "type": "string"
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "op": {
+ "const": "set_enabled",
+ "type": "string"
+ },
+ "workflowId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "workflowId",
+ "enabled"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "accountIds": {
+ "description": "Accounts the workflow sends from (LinkedIn account IDs). Omit it to default to the workspace's only LinkedIn account that is ready; with several, the error lists them so you can ask the person. An explicit [] stays empty: the LinkedIn steps send from no account and their leads wait until one is set.",
+ "items": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "maxItems": 25,
+ "type": "array"
+ },
+ "clientOperationId": {
+ "type": "string"
+ },
+ "op": {
+ "const": "set_linkedin_accounts",
+ "type": "string"
+ },
+ "workflowId": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "workflowId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "clientOperationId": {
+ "type": "string"
+ },
+ "op": {
+ "const": "restore_guidance",
+ "type": "string"
+ },
+ "versionId": {
+ "description": "versionId of a previous node instructions version to restore.",
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "op",
+ "versionId"
+ ],
+ "type": "object"
+ }
+]