@uipath/maestro-builder-sdk 6.6.0 → 6.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5919,22 +5919,23 @@
5919
5919
  ]
5920
5920
  }
5921
5921
  },
5922
- "uipath.document.classify@1.0": {
5923
- "nodeType": "uipath.document.classify",
5924
- "version": "1.0",
5925
- "category": "document-processing",
5926
- "description": "Classify a document into a document type",
5922
+ "core.datafabric.create@1.3": {
5923
+ "nodeType": "core.datafabric.create",
5924
+ "version": "1.3",
5925
+ "category": "data",
5926
+ "description": "Create an entity record in Data Fabric",
5927
5927
  "tags": [
5928
- "document-understanding",
5929
- "classification",
5930
- "classify",
5931
- "idp"
5928
+ "datafabric",
5929
+ "entity",
5930
+ "data",
5931
+ "create",
5932
+ "insert",
5933
+ "write"
5932
5934
  ],
5933
- "sortOrder": 42,
5934
- "supportsErrorHandling": true,
5935
+ "sortOrder": 37,
5935
5936
  "display": {
5936
- "label": "Classify",
5937
- "icon": "file-search"
5937
+ "label": "Create entity record",
5938
+ "icon": "layers-arrow-up-right"
5938
5939
  },
5939
5940
  "handleConfiguration": [
5940
5941
  {
@@ -5951,7 +5952,7 @@
5951
5952
  "position": "right",
5952
5953
  "handles": [
5953
5954
  {
5954
- "id": "success",
5955
+ "id": "output",
5955
5956
  "type": "source",
5956
5957
  "handleType": "output"
5957
5958
  }
@@ -5959,336 +5960,133 @@
5959
5960
  }
5960
5961
  ],
5961
5962
  "model": {
5962
- "type": "bpmn:ServiceTask",
5963
- "serviceType": "DU.Classification",
5964
- "evaluationTarget": {
5965
- "kind": "documentClassification",
5966
- "nodeType": "uipath.document.classify",
5967
- "fileInputId": "fileRef",
5968
- "inputs": [
5969
- {
5970
- "id": "fileRef",
5971
- "direction": "in",
5972
- "type": "file"
5973
- }
5974
- ],
5975
- "outputs": [
5976
- {
5977
- "id": "ClassificationResult",
5978
- "direction": "out",
5979
- "type": "object"
5980
- }
5981
- ],
5982
- "runCapability": "unsupported",
5983
- "attachmentPolicy": {
5984
- "acceptedExtensions": [
5985
- ".pdf",
5986
- ".png",
5987
- ".jpg",
5988
- ".jpeg",
5989
- ".tif",
5990
- ".tiff"
5991
- ]
5992
- }
5963
+ "type": "bpmn:Task",
5964
+ "debug": {
5965
+ "runtime": "bpmnEngine"
5993
5966
  }
5994
5967
  },
5995
- "toolbarExtensions": {
5996
- "evaluation": {
5997
- "actions": [
5998
- {
5999
- "id": "open-classification-dataset",
6000
- "icon": "file-search",
6001
- "label": "Evaluate classification"
6002
- }
6003
- ]
6004
- }
5968
+ "runtimeConstraints": {
5969
+ "exclude": [
5970
+ "api-function"
5971
+ ]
6005
5972
  },
6006
5973
  "inputDefinition": {
6007
5974
  "type": "object",
6008
5975
  "properties": {
6009
- "modelConfig": {
6010
- "type": "object"
6011
- },
6012
- "fileRef": {
6013
- "type": "string",
6014
- "minLength": 1
6015
- },
6016
- "pageRange": {
6017
- "type": "string"
6018
- },
6019
- "splitPages": {
6020
- "type": "boolean"
6021
- }
6022
- },
6023
- "required": [
6024
- "fileRef"
6025
- ]
6026
- },
6027
- "inputDefaults": {
6028
- "modelConfig": {
6029
- "model_version": "gemini_2_5_flash",
6030
- "temperature": null,
6031
- "top_p": null,
6032
- "seed": null,
6033
- "frequency_penalty": null
6034
- },
6035
- "fileRef": "",
6036
- "pageRange": "",
6037
- "splitPages": false
6038
- },
6039
- "outputDefinition": {
6040
- "output": {
6041
- "type": "object",
6042
- "source": "=this",
6043
- "var": "output",
6044
- "schema": {
6045
- "$schema": "http://json-schema.org/draft-07/schema#",
5976
+ "entityConfig": {
6046
5977
  "type": "object",
6047
5978
  "properties": {
6048
- "ClassificationResult": {
5979
+ "entityName": {
5980
+ "type": "string",
5981
+ "minLength": 1,
5982
+ "errorMessage": "An entity must be selected"
5983
+ },
5984
+ "fieldValues": {
6049
5985
  "type": "array",
6050
- "items": {
5986
+ "contains": {
6051
5987
  "type": "object",
6052
5988
  "properties": {
6053
- "DocumentTypeId": {
6054
- "type": [
6055
- "string",
6056
- "null"
6057
- ]
6058
- },
6059
- "DocumentId": {
6060
- "type": [
6061
- "string",
6062
- "null"
6063
- ]
6064
- },
6065
- "Confidence": {
6066
- "type": "number",
6067
- "format": "float",
6068
- "minimum": -3.402823669209385e+38,
6069
- "maximum": 3.402823669209385e+38
6070
- },
6071
- "OcrConfidence": {
6072
- "type": "number",
6073
- "format": "float",
6074
- "minimum": -3.402823669209385e+38,
6075
- "maximum": 3.402823669209385e+38
5989
+ "field": {
5990
+ "type": "string",
5991
+ "pattern": "\\S"
6076
5992
  },
6077
- "Reference": {
6078
- "type": "object",
6079
- "properties": {
6080
- "TextStartIndex": {
6081
- "type": "integer",
6082
- "format": "int32",
6083
- "minimum": -2147483648,
6084
- "maximum": 2147483647
6085
- },
6086
- "TextLength": {
6087
- "type": "integer",
6088
- "format": "int32",
6089
- "minimum": -2147483648,
6090
- "maximum": 2147483647
5993
+ "value": {
5994
+ "anyOf": [
5995
+ {
5996
+ "type": "string",
5997
+ "pattern": "\\S"
6091
5998
  },
6092
- "Tokens": {
6093
- "type": [
6094
- "array",
6095
- "null"
6096
- ],
6097
- "items": {
6098
- "type": "object",
6099
- "properties": {
6100
- "TextStartIndex": {
6101
- "type": "integer",
6102
- "format": "int32",
6103
- "minimum": -2147483648,
6104
- "maximum": 2147483647
6105
- },
6106
- "TextLength": {
6107
- "type": "integer",
6108
- "format": "int32",
6109
- "minimum": -2147483648,
6110
- "maximum": 2147483647
6111
- },
6112
- "Page": {
6113
- "type": "integer",
6114
- "format": "int32",
6115
- "minimum": -2147483648,
6116
- "maximum": 2147483647
6117
- },
6118
- "PageWidth": {
6119
- "type": "number",
6120
- "format": "float",
6121
- "minimum": -3.402823669209385e+38,
6122
- "maximum": 3.402823669209385e+38
6123
- },
6124
- "PageHeight": {
6125
- "type": "number",
6126
- "format": "float",
6127
- "minimum": -3.402823669209385e+38,
6128
- "maximum": 3.402823669209385e+38
6129
- },
6130
- "Boxes": {
6131
- "type": [
6132
- "array",
6133
- "null"
6134
- ],
6135
- "items": {
6136
- "maxItems": 4,
6137
- "minItems": 4,
6138
- "type": "array",
6139
- "items": {
6140
- "type": "number"
6141
- }
6142
- }
6143
- }
5999
+ {
6000
+ "type": "object",
6001
+ "properties": {
6002
+ "type": {
6003
+ "const": "jsExpression"
6144
6004
  },
6145
- "additionalProperties": false
6146
- }
6147
- }
6148
- },
6149
- "additionalProperties": false
6150
- },
6151
- "DocumentBounds": {
6152
- "type": "object",
6153
- "properties": {
6154
- "PageCount": {
6155
- "type": "integer",
6156
- "format": "int32",
6157
- "minimum": -2147483648,
6158
- "maximum": 2147483647
6159
- },
6160
- "PageRange": {
6161
- "type": [
6162
- "string",
6163
- "null"
6005
+ "expression": {
6006
+ "type": "string",
6007
+ "pattern": "\\S"
6008
+ }
6009
+ },
6010
+ "required": [
6011
+ "type",
6012
+ "expression"
6164
6013
  ]
6165
6014
  }
6166
- },
6167
- "additionalProperties": false
6168
- },
6169
- "ClassifierName": {
6170
- "type": [
6171
- "string",
6172
- "null"
6173
6015
  ]
6174
6016
  }
6175
6017
  },
6176
- "additionalProperties": false
6177
- }
6018
+ "required": [
6019
+ "field",
6020
+ "value"
6021
+ ]
6022
+ },
6023
+ "errorMessage": "Set a value for at least one field"
6024
+ }
6025
+ },
6026
+ "required": [
6027
+ "entityName",
6028
+ "fieldValues"
6029
+ ],
6030
+ "errorMessage": {
6031
+ "required": {
6032
+ "entityName": "An entity must be selected",
6033
+ "fieldValues": "Set a value for at least one field"
6178
6034
  }
6179
6035
  }
6180
6036
  }
6181
6037
  },
6182
- "error": {
6183
- "type": "object",
6184
- "description": "Error information if the node fails",
6185
- "source": "=Error",
6186
- "var": "error",
6187
- "schema": {
6188
- "$schema": "http://json-schema.org/draft-07/schema#",
6189
- "type": "object",
6190
- "required": [
6191
- "code",
6192
- "message",
6193
- "detail",
6194
- "category",
6195
- "status"
6196
- ],
6197
- "properties": {
6198
- "code": {
6199
- "type": "string",
6200
- "description": "Error code as a string"
6201
- },
6202
- "message": {
6203
- "type": "string",
6204
- "description": "High-level error message"
6205
- },
6206
- "detail": {
6207
- "type": "string",
6208
- "description": "Detailed error description"
6209
- },
6210
- "category": {
6211
- "type": "string",
6212
- "description": "Error category"
6213
- },
6214
- "status": {
6215
- "type": "integer",
6216
- "description": "HTTP status code"
6217
- }
6218
- },
6219
- "additionalProperties": false
6220
- }
6038
+ "required": [
6039
+ "entityConfig"
6040
+ ]
6041
+ },
6042
+ "inputDefaults": {
6043
+ "entityConfig": {}
6044
+ },
6045
+ "outputDefinition": {
6046
+ "output": {
6047
+ "type": "jsonSchema",
6048
+ "description": "Entity record created by this node",
6049
+ "source": "=response",
6050
+ "var": "output"
6221
6051
  }
6222
6052
  },
6223
6053
  "form": {
6224
- "id": "classify-document-properties",
6225
- "title": "Classify configuration",
6054
+ "id": "create-entity-properties",
6055
+ "title": "Create entity record configuration",
6226
6056
  "sections": [
6227
6057
  {
6228
- "id": "model-config",
6229
- "title": "Model",
6058
+ "id": "entity-config",
6059
+ "title": "Entity configuration",
6230
6060
  "collapsible": true,
6231
6061
  "defaultExpanded": true,
6232
6062
  "fields": [
6233
6063
  {
6234
- "name": "inputs.modelConfig",
6064
+ "name": "inputs.entityConfig",
6235
6065
  "type": "custom",
6236
- "component": "classify-model-config",
6066
+ "component": "create-entity-config",
6237
6067
  "label": ""
6238
6068
  }
6239
6069
  ]
6240
- },
6241
- {
6242
- "id": "file-input",
6243
- "title": "File input",
6244
- "collapsible": true,
6245
- "defaultExpanded": true,
6246
- "fields": [
6247
- {
6248
- "name": "inputs.fileRef",
6249
- "type": "file",
6250
- "label": "File",
6251
- "description": "The document type is determined from this file.",
6252
- "validation": {
6253
- "required": true,
6254
- "messages": {
6255
- "required": "Add a file"
6256
- }
6257
- }
6258
- },
6259
- {
6260
- "name": "inputs.pageRange",
6261
- "type": "text",
6262
- "label": "Page range",
6263
- "placeholder": "1-5",
6264
- "description": "Only pages in this range are processed."
6265
- },
6266
- {
6267
- "name": "inputs.splitPages",
6268
- "type": "switch",
6269
- "label": "Split pages"
6270
- }
6271
- ]
6272
6070
  }
6273
6071
  ]
6274
6072
  }
6275
6073
  },
6276
- "uipath.ixp.extract-document-builder@1.0.0": {
6277
- "nodeType": "uipath.ixp.extract-document-builder",
6278
- "version": "1.0.0",
6279
- "category": "document-extraction",
6074
+ "core.datafabric.delete@1.3": {
6075
+ "nodeType": "core.datafabric.delete",
6076
+ "version": "1.3",
6077
+ "category": "data",
6078
+ "description": "Delete an entity record in Data Fabric",
6280
6079
  "tags": [
6281
- "ixp",
6282
- "document-understanding",
6283
- "extraction"
6080
+ "datafabric",
6081
+ "entity",
6082
+ "data",
6083
+ "delete",
6084
+ "write"
6284
6085
  ],
6285
- "description": "Create and configure a document extraction from scratch",
6286
- "sortOrder": 46,
6086
+ "sortOrder": 38,
6287
6087
  "display": {
6288
- "canvasLabel": "Extract v2",
6289
- "label": "Extract v2",
6290
- "description": "Create and configure a document extraction from scratch",
6291
- "icon": "file-text"
6088
+ "label": "Delete entity record",
6089
+ "icon": "layers-arrow-up-right"
6292
6090
  },
6293
6091
  "handleConfiguration": [
6294
6092
  {
@@ -6305,210 +6103,283 @@
6305
6103
  "position": "right",
6306
6104
  "handles": [
6307
6105
  {
6308
- "id": "success",
6106
+ "id": "output",
6309
6107
  "type": "source",
6310
6108
  "handleType": "output"
6311
6109
  }
6312
6110
  ]
6313
6111
  }
6314
6112
  ],
6315
- "supportsErrorHandling": true,
6316
6113
  "model": {
6317
- "source": true,
6318
- "type": "bpmn:ServiceTask",
6319
- "serviceType": "IXP.DynamicExtraction",
6320
- "skipBindingsReference": true,
6321
- "evaluationTarget": {
6322
- "kind": "documentExtraction",
6323
- "nodeType": "uipath.ixp.extract-document-builder",
6324
- "fileInputId": "fileRef",
6325
- "inputs": [
6326
- {
6327
- "id": "fileRef",
6328
- "direction": "in",
6329
- "type": "file"
6330
- }
6331
- ],
6332
- "outputs": [
6333
- {
6334
- "id": "ExtractionResult",
6335
- "direction": "out",
6336
- "type": "object"
6337
- }
6338
- ],
6339
- "runCapability": "unsupported",
6340
- "attachmentPolicy": {
6341
- "acceptedExtensions": [
6342
- ".pdf",
6343
- ".png",
6344
- ".jpg",
6345
- ".jpeg",
6346
- ".tif",
6347
- ".tiff"
6348
- ]
6349
- }
6350
- },
6351
- "bindings": {
6352
- "resource": "ixpDeployment",
6353
- "entityType": "ixpDeployment",
6354
- "resourceSubType": null,
6355
- "resourceKey": "",
6356
- "name": "",
6357
- "values": [
6358
- {
6359
- "name": "name",
6360
- "propertyAttribute": "name",
6361
- "default": ""
6362
- },
6363
- {
6364
- "name": "folderPath",
6365
- "propertyAttribute": "folderPath",
6366
- "default": ""
6367
- }
6368
- ]
6114
+ "type": "bpmn:Task",
6115
+ "debug": {
6116
+ "runtime": "bpmnEngine"
6369
6117
  }
6370
6118
  },
6371
- "form": {
6372
- "id": "ixp-extract-document-builder-form",
6373
- "title": "IXP",
6374
- "sections": [
6375
- {
6376
- "id": "ixp-model-config",
6377
- "title": "Model config",
6378
- "collapsible": true,
6379
- "defaultExpanded": true,
6380
- "fields": [
6381
- {
6382
- "name": "inputs.modelConfig",
6383
- "type": "custom",
6384
- "component": "ixp-model-config",
6385
- "label": ""
6386
- }
6387
- ]
6388
- },
6389
- {
6390
- "id": "ixp-file-upload",
6391
- "title": "File input",
6392
- "collapsible": true,
6393
- "defaultExpanded": true,
6394
- "fields": [
6395
- {
6396
- "name": "inputs.fileRef",
6397
- "type": "file",
6398
- "label": "File",
6399
- "description": "File to extract data from",
6400
- "validation": {
6401
- "required": true,
6402
- "messages": {
6403
- "required": "A file is required for extraction"
6404
- }
6405
- }
6406
- },
6407
- {
6408
- "name": "inputs.pageRange",
6409
- "type": "text",
6410
- "label": "Page range",
6411
- "placeholder": "e.g. 1-5",
6412
- "description": "Optional page range to process."
6413
- }
6414
- ]
6415
- },
6416
- {
6417
- "id": "schema-definition",
6418
- "title": "Schema definition",
6419
- "collapsible": false,
6420
- "fields": [
6421
- {
6422
- "name": "inputs.schemaDocument",
6423
- "type": "custom",
6424
- "component": "ixp-model-taxonomy-editable",
6425
- "label": ""
6426
- }
6427
- ]
6428
- }
6119
+ "runtimeConstraints": {
6120
+ "exclude": [
6121
+ "api-function"
6429
6122
  ]
6430
6123
  },
6431
- "debug": {
6432
- "runtime": "bpmnEngine"
6433
- },
6434
- "toolbarExtensions": {
6435
- "evaluation": {
6436
- "actions": [
6437
- {
6438
- "id": "open-extraction-dataset",
6439
- "icon": "file-search",
6440
- "label": "Evaluate extraction"
6441
- }
6442
- ]
6443
- }
6444
- },
6445
6124
  "inputDefinition": {
6446
6125
  "type": "object",
6447
6126
  "properties": {
6448
- "projectName": {
6449
- "type": "string"
6450
- },
6451
- "projectId": {
6452
- "type": "string"
6453
- },
6454
- "versionTag": {
6455
- "type": "string"
6456
- },
6457
- "folderKey": {
6458
- "type": "string"
6459
- },
6460
- "folderName": {
6461
- "type": "string"
6462
- },
6463
- "model": {
6464
- "type": "object"
6465
- },
6466
- "modelName": {
6467
- "type": "string"
6468
- },
6469
- "fileRef": {
6470
- "type": "string",
6471
- "minLength": 1
6472
- },
6473
- "pageRange": {
6474
- "type": "string"
6475
- },
6476
- "attachmentConfig": {
6477
- "type": "object"
6478
- },
6479
- "attachment": {
6127
+ "entityConfig": {
6480
6128
  "type": "object",
6481
- "description": "File to extract data from.",
6482
6129
  "properties": {
6483
- "ID": {
6484
- "type": "string",
6485
- "description": "Orchestrator attachment key"
6486
- },
6487
- "FullName": {
6130
+ "entityName": {
6488
6131
  "type": "string",
6489
- "description": "File name"
6132
+ "minLength": 1,
6133
+ "errorMessage": "An entity must be selected"
6490
6134
  },
6491
- "MimeType": {
6492
- "type": "string",
6493
- "description": "The MIME type of the content"
6135
+ "recordId": {
6136
+ "anyOf": [
6137
+ {
6138
+ "type": "string"
6139
+ },
6140
+ {
6141
+ "type": "object",
6142
+ "properties": {
6143
+ "type": {
6144
+ "const": "jsExpression"
6145
+ },
6146
+ "expression": {
6147
+ "type": "string",
6148
+ "pattern": "\\S"
6149
+ }
6150
+ },
6151
+ "required": [
6152
+ "type",
6153
+ "expression"
6154
+ ]
6155
+ }
6156
+ ]
6494
6157
  },
6495
- "Metadata": {
6496
- "type": "object",
6497
- "description": "Dictionary of metadata",
6498
- "additionalProperties": {
6499
- "type": "string"
6500
- }
6158
+ "readEntityNodeId": {
6159
+ "type": "string"
6501
6160
  }
6502
6161
  },
6503
6162
  "required": [
6504
- "ID"
6163
+ "entityName",
6164
+ "recordSource"
6165
+ ],
6166
+ "allOf": [
6167
+ {
6168
+ "properties": {
6169
+ "recordSource": {
6170
+ "type": "string",
6171
+ "enum": [
6172
+ "byId",
6173
+ "fromRead"
6174
+ ]
6175
+ }
6176
+ },
6177
+ "errorMessage": "Choose how to identify the record"
6178
+ },
6179
+ {
6180
+ "if": {
6181
+ "properties": {
6182
+ "recordSource": {
6183
+ "const": "byId"
6184
+ }
6185
+ },
6186
+ "required": [
6187
+ "recordSource"
6188
+ ]
6189
+ },
6190
+ "then": {
6191
+ "required": [
6192
+ "recordId"
6193
+ ],
6194
+ "properties": {
6195
+ "recordId": {
6196
+ "anyOf": [
6197
+ {
6198
+ "type": "string",
6199
+ "pattern": "\\S"
6200
+ },
6201
+ {
6202
+ "type": "object",
6203
+ "properties": {
6204
+ "type": {
6205
+ "const": "jsExpression"
6206
+ },
6207
+ "expression": {
6208
+ "type": "string",
6209
+ "pattern": "\\S"
6210
+ }
6211
+ },
6212
+ "required": [
6213
+ "type",
6214
+ "expression"
6215
+ ]
6216
+ }
6217
+ ]
6218
+ }
6219
+ },
6220
+ "errorMessage": "A record ID is required"
6221
+ }
6222
+ },
6223
+ {
6224
+ "if": {
6225
+ "properties": {
6226
+ "recordSource": {
6227
+ "const": "fromRead"
6228
+ }
6229
+ },
6230
+ "required": [
6231
+ "recordSource"
6232
+ ]
6233
+ },
6234
+ "then": {
6235
+ "required": [
6236
+ "readEntityNodeId"
6237
+ ],
6238
+ "properties": {
6239
+ "readEntityNodeId": {
6240
+ "type": "string",
6241
+ "pattern": "\\S"
6242
+ }
6243
+ },
6244
+ "errorMessage": "Select a Query entity records node"
6245
+ }
6246
+ }
6247
+ ],
6248
+ "errorMessage": {
6249
+ "required": {
6250
+ "entityName": "An entity must be selected",
6251
+ "recordSource": "Choose how to identify the record"
6252
+ }
6253
+ }
6254
+ }
6255
+ },
6256
+ "required": [
6257
+ "entityConfig"
6258
+ ]
6259
+ },
6260
+ "inputDefaults": {
6261
+ "entityConfig": {}
6262
+ },
6263
+ "form": {
6264
+ "id": "delete-entity-properties",
6265
+ "title": "Delete entity record configuration",
6266
+ "sections": [
6267
+ {
6268
+ "id": "entity-config",
6269
+ "title": "Entity configuration",
6270
+ "collapsible": true,
6271
+ "defaultExpanded": true,
6272
+ "fields": [
6273
+ {
6274
+ "name": "inputs.entityConfig",
6275
+ "type": "custom",
6276
+ "component": "delete-entity-config",
6277
+ "label": ""
6278
+ }
6505
6279
  ]
6506
- },
6280
+ }
6281
+ ]
6282
+ }
6283
+ },
6284
+ "uipath.document.classify@1.0": {
6285
+ "nodeType": "uipath.document.classify",
6286
+ "version": "1.0",
6287
+ "category": "document-processing",
6288
+ "description": "Classify a document into a document type",
6289
+ "tags": [
6290
+ "document-understanding",
6291
+ "classification",
6292
+ "classify",
6293
+ "idp"
6294
+ ],
6295
+ "sortOrder": 42,
6296
+ "supportsErrorHandling": true,
6297
+ "display": {
6298
+ "label": "Classify",
6299
+ "icon": "file-search"
6300
+ },
6301
+ "handleConfiguration": [
6302
+ {
6303
+ "position": "left",
6304
+ "handles": [
6305
+ {
6306
+ "id": "input",
6307
+ "type": "target",
6308
+ "handleType": "input"
6309
+ }
6310
+ ]
6311
+ },
6312
+ {
6313
+ "position": "right",
6314
+ "handles": [
6315
+ {
6316
+ "id": "success",
6317
+ "type": "source",
6318
+ "handleType": "output"
6319
+ }
6320
+ ]
6321
+ }
6322
+ ],
6323
+ "model": {
6324
+ "type": "bpmn:ServiceTask",
6325
+ "serviceType": "DU.Classification",
6326
+ "evaluationTarget": {
6327
+ "kind": "documentClassification",
6328
+ "nodeType": "uipath.document.classify",
6329
+ "fileInputId": "fileRef",
6330
+ "inputs": [
6331
+ {
6332
+ "id": "fileRef",
6333
+ "direction": "in",
6334
+ "type": "file"
6335
+ }
6336
+ ],
6337
+ "outputs": [
6338
+ {
6339
+ "id": "ClassificationResult",
6340
+ "direction": "out",
6341
+ "type": "object"
6342
+ }
6343
+ ],
6344
+ "runCapability": "unsupported",
6345
+ "attachmentPolicy": {
6346
+ "acceptedExtensions": [
6347
+ ".pdf",
6348
+ ".png",
6349
+ ".jpg",
6350
+ ".jpeg",
6351
+ ".tif",
6352
+ ".tiff"
6353
+ ]
6354
+ }
6355
+ }
6356
+ },
6357
+ "toolbarExtensions": {
6358
+ "evaluation": {
6359
+ "actions": [
6360
+ {
6361
+ "id": "open-classification-dataset",
6362
+ "icon": "file-search",
6363
+ "label": "Evaluate classification"
6364
+ }
6365
+ ]
6366
+ }
6367
+ },
6368
+ "inputDefinition": {
6369
+ "type": "object",
6370
+ "properties": {
6507
6371
  "modelConfig": {
6508
6372
  "type": "object"
6509
6373
  },
6510
- "schemaDocument": {
6511
- "type": "object"
6374
+ "fileRef": {
6375
+ "type": "string",
6376
+ "minLength": 1
6377
+ },
6378
+ "pageRange": {
6379
+ "type": "string"
6380
+ },
6381
+ "splitPages": {
6382
+ "type": "boolean"
6512
6383
  }
6513
6384
  },
6514
6385
  "required": [
@@ -6516,38 +6387,19 @@
6516
6387
  ]
6517
6388
  },
6518
6389
  "inputDefaults": {
6519
- "modelName": "",
6520
- "description": "",
6521
- "projectName": "",
6522
- "versionTag": "",
6523
- "folderKey": "",
6524
- "folderName": "",
6525
- "fileRef": "",
6526
- "pageRange": "",
6527
6390
  "modelConfig": {
6528
- "kind": "gpt_ixp",
6529
- "configuration_mode": "inline",
6530
6391
  "model_version": "gemini_2_5_flash",
6531
- "execution_mode": "standard",
6532
- "attribution_method": "word_ids",
6533
- "input_config": "none",
6534
- "system_prompt_override": null,
6535
- "frequency_penalty": null,
6536
6392
  "temperature": null,
6537
6393
  "top_p": null,
6538
6394
  "seed": null,
6539
- "experimentalSettings": null,
6540
- "flags": [
6541
- "append_taxonomy_descriptions",
6542
- "append_type_descriptions",
6543
- "append_group_descriptions",
6544
- "append_field_descriptions"
6545
- ]
6546
- }
6395
+ "frequency_penalty": null
6396
+ },
6397
+ "fileRef": "",
6398
+ "pageRange": "",
6399
+ "splitPages": false
6547
6400
  },
6548
6401
  "outputDefinition": {
6549
6402
  "output": {
6550
- "name": "output",
6551
6403
  "type": "object",
6552
6404
  "source": "=this",
6553
6405
  "var": "output",
@@ -6555,121 +6407,631 @@
6555
6407
  "$schema": "http://json-schema.org/draft-07/schema#",
6556
6408
  "type": "object",
6557
6409
  "properties": {
6558
- "ExtractionResult": {
6559
- "type": "object",
6560
- "properties": {
6561
- "DocumentId": {
6562
- "type": [
6563
- "string",
6564
- "null"
6565
- ]
6566
- },
6567
- "ResultsVersion": {
6568
- "type": "integer",
6569
- "format": "int32",
6570
- "minimum": -2147483648,
6571
- "maximum": 2147483647
6572
- },
6573
- "ResultsDocument": {
6574
- "type": "object",
6575
- "properties": {
6576
- "Bounds": {
6577
- "type": "object",
6578
- "properties": {
6579
- "PageCount": {
6580
- "type": "integer",
6581
- "format": "int32",
6582
- "minimum": -2147483648,
6583
- "maximum": 2147483647
6584
- },
6585
- "PageRange": {
6586
- "type": [
6587
- "string",
6588
- "null"
6589
- ]
6590
- }
6410
+ "ClassificationResult": {
6411
+ "type": "array",
6412
+ "items": {
6413
+ "type": "object",
6414
+ "properties": {
6415
+ "DocumentTypeId": {
6416
+ "type": [
6417
+ "string",
6418
+ "null"
6419
+ ]
6420
+ },
6421
+ "DocumentId": {
6422
+ "type": [
6423
+ "string",
6424
+ "null"
6425
+ ]
6426
+ },
6427
+ "Confidence": {
6428
+ "type": "number",
6429
+ "format": "float",
6430
+ "minimum": -3.402823669209385e+38,
6431
+ "maximum": 3.402823669209385e+38
6432
+ },
6433
+ "OcrConfidence": {
6434
+ "type": "number",
6435
+ "format": "float",
6436
+ "minimum": -3.402823669209385e+38,
6437
+ "maximum": 3.402823669209385e+38
6438
+ },
6439
+ "Reference": {
6440
+ "type": "object",
6441
+ "properties": {
6442
+ "TextStartIndex": {
6443
+ "type": "integer",
6444
+ "format": "int32",
6445
+ "minimum": -2147483648,
6446
+ "maximum": 2147483647
6591
6447
  },
6592
- "additionalProperties": false
6593
- },
6594
- "Language": {
6595
- "type": [
6596
- "string",
6597
- "null"
6598
- ]
6599
- },
6600
- "DocumentGroup": {
6601
- "type": [
6602
- "string",
6603
- "null"
6604
- ]
6605
- },
6606
- "DocumentCategory": {
6607
- "type": [
6608
- "string",
6609
- "null"
6610
- ]
6611
- },
6612
- "DocumentTypeId": {
6613
- "type": [
6614
- "string",
6615
- "null"
6616
- ]
6617
- },
6618
- "DocumentTypeName": {
6619
- "type": [
6620
- "string",
6621
- "null"
6622
- ]
6623
- },
6624
- "DocumentTypeDataVersion": {
6625
- "type": "integer",
6626
- "format": "int32",
6627
- "minimum": -2147483648,
6628
- "maximum": 2147483647
6629
- },
6630
- "DataVersion": {
6631
- "type": "integer",
6632
- "format": "int32",
6633
- "minimum": -2147483648,
6634
- "maximum": 2147483647
6448
+ "TextLength": {
6449
+ "type": "integer",
6450
+ "format": "int32",
6451
+ "minimum": -2147483648,
6452
+ "maximum": 2147483647
6453
+ },
6454
+ "Tokens": {
6455
+ "type": [
6456
+ "array",
6457
+ "null"
6458
+ ],
6459
+ "items": {
6460
+ "type": "object",
6461
+ "properties": {
6462
+ "TextStartIndex": {
6463
+ "type": "integer",
6464
+ "format": "int32",
6465
+ "minimum": -2147483648,
6466
+ "maximum": 2147483647
6467
+ },
6468
+ "TextLength": {
6469
+ "type": "integer",
6470
+ "format": "int32",
6471
+ "minimum": -2147483648,
6472
+ "maximum": 2147483647
6473
+ },
6474
+ "Page": {
6475
+ "type": "integer",
6476
+ "format": "int32",
6477
+ "minimum": -2147483648,
6478
+ "maximum": 2147483647
6479
+ },
6480
+ "PageWidth": {
6481
+ "type": "number",
6482
+ "format": "float",
6483
+ "minimum": -3.402823669209385e+38,
6484
+ "maximum": 3.402823669209385e+38
6485
+ },
6486
+ "PageHeight": {
6487
+ "type": "number",
6488
+ "format": "float",
6489
+ "minimum": -3.402823669209385e+38,
6490
+ "maximum": 3.402823669209385e+38
6491
+ },
6492
+ "Boxes": {
6493
+ "type": [
6494
+ "array",
6495
+ "null"
6496
+ ],
6497
+ "items": {
6498
+ "maxItems": 4,
6499
+ "minItems": 4,
6500
+ "type": "array",
6501
+ "items": {
6502
+ "type": "number"
6503
+ }
6504
+ }
6505
+ }
6506
+ },
6507
+ "additionalProperties": false
6508
+ }
6509
+ }
6635
6510
  },
6636
- "DocumentTypeSource": {
6637
- "enum": [
6638
- "Automatic",
6639
- "Manual",
6640
- "ManuallyChanged",
6641
- "Defaulted",
6642
- "External"
6643
- ],
6644
- "type": "string"
6511
+ "additionalProperties": false
6512
+ },
6513
+ "DocumentBounds": {
6514
+ "type": "object",
6515
+ "properties": {
6516
+ "PageCount": {
6517
+ "type": "integer",
6518
+ "format": "int32",
6519
+ "minimum": -2147483648,
6520
+ "maximum": 2147483647
6521
+ },
6522
+ "PageRange": {
6523
+ "type": [
6524
+ "string",
6525
+ "null"
6526
+ ]
6527
+ }
6645
6528
  },
6646
- "DocumentTypeField": {
6647
- "type": "object",
6648
- "properties": {
6649
- "Components": {
6650
- "type": [
6651
- "array",
6652
- "null"
6653
- ],
6654
- "items": {
6655
- "type": "object",
6656
- "properties": {
6657
- "FieldId": {
6658
- "type": [
6659
- "string",
6660
- "null"
6661
- ]
6662
- },
6663
- "FieldName": {
6664
- "type": [
6665
- "string",
6666
- "null"
6667
- ]
6668
- },
6669
- "FieldType": {
6670
- "enum": [
6671
- "Text",
6672
- "Number",
6529
+ "additionalProperties": false
6530
+ },
6531
+ "ClassifierName": {
6532
+ "type": [
6533
+ "string",
6534
+ "null"
6535
+ ]
6536
+ }
6537
+ },
6538
+ "additionalProperties": false
6539
+ }
6540
+ }
6541
+ }
6542
+ }
6543
+ },
6544
+ "error": {
6545
+ "type": "object",
6546
+ "description": "Error information if the node fails",
6547
+ "source": "=Error",
6548
+ "var": "error",
6549
+ "schema": {
6550
+ "$schema": "http://json-schema.org/draft-07/schema#",
6551
+ "type": "object",
6552
+ "required": [
6553
+ "code",
6554
+ "message",
6555
+ "detail",
6556
+ "category",
6557
+ "status"
6558
+ ],
6559
+ "properties": {
6560
+ "code": {
6561
+ "type": "string",
6562
+ "description": "Error code as a string"
6563
+ },
6564
+ "message": {
6565
+ "type": "string",
6566
+ "description": "High-level error message"
6567
+ },
6568
+ "detail": {
6569
+ "type": "string",
6570
+ "description": "Detailed error description"
6571
+ },
6572
+ "category": {
6573
+ "type": "string",
6574
+ "description": "Error category"
6575
+ },
6576
+ "status": {
6577
+ "type": "integer",
6578
+ "description": "HTTP status code"
6579
+ }
6580
+ },
6581
+ "additionalProperties": false
6582
+ }
6583
+ }
6584
+ },
6585
+ "form": {
6586
+ "id": "classify-document-properties",
6587
+ "title": "Classify configuration",
6588
+ "sections": [
6589
+ {
6590
+ "id": "model-config",
6591
+ "title": "Model",
6592
+ "collapsible": true,
6593
+ "defaultExpanded": true,
6594
+ "fields": [
6595
+ {
6596
+ "name": "inputs.modelConfig",
6597
+ "type": "custom",
6598
+ "component": "classify-model-config",
6599
+ "label": ""
6600
+ }
6601
+ ]
6602
+ },
6603
+ {
6604
+ "id": "file-input",
6605
+ "title": "File input",
6606
+ "collapsible": true,
6607
+ "defaultExpanded": true,
6608
+ "fields": [
6609
+ {
6610
+ "name": "inputs.fileRef",
6611
+ "type": "file",
6612
+ "label": "File",
6613
+ "description": "The document type is determined from this file.",
6614
+ "validation": {
6615
+ "required": true,
6616
+ "messages": {
6617
+ "required": "Add a file"
6618
+ }
6619
+ }
6620
+ },
6621
+ {
6622
+ "name": "inputs.pageRange",
6623
+ "type": "text",
6624
+ "label": "Page range",
6625
+ "placeholder": "1-5",
6626
+ "description": "Only pages in this range are processed."
6627
+ },
6628
+ {
6629
+ "name": "inputs.splitPages",
6630
+ "type": "switch",
6631
+ "label": "Split pages"
6632
+ }
6633
+ ]
6634
+ }
6635
+ ]
6636
+ }
6637
+ },
6638
+ "uipath.ixp.extract-document-builder@1.0.0": {
6639
+ "nodeType": "uipath.ixp.extract-document-builder",
6640
+ "version": "1.0.0",
6641
+ "category": "document-extraction",
6642
+ "tags": [
6643
+ "ixp",
6644
+ "document-understanding",
6645
+ "extraction"
6646
+ ],
6647
+ "description": "Create and configure a document extraction from scratch",
6648
+ "sortOrder": 46,
6649
+ "display": {
6650
+ "canvasLabel": "Extract v2",
6651
+ "label": "Extract v2",
6652
+ "description": "Create and configure a document extraction from scratch",
6653
+ "icon": "file-text"
6654
+ },
6655
+ "handleConfiguration": [
6656
+ {
6657
+ "position": "left",
6658
+ "handles": [
6659
+ {
6660
+ "id": "input",
6661
+ "type": "target",
6662
+ "handleType": "input"
6663
+ }
6664
+ ]
6665
+ },
6666
+ {
6667
+ "position": "right",
6668
+ "handles": [
6669
+ {
6670
+ "id": "success",
6671
+ "type": "source",
6672
+ "handleType": "output"
6673
+ }
6674
+ ]
6675
+ }
6676
+ ],
6677
+ "supportsErrorHandling": true,
6678
+ "model": {
6679
+ "source": true,
6680
+ "type": "bpmn:ServiceTask",
6681
+ "serviceType": "IXP.DynamicExtraction",
6682
+ "skipBindingsReference": true,
6683
+ "evaluationTarget": {
6684
+ "kind": "documentExtraction",
6685
+ "nodeType": "uipath.ixp.extract-document-builder",
6686
+ "fileInputId": "fileRef",
6687
+ "inputs": [
6688
+ {
6689
+ "id": "fileRef",
6690
+ "direction": "in",
6691
+ "type": "file"
6692
+ }
6693
+ ],
6694
+ "outputs": [
6695
+ {
6696
+ "id": "ExtractionResult",
6697
+ "direction": "out",
6698
+ "type": "object"
6699
+ }
6700
+ ],
6701
+ "runCapability": "unsupported",
6702
+ "attachmentPolicy": {
6703
+ "acceptedExtensions": [
6704
+ ".pdf",
6705
+ ".png",
6706
+ ".jpg",
6707
+ ".jpeg",
6708
+ ".tif",
6709
+ ".tiff"
6710
+ ]
6711
+ }
6712
+ },
6713
+ "bindings": {
6714
+ "resource": "ixpDeployment",
6715
+ "entityType": "ixpDeployment",
6716
+ "resourceSubType": null,
6717
+ "resourceKey": "",
6718
+ "name": "",
6719
+ "values": [
6720
+ {
6721
+ "name": "name",
6722
+ "propertyAttribute": "name",
6723
+ "default": ""
6724
+ },
6725
+ {
6726
+ "name": "folderPath",
6727
+ "propertyAttribute": "folderPath",
6728
+ "default": ""
6729
+ }
6730
+ ]
6731
+ }
6732
+ },
6733
+ "form": {
6734
+ "id": "ixp-extract-document-builder-form",
6735
+ "title": "IXP",
6736
+ "sections": [
6737
+ {
6738
+ "id": "ixp-model-config",
6739
+ "title": "Model config",
6740
+ "collapsible": true,
6741
+ "defaultExpanded": true,
6742
+ "fields": [
6743
+ {
6744
+ "name": "inputs.modelConfig",
6745
+ "type": "custom",
6746
+ "component": "ixp-model-config",
6747
+ "label": ""
6748
+ }
6749
+ ]
6750
+ },
6751
+ {
6752
+ "id": "ixp-file-upload",
6753
+ "title": "File input",
6754
+ "collapsible": true,
6755
+ "defaultExpanded": true,
6756
+ "fields": [
6757
+ {
6758
+ "name": "inputs.fileRef",
6759
+ "type": "file",
6760
+ "label": "File",
6761
+ "description": "File to extract data from",
6762
+ "validation": {
6763
+ "required": true,
6764
+ "messages": {
6765
+ "required": "A file is required for extraction"
6766
+ }
6767
+ }
6768
+ },
6769
+ {
6770
+ "name": "inputs.pageRange",
6771
+ "type": "text",
6772
+ "label": "Page range",
6773
+ "placeholder": "e.g. 1-5",
6774
+ "description": "Optional page range to process."
6775
+ }
6776
+ ]
6777
+ },
6778
+ {
6779
+ "id": "schema-definition",
6780
+ "title": "Schema definition",
6781
+ "collapsible": false,
6782
+ "fields": [
6783
+ {
6784
+ "name": "inputs.schemaDocument",
6785
+ "type": "custom",
6786
+ "component": "ixp-model-taxonomy-editable",
6787
+ "label": ""
6788
+ }
6789
+ ]
6790
+ }
6791
+ ]
6792
+ },
6793
+ "debug": {
6794
+ "runtime": "bpmnEngine"
6795
+ },
6796
+ "toolbarExtensions": {
6797
+ "evaluation": {
6798
+ "actions": [
6799
+ {
6800
+ "id": "open-extraction-dataset",
6801
+ "icon": "file-search",
6802
+ "label": "Evaluate extraction"
6803
+ }
6804
+ ]
6805
+ }
6806
+ },
6807
+ "inputDefinition": {
6808
+ "type": "object",
6809
+ "properties": {
6810
+ "projectName": {
6811
+ "type": "string"
6812
+ },
6813
+ "projectId": {
6814
+ "type": "string"
6815
+ },
6816
+ "versionTag": {
6817
+ "type": "string"
6818
+ },
6819
+ "folderKey": {
6820
+ "type": "string"
6821
+ },
6822
+ "folderName": {
6823
+ "type": "string"
6824
+ },
6825
+ "model": {
6826
+ "type": "object"
6827
+ },
6828
+ "modelName": {
6829
+ "type": "string"
6830
+ },
6831
+ "fileRef": {
6832
+ "type": "string",
6833
+ "minLength": 1
6834
+ },
6835
+ "pageRange": {
6836
+ "type": "string"
6837
+ },
6838
+ "attachmentConfig": {
6839
+ "type": "object"
6840
+ },
6841
+ "attachment": {
6842
+ "type": "object",
6843
+ "description": "File to extract data from.",
6844
+ "properties": {
6845
+ "ID": {
6846
+ "type": "string",
6847
+ "description": "Orchestrator attachment key"
6848
+ },
6849
+ "FullName": {
6850
+ "type": "string",
6851
+ "description": "File name"
6852
+ },
6853
+ "MimeType": {
6854
+ "type": "string",
6855
+ "description": "The MIME type of the content"
6856
+ },
6857
+ "Metadata": {
6858
+ "type": "object",
6859
+ "description": "Dictionary of metadata",
6860
+ "additionalProperties": {
6861
+ "type": "string"
6862
+ }
6863
+ }
6864
+ },
6865
+ "required": [
6866
+ "ID"
6867
+ ]
6868
+ },
6869
+ "modelConfig": {
6870
+ "type": "object"
6871
+ },
6872
+ "schemaDocument": {
6873
+ "type": "object"
6874
+ }
6875
+ },
6876
+ "required": [
6877
+ "fileRef"
6878
+ ]
6879
+ },
6880
+ "inputDefaults": {
6881
+ "modelName": "",
6882
+ "description": "",
6883
+ "projectName": "",
6884
+ "versionTag": "",
6885
+ "folderKey": "",
6886
+ "folderName": "",
6887
+ "fileRef": "",
6888
+ "pageRange": "",
6889
+ "modelConfig": {
6890
+ "kind": "gpt_ixp",
6891
+ "configuration_mode": "inline",
6892
+ "model_version": "gemini_2_5_flash",
6893
+ "execution_mode": "standard",
6894
+ "attribution_method": "word_ids",
6895
+ "input_config": "none",
6896
+ "system_prompt_override": null,
6897
+ "frequency_penalty": null,
6898
+ "temperature": null,
6899
+ "top_p": null,
6900
+ "seed": null,
6901
+ "experimentalSettings": null,
6902
+ "flags": [
6903
+ "append_taxonomy_descriptions",
6904
+ "append_type_descriptions",
6905
+ "append_group_descriptions",
6906
+ "append_field_descriptions"
6907
+ ]
6908
+ }
6909
+ },
6910
+ "outputDefinition": {
6911
+ "output": {
6912
+ "name": "output",
6913
+ "type": "object",
6914
+ "source": "=this",
6915
+ "var": "output",
6916
+ "schema": {
6917
+ "$schema": "http://json-schema.org/draft-07/schema#",
6918
+ "type": "object",
6919
+ "properties": {
6920
+ "ExtractionResult": {
6921
+ "type": "object",
6922
+ "properties": {
6923
+ "DocumentId": {
6924
+ "type": [
6925
+ "string",
6926
+ "null"
6927
+ ]
6928
+ },
6929
+ "ResultsVersion": {
6930
+ "type": "integer",
6931
+ "format": "int32",
6932
+ "minimum": -2147483648,
6933
+ "maximum": 2147483647
6934
+ },
6935
+ "ResultsDocument": {
6936
+ "type": "object",
6937
+ "properties": {
6938
+ "Bounds": {
6939
+ "type": "object",
6940
+ "properties": {
6941
+ "PageCount": {
6942
+ "type": "integer",
6943
+ "format": "int32",
6944
+ "minimum": -2147483648,
6945
+ "maximum": 2147483647
6946
+ },
6947
+ "PageRange": {
6948
+ "type": [
6949
+ "string",
6950
+ "null"
6951
+ ]
6952
+ }
6953
+ },
6954
+ "additionalProperties": false
6955
+ },
6956
+ "Language": {
6957
+ "type": [
6958
+ "string",
6959
+ "null"
6960
+ ]
6961
+ },
6962
+ "DocumentGroup": {
6963
+ "type": [
6964
+ "string",
6965
+ "null"
6966
+ ]
6967
+ },
6968
+ "DocumentCategory": {
6969
+ "type": [
6970
+ "string",
6971
+ "null"
6972
+ ]
6973
+ },
6974
+ "DocumentTypeId": {
6975
+ "type": [
6976
+ "string",
6977
+ "null"
6978
+ ]
6979
+ },
6980
+ "DocumentTypeName": {
6981
+ "type": [
6982
+ "string",
6983
+ "null"
6984
+ ]
6985
+ },
6986
+ "DocumentTypeDataVersion": {
6987
+ "type": "integer",
6988
+ "format": "int32",
6989
+ "minimum": -2147483648,
6990
+ "maximum": 2147483647
6991
+ },
6992
+ "DataVersion": {
6993
+ "type": "integer",
6994
+ "format": "int32",
6995
+ "minimum": -2147483648,
6996
+ "maximum": 2147483647
6997
+ },
6998
+ "DocumentTypeSource": {
6999
+ "enum": [
7000
+ "Automatic",
7001
+ "Manual",
7002
+ "ManuallyChanged",
7003
+ "Defaulted",
7004
+ "External"
7005
+ ],
7006
+ "type": "string"
7007
+ },
7008
+ "DocumentTypeField": {
7009
+ "type": "object",
7010
+ "properties": {
7011
+ "Components": {
7012
+ "type": [
7013
+ "array",
7014
+ "null"
7015
+ ],
7016
+ "items": {
7017
+ "type": "object",
7018
+ "properties": {
7019
+ "FieldId": {
7020
+ "type": [
7021
+ "string",
7022
+ "null"
7023
+ ]
7024
+ },
7025
+ "FieldName": {
7026
+ "type": [
7027
+ "string",
7028
+ "null"
7029
+ ]
7030
+ },
7031
+ "FieldType": {
7032
+ "enum": [
7033
+ "Text",
7034
+ "Number",
6673
7035
  "Date",
6674
7036
  "Name",
6675
7037
  "Address",
@@ -15709,206 +16071,561 @@
15709
16071
  ]
15710
16072
  }
15711
16073
  },
15712
- "userSettings": {
15713
- "type": [
15714
- "object",
15715
- "null"
16074
+ "userSettings": {
16075
+ "type": [
16076
+ "object",
16077
+ "null"
16078
+ ]
16079
+ }
16080
+ },
16081
+ "required": [
16082
+ "conversationId",
16083
+ "latestExchangeId",
16084
+ "messages",
16085
+ "userSettings"
16086
+ ]
16087
+ }
16088
+ },
16089
+ "required": [
16090
+ "conversationContext"
16091
+ ]
16092
+ }
16093
+ },
16094
+ "error": {
16095
+ "type": "object",
16096
+ "description": "Error raised while waiting for the message",
16097
+ "source": "=Error",
16098
+ "var": "error",
16099
+ "schema": {
16100
+ "type": "object"
16101
+ }
16102
+ }
16103
+ },
16104
+ "form": {
16105
+ "id": "wait-for-conversation-message-properties",
16106
+ "title": "Wait for Message",
16107
+ "sections": [
16108
+ {
16109
+ "id": "configuration",
16110
+ "title": "Configuration",
16111
+ "collapsible": false,
16112
+ "defaultExpanded": true,
16113
+ "fields": [
16114
+ {
16115
+ "name": "inputs.conversationId",
16116
+ "type": "text",
16117
+ "label": "Conversation ID",
16118
+ "description": "The ID of the conversation to wait on.",
16119
+ "placeholder": "$vars.conversationTrigger1.output.conversationId",
16120
+ "validation": {
16121
+ "required": true,
16122
+ "messages": {
16123
+ "required": "Conversation ID is required"
16124
+ }
16125
+ }
16126
+ },
16127
+ {
16128
+ "name": "inputs.from",
16129
+ "type": "select",
16130
+ "label": "From",
16131
+ "description": "Role of the message sender to wait for.",
16132
+ "options": [
16133
+ {
16134
+ "label": "User",
16135
+ "value": "User"
16136
+ }
16137
+ ],
16138
+ "rules": [
16139
+ {
16140
+ "id": "from-disabled",
16141
+ "conditions": [],
16142
+ "effects": {
16143
+ "disabled": true
16144
+ }
16145
+ }
16146
+ ]
16147
+ },
16148
+ {
16149
+ "name": "inputs.exchangeLimit",
16150
+ "type": "slider",
16151
+ "label": "Exchange limit",
16152
+ "description": "Maximum number of past exchanges to include in the returned conversation context.",
16153
+ "min": 1,
16154
+ "max": 40,
16155
+ "step": 1,
16156
+ "defaultValue": 20
16157
+ }
16158
+ ]
16159
+ }
16160
+ ]
16161
+ }
16162
+ },
16163
+ "uipath.agent.voice@1.1": {
16164
+ "nodeType": "uipath.agent.voice",
16165
+ "supportsErrorHandling": true,
16166
+ "version": "1.1",
16167
+ "category": "agent",
16168
+ "description": "AI agent for real-time voice conversations over calls",
16169
+ "tags": [
16170
+ "agentic",
16171
+ "ai",
16172
+ "conversational",
16173
+ "voice",
16174
+ "agent",
16175
+ "call",
16176
+ "phone"
16177
+ ],
16178
+ "sortOrder": 10,
16179
+ "display": {
16180
+ "label": "Voice agent",
16181
+ "icon": "phone",
16182
+ "shape": "rectangle"
16183
+ },
16184
+ "handleConfiguration": [
16185
+ {
16186
+ "position": "top",
16187
+ "handles": [
16188
+ {
16189
+ "id": "escalation",
16190
+ "type": "source",
16191
+ "handleType": "artifact",
16192
+ "label": "Escalations",
16193
+ "showButton": true,
16194
+ "constraints": {
16195
+ "allowedTargets": [
16196
+ {
16197
+ "nodeType": "uipath.agent.resource.escalation"
16198
+ },
16199
+ {
16200
+ "nodeType": "uipath.agent.resource.escalation.*"
16201
+ }
16202
+ ],
16203
+ "validationMessage": "Only Agent Escalation nodes can connect here",
16204
+ "addNodePanel": {
16205
+ "searchScope": "deep",
16206
+ "searchProviders": []
16207
+ }
16208
+ }
16209
+ }
16210
+ ]
16211
+ },
16212
+ {
16213
+ "position": "bottom",
16214
+ "handles": [
16215
+ {
16216
+ "id": "context",
16217
+ "type": "source",
16218
+ "handleType": "artifact",
16219
+ "label": "Context",
16220
+ "showButton": true,
16221
+ "constraints": {
16222
+ "allowedTargets": [
16223
+ {
16224
+ "nodeType": "uipath.agent.resource.context.*"
16225
+ }
16226
+ ],
16227
+ "validationMessage": "Only Context resource nodes can connect here",
16228
+ "addNodePanel": {
16229
+ "searchScope": "deep",
16230
+ "searchProviders": [],
16231
+ "refreshOnFocus": "context",
16232
+ "createNewActions": [
16233
+ {
16234
+ "label": "Create new Context",
16235
+ "icon": "plus",
16236
+ "description": "Opens in a new tab",
16237
+ "urlTemplate": "/{org}/agents_/indexes/add",
16238
+ "categoryId": "agent"
16239
+ }
16240
+ ]
16241
+ }
16242
+ }
16243
+ },
16244
+ {
16245
+ "id": "tool",
16246
+ "type": "source",
16247
+ "handleType": "artifact",
16248
+ "label": "Tools",
16249
+ "showButton": true,
16250
+ "constraints": {
16251
+ "allowedTargets": [
16252
+ {
16253
+ "nodeType": "uipath.agent.resource.tool.*"
16254
+ }
16255
+ ],
16256
+ "validationMessage": "Only Tool resource nodes can connect here",
16257
+ "addNodePanel": {
16258
+ "searchScope": "deep",
16259
+ "searchProviders": [],
16260
+ "refreshOnFocus": "mcp",
16261
+ "createNewActions": [
16262
+ {
16263
+ "label": "Create new MCP server",
16264
+ "icon": "plus",
16265
+ "urlTemplate": "/{org}/{tenant}/orchestrator_/mcp",
16266
+ "categoryId": "agent.tool.mcp"
16267
+ }
16268
+ ]
16269
+ }
16270
+ }
16271
+ }
16272
+ ]
16273
+ },
16274
+ {
16275
+ "position": "left",
16276
+ "handles": [
16277
+ {
16278
+ "id": "input",
16279
+ "type": "target",
16280
+ "handleType": "input"
16281
+ }
16282
+ ]
16283
+ },
16284
+ {
16285
+ "position": "right",
16286
+ "handles": [
16287
+ {
16288
+ "id": "success",
16289
+ "type": "source",
16290
+ "handleType": "output"
16291
+ },
16292
+ {
16293
+ "id": "error",
16294
+ "label": "Error",
16295
+ "type": "source",
16296
+ "handleType": "output",
16297
+ "visible": "{inputs.errorHandlingEnabled}",
16298
+ "constraints": {
16299
+ "maxConnections": 1
16300
+ }
16301
+ }
16302
+ ]
16303
+ }
16304
+ ],
16305
+ "form": {
16306
+ "id": "settings-form",
16307
+ "title": "Agent settings",
16308
+ "mode": "onChange",
16309
+ "reValidateMode": "onChange",
16310
+ "sections": [
16311
+ {
16312
+ "id": "section-1",
16313
+ "title": "Agent settings",
16314
+ "collapsible": true,
16315
+ "defaultExpanded": true,
16316
+ "fields": [
16317
+ {
16318
+ "name": "inputs.voice.model",
16319
+ "type": "custom",
16320
+ "component": "conversational-agent-voice-model-picker",
16321
+ "label": "Model"
16322
+ },
16323
+ {
16324
+ "name": "inputs.voice.persona",
16325
+ "type": "custom",
16326
+ "component": "conversational-agent-voice-persona-picker",
16327
+ "label": "Persona"
16328
+ },
16329
+ {
16330
+ "name": "inputs.systemPrompt",
16331
+ "type": "custom",
16332
+ "component": "prompt-editor",
16333
+ "label": "System prompt",
16334
+ "componentProps": {
16335
+ "multiline": true,
16336
+ "minRows": 4,
16337
+ "maxRows": 20,
16338
+ "placeholder": "Enter the system prompt"
16339
+ }
16340
+ }
16341
+ ]
16342
+ },
16343
+ {
16344
+ "id": "section-advanced",
16345
+ "title": "Advanced settings",
16346
+ "collapsible": true,
16347
+ "defaultExpanded": false,
16348
+ "fields": [
16349
+ {
16350
+ "name": "inputs.voice.temperature",
16351
+ "type": "slider",
16352
+ "label": "Temperature",
16353
+ "defaultValue": 0,
16354
+ "min": 0,
16355
+ "max": 1,
16356
+ "step": 0.01
16357
+ },
16358
+ {
16359
+ "name": "inputs.voice.maxTokens",
16360
+ "type": "slider",
16361
+ "label": "Maximum tokens per response",
16362
+ "defaultValue": 65536,
16363
+ "min": 0,
16364
+ "maxRef": {
16365
+ "fromField": "inputs.voice.modelMaxTokens",
16366
+ "fallback": 65536
16367
+ },
16368
+ "step": 1
16369
+ },
16370
+ {
16371
+ "name": "inputs.voice.turnDetection",
16372
+ "type": "custom",
16373
+ "component": "conversational-agent-voice-turn-detection",
16374
+ "label": "Turn detection",
16375
+ "description": "The agent replies when it detects the caller has stopped speaking."
16376
+ },
16377
+ {
16378
+ "name": "inputs.voice.agentSpeaksFirst",
16379
+ "type": "switch",
16380
+ "label": "Agent speaks first",
16381
+ "description": "The agent opens the conversation instead of waiting for the caller to speak.",
16382
+ "defaultValue": true
16383
+ }
16384
+ ]
16385
+ },
16386
+ {
16387
+ "id": "call-settings",
16388
+ "title": "Call settings",
16389
+ "collapsible": true,
16390
+ "defaultExpanded": true,
16391
+ "fields": [
16392
+ {
16393
+ "name": "inputs.callContext",
16394
+ "type": "custom",
16395
+ "component": "code-editor",
16396
+ "label": "Call context",
16397
+ "description": "Bind to the callContext from an Incoming Call trigger or a Create Outgoing Call node.",
16398
+ "componentProps": {
16399
+ "singleLine": true,
16400
+ "expectedType": "object",
16401
+ "showVariableButton": true,
16402
+ "placeholder": "$vars.createOutgoingCall1.output.callContext"
16403
+ }
16404
+ }
16405
+ ]
16406
+ }
16407
+ ]
16408
+ },
16409
+ "inputDefinition": {
16410
+ "type": "object",
16411
+ "properties": {
16412
+ "systemPrompt": {
16413
+ "type": "string"
16414
+ },
16415
+ "maxIterations": {
16416
+ "type": "number",
16417
+ "minimum": 1,
16418
+ "maximum": 8
16419
+ },
16420
+ "isConversational": {
16421
+ "type": "boolean"
16422
+ },
16423
+ "voice": {
16424
+ "type": "object",
16425
+ "properties": {
16426
+ "model": {
16427
+ "type": "string"
16428
+ },
16429
+ "persona": {
16430
+ "type": "string"
16431
+ },
16432
+ "temperature": {
16433
+ "type": "number",
16434
+ "minimum": 0,
16435
+ "maximum": 1
16436
+ },
16437
+ "maxTokens": {
16438
+ "type": "number",
16439
+ "minimum": 0
16440
+ },
16441
+ "modelMaxTokens": {
16442
+ "type": "number",
16443
+ "minimum": 0
16444
+ },
16445
+ "turnDetection": {
16446
+ "type": "object",
16447
+ "description": "Controls when the agent treats the caller as having finished speaking.",
16448
+ "properties": {
16449
+ "silenceDurationMs": {
16450
+ "type": "integer",
16451
+ "minimum": 0,
16452
+ "maximum": 5000
16453
+ },
16454
+ "prefixPaddingMs": {
16455
+ "type": "integer",
16456
+ "minimum": 0,
16457
+ "maximum": 5000
16458
+ },
16459
+ "sensitivity": {
16460
+ "type": "string",
16461
+ "enum": [
16462
+ "low",
16463
+ "high"
15716
16464
  ]
15717
16465
  }
16466
+ }
16467
+ },
16468
+ "agentSpeaksFirst": {
16469
+ "type": "boolean"
16470
+ }
16471
+ }
16472
+ },
16473
+ "callContext": {
16474
+ "type": "object",
16475
+ "description": "Identifies the call to attach this agent to."
16476
+ }
16477
+ }
16478
+ },
16479
+ "outputDefinition": {
16480
+ "output": {
16481
+ "type": "object",
16482
+ "description": "Agent output",
16483
+ "var": "output",
16484
+ "properties": {
16485
+ "uipath__agent_response_messages": {
16486
+ "type": "array",
16487
+ "description": "Agent response messages for this turn (role, contentParts, toolCalls)"
16488
+ },
16489
+ "uipath__voice_call_context": {
16490
+ "type": "object",
16491
+ "description": "Identifies the live call, before or after CAS has associated it with a conversation.",
16492
+ "properties": {
16493
+ "type": {
16494
+ "type": "string",
16495
+ "enum": [
16496
+ "phone",
16497
+ "web"
16498
+ ],
16499
+ "description": "Call medium"
16500
+ },
16501
+ "id": {
16502
+ "type": "string",
16503
+ "description": "Provider-side call identifier (e.g. Twilio call SID for phone)"
16504
+ },
16505
+ "conversationId": {
16506
+ "type": "string",
16507
+ "format": "uuid",
16508
+ "description": "Identifier of the conversation associated with this call"
16509
+ }
16510
+ },
16511
+ "required": [
16512
+ "type",
16513
+ "id"
16514
+ ]
16515
+ },
16516
+ "uipath__voice_session": {
16517
+ "type": "object",
16518
+ "description": "End-outcome of the voice agent session.",
16519
+ "properties": {
16520
+ "callEnded": {
16521
+ "type": "boolean",
16522
+ "description": "Whether the phone call also ended (true) or only the agent session ended and the call is still live (false)."
16523
+ },
16524
+ "endedBy": {
16525
+ "type": "string",
16526
+ "enum": [
16527
+ "agent",
16528
+ "user",
16529
+ "system",
16530
+ "error"
16531
+ ],
16532
+ "description": "What ended the agent session: the agent (__end_session), the user (hangup), the system (End Call / timeout), or an error."
15718
16533
  },
15719
- "required": [
15720
- "conversationId",
15721
- "latestExchangeId",
15722
- "messages",
15723
- "userSettings"
15724
- ]
15725
- }
15726
- },
15727
- "required": [
15728
- "conversationContext"
15729
- ]
16534
+ "reason": {
16535
+ "type": "string",
16536
+ "description": "Reason details for why the voice agent session ended."
16537
+ }
16538
+ },
16539
+ "required": [
16540
+ "callEnded",
16541
+ "endedBy"
16542
+ ]
16543
+ }
15730
16544
  }
15731
16545
  },
15732
16546
  "error": {
15733
16547
  "type": "object",
15734
- "description": "Error raised while waiting for the message",
16548
+ "description": "Error information if the node fails",
15735
16549
  "source": "=Error",
15736
16550
  "var": "error",
15737
16551
  "schema": {
15738
- "type": "object"
16552
+ "$schema": "http://json-schema.org/draft-07/schema#",
16553
+ "type": "object",
16554
+ "required": [
16555
+ "code",
16556
+ "message",
16557
+ "detail",
16558
+ "category",
16559
+ "status"
16560
+ ],
16561
+ "properties": {
16562
+ "code": {
16563
+ "type": "string",
16564
+ "description": "Error code as a string"
16565
+ },
16566
+ "message": {
16567
+ "type": "string",
16568
+ "description": "High-level error message"
16569
+ },
16570
+ "detail": {
16571
+ "type": "string",
16572
+ "description": "Detailed error description"
16573
+ },
16574
+ "category": {
16575
+ "type": "string",
16576
+ "description": "Error category"
16577
+ },
16578
+ "status": {
16579
+ "type": "integer",
16580
+ "description": "HTTP status code"
16581
+ }
16582
+ },
16583
+ "additionalProperties": false
15739
16584
  }
15740
16585
  }
15741
16586
  },
15742
- "form": {
15743
- "id": "wait-for-conversation-message-properties",
15744
- "title": "Wait for Message",
15745
- "sections": [
16587
+ "model": {
16588
+ "source": true,
16589
+ "type": "bpmn:ServiceTask",
16590
+ "serviceType": "Orchestrator.StartInlineAgentJob",
16591
+ "version": "v2",
16592
+ "context": [
15746
16593
  {
15747
- "id": "configuration",
15748
- "title": "Configuration",
15749
- "collapsible": false,
15750
- "defaultExpanded": true,
15751
- "fields": [
15752
- {
15753
- "name": "inputs.conversationId",
15754
- "type": "text",
15755
- "label": "Conversation ID",
15756
- "description": "The ID of the conversation to wait on.",
15757
- "placeholder": "$vars.conversationTrigger1.output.conversationId",
15758
- "validation": {
15759
- "required": true,
15760
- "messages": {
15761
- "required": "Conversation ID is required"
15762
- }
15763
- }
15764
- },
15765
- {
15766
- "name": "inputs.from",
15767
- "type": "select",
15768
- "label": "From",
15769
- "description": "Role of the message sender to wait for.",
15770
- "options": [
15771
- {
15772
- "label": "User",
15773
- "value": "User"
15774
- }
15775
- ],
15776
- "rules": [
15777
- {
15778
- "id": "from-disabled",
15779
- "conditions": [],
15780
- "effects": {
15781
- "disabled": true
15782
- }
15783
- }
15784
- ]
15785
- },
15786
- {
15787
- "name": "inputs.exchangeLimit",
15788
- "type": "slider",
15789
- "label": "Exchange limit",
15790
- "description": "Maximum number of past exchanges to include in the returned conversation context.",
15791
- "min": 1,
15792
- "max": 40,
15793
- "step": 1,
15794
- "defaultValue": 20
15795
- }
15796
- ]
16594
+ "name": "_label",
16595
+ "type": "string",
16596
+ "value": ""
16597
+ },
16598
+ {
16599
+ "name": "name",
16600
+ "type": "string",
16601
+ "value": ""
16602
+ },
16603
+ {
16604
+ "name": "entryPoint",
16605
+ "type": "string",
16606
+ "value": ""
15797
16607
  }
15798
16608
  ]
15799
16609
  }
15800
16610
  },
15801
- "uipath.agent.voice@1.1": {
15802
- "nodeType": "uipath.agent.voice",
15803
- "supportsErrorHandling": true,
15804
- "version": "1.1",
15805
- "category": "agent",
15806
- "description": "AI agent for real-time voice conversations over calls",
16611
+ "core.datafabric.read@1.4": {
16612
+ "nodeType": "core.datafabric.read",
16613
+ "version": "1.4",
16614
+ "category": "data",
16615
+ "description": "Query one or more entity records from Data Fabric",
15807
16616
  "tags": [
15808
- "agentic",
15809
- "ai",
15810
- "conversational",
15811
- "voice",
15812
- "agent",
15813
- "call",
15814
- "phone"
16617
+ "datafabric",
16618
+ "entity",
16619
+ "data",
16620
+ "read",
16621
+ "query"
15815
16622
  ],
15816
- "sortOrder": 10,
16623
+ "sortOrder": 35,
15817
16624
  "display": {
15818
- "label": "Voice agent",
15819
- "icon": "phone",
15820
- "shape": "rectangle"
15821
- },
15822
- "handleConfiguration": [
15823
- {
15824
- "position": "top",
15825
- "handles": [
15826
- {
15827
- "id": "escalation",
15828
- "type": "source",
15829
- "handleType": "artifact",
15830
- "label": "Escalations",
15831
- "showButton": true,
15832
- "constraints": {
15833
- "allowedTargets": [
15834
- {
15835
- "nodeType": "uipath.agent.resource.escalation"
15836
- },
15837
- {
15838
- "nodeType": "uipath.agent.resource.escalation.*"
15839
- }
15840
- ],
15841
- "validationMessage": "Only Agent Escalation nodes can connect here",
15842
- "addNodePanel": {
15843
- "searchScope": "deep",
15844
- "searchProviders": []
15845
- }
15846
- }
15847
- }
15848
- ]
15849
- },
15850
- {
15851
- "position": "bottom",
15852
- "handles": [
15853
- {
15854
- "id": "context",
15855
- "type": "source",
15856
- "handleType": "artifact",
15857
- "label": "Context",
15858
- "showButton": true,
15859
- "constraints": {
15860
- "allowedTargets": [
15861
- {
15862
- "nodeType": "uipath.agent.resource.context.*"
15863
- }
15864
- ],
15865
- "validationMessage": "Only Context resource nodes can connect here",
15866
- "addNodePanel": {
15867
- "searchScope": "deep",
15868
- "searchProviders": [],
15869
- "refreshOnFocus": "context",
15870
- "createNewActions": [
15871
- {
15872
- "label": "Create new Context",
15873
- "icon": "plus",
15874
- "description": "Opens in a new tab",
15875
- "urlTemplate": "/{org}/agents_/indexes/add",
15876
- "categoryId": "agent"
15877
- }
15878
- ]
15879
- }
15880
- }
15881
- },
15882
- {
15883
- "id": "tool",
15884
- "type": "source",
15885
- "handleType": "artifact",
15886
- "label": "Tools",
15887
- "showButton": true,
15888
- "constraints": {
15889
- "allowedTargets": [
15890
- {
15891
- "nodeType": "uipath.agent.resource.tool.*"
15892
- }
15893
- ],
15894
- "validationMessage": "Only Tool resource nodes can connect here",
15895
- "addNodePanel": {
15896
- "searchScope": "deep",
15897
- "searchProviders": [],
15898
- "refreshOnFocus": "mcp",
15899
- "createNewActions": [
15900
- {
15901
- "label": "Create new MCP server",
15902
- "icon": "plus",
15903
- "urlTemplate": "/{org}/{tenant}/orchestrator_/mcp",
15904
- "categoryId": "agent.tool.mcp"
15905
- }
15906
- ]
15907
- }
15908
- }
15909
- }
15910
- ]
15911
- },
16625
+ "label": "Query entity records",
16626
+ "icon": "layers-arrow-up-right"
16627
+ },
16628
+ "handleConfiguration": [
15912
16629
  {
15913
16630
  "position": "left",
15914
16631
  "handles": [
@@ -15923,325 +16640,309 @@
15923
16640
  "position": "right",
15924
16641
  "handles": [
15925
16642
  {
15926
- "id": "success",
16643
+ "id": "output",
15927
16644
  "type": "source",
15928
16645
  "handleType": "output"
15929
- },
15930
- {
15931
- "id": "error",
15932
- "label": "Error",
15933
- "type": "source",
15934
- "handleType": "output",
15935
- "visible": "{inputs.errorHandlingEnabled}",
15936
- "constraints": {
15937
- "maxConnections": 1
15938
- }
15939
16646
  }
15940
16647
  ]
15941
16648
  }
15942
16649
  ],
15943
- "form": {
15944
- "id": "settings-form",
15945
- "title": "Agent settings",
15946
- "mode": "onChange",
15947
- "reValidateMode": "onChange",
15948
- "sections": [
15949
- {
15950
- "id": "section-1",
15951
- "title": "Agent settings",
15952
- "collapsible": true,
15953
- "defaultExpanded": true,
15954
- "fields": [
15955
- {
15956
- "name": "inputs.voice.model",
15957
- "type": "custom",
15958
- "component": "conversational-agent-voice-model-picker",
15959
- "label": "Model"
15960
- },
15961
- {
15962
- "name": "inputs.voice.persona",
15963
- "type": "custom",
15964
- "component": "conversational-agent-voice-persona-picker",
15965
- "label": "Persona"
15966
- },
15967
- {
15968
- "name": "inputs.systemPrompt",
15969
- "type": "custom",
15970
- "component": "prompt-editor",
15971
- "label": "System prompt",
15972
- "componentProps": {
15973
- "multiline": true,
15974
- "minRows": 4,
15975
- "maxRows": 20,
15976
- "placeholder": "Enter the system prompt"
15977
- }
15978
- }
15979
- ]
15980
- },
15981
- {
15982
- "id": "section-advanced",
15983
- "title": "Advanced settings",
15984
- "collapsible": true,
15985
- "defaultExpanded": false,
15986
- "fields": [
15987
- {
15988
- "name": "inputs.voice.temperature",
15989
- "type": "slider",
15990
- "label": "Temperature",
15991
- "defaultValue": 0,
15992
- "min": 0,
15993
- "max": 1,
15994
- "step": 0.01
15995
- },
15996
- {
15997
- "name": "inputs.voice.maxTokens",
15998
- "type": "slider",
15999
- "label": "Maximum tokens per response",
16000
- "defaultValue": 65536,
16001
- "min": 0,
16002
- "maxRef": {
16003
- "fromField": "inputs.voice.modelMaxTokens",
16004
- "fallback": 65536
16005
- },
16006
- "step": 1
16007
- },
16008
- {
16009
- "name": "inputs.voice.turnDetection",
16010
- "type": "custom",
16011
- "component": "conversational-agent-voice-turn-detection",
16012
- "label": "Turn detection",
16013
- "description": "The agent replies when it detects the caller has stopped speaking."
16650
+ "model": {
16651
+ "type": "bpmn:Task",
16652
+ "debug": {
16653
+ "runtime": "bpmnEngine"
16654
+ }
16655
+ },
16656
+ "runtimeConstraints": {
16657
+ "exclude": [
16658
+ "api-function"
16659
+ ]
16660
+ },
16661
+ "inputDefinition": {
16662
+ "type": "object",
16663
+ "properties": {
16664
+ "entityConfig": {
16665
+ "type": "object",
16666
+ "properties": {
16667
+ "entityName": {
16668
+ "type": "string",
16669
+ "minLength": 1,
16670
+ "errorMessage": "An entity must be selected"
16014
16671
  },
16015
- {
16016
- "name": "inputs.voice.agentSpeaksFirst",
16017
- "type": "switch",
16018
- "label": "Agent speaks first",
16019
- "description": "The agent opens the conversation instead of waiting for the caller to speak.",
16020
- "defaultValue": true
16672
+ "resultMode": {
16673
+ "type": "string",
16674
+ "enum": [
16675
+ "single",
16676
+ "multiple"
16677
+ ],
16678
+ "description": "Whether the node queries one record or a list of records",
16679
+ "errorMessage": "Choose whether to query one record or multiple records"
16021
16680
  }
16022
- ]
16023
- },
16681
+ },
16682
+ "required": [
16683
+ "entityName"
16684
+ ],
16685
+ "errorMessage": {
16686
+ "required": "An entity must be selected"
16687
+ }
16688
+ }
16689
+ },
16690
+ "required": [
16691
+ "entityConfig"
16692
+ ]
16693
+ },
16694
+ "inputDefaults": {
16695
+ "entityConfig": {
16696
+ "resultMode": "single"
16697
+ }
16698
+ },
16699
+ "outputDefinition": {
16700
+ "output": {
16701
+ "type": "jsonSchema",
16702
+ "description": "Entity record queried by this node, or the matching records under \"results\"",
16703
+ "source": "=response",
16704
+ "var": "output"
16705
+ }
16706
+ },
16707
+ "form": {
16708
+ "id": "read-entity-properties",
16709
+ "title": "Query entity records configuration",
16710
+ "sections": [
16024
16711
  {
16025
- "id": "call-settings",
16026
- "title": "Call settings",
16712
+ "id": "entity-config",
16713
+ "title": "Entity configuration",
16027
16714
  "collapsible": true,
16028
16715
  "defaultExpanded": true,
16029
16716
  "fields": [
16030
16717
  {
16031
- "name": "inputs.callContext",
16718
+ "name": "inputs.entityConfig",
16032
16719
  "type": "custom",
16033
- "component": "code-editor",
16034
- "label": "Call context",
16035
- "description": "Bind to the callContext from an Incoming Call trigger or a Create Outgoing Call node.",
16036
- "componentProps": {
16037
- "singleLine": true,
16038
- "expectedType": "object",
16039
- "showVariableButton": true,
16040
- "placeholder": "$vars.createOutgoingCall1.output.callContext"
16041
- }
16720
+ "component": "entity-config",
16721
+ "label": ""
16042
16722
  }
16043
16723
  ]
16044
16724
  }
16045
16725
  ]
16726
+ }
16727
+ },
16728
+ "core.datafabric.update@1.3": {
16729
+ "nodeType": "core.datafabric.update",
16730
+ "version": "1.3",
16731
+ "category": "data",
16732
+ "description": "Update an entity record in Data Fabric",
16733
+ "tags": [
16734
+ "datafabric",
16735
+ "entity",
16736
+ "data",
16737
+ "update",
16738
+ "write"
16739
+ ],
16740
+ "sortOrder": 36,
16741
+ "display": {
16742
+ "label": "Update entity record",
16743
+ "icon": "layers-arrow-up-right"
16744
+ },
16745
+ "handleConfiguration": [
16746
+ {
16747
+ "position": "left",
16748
+ "handles": [
16749
+ {
16750
+ "id": "input",
16751
+ "type": "target",
16752
+ "handleType": "input"
16753
+ }
16754
+ ]
16755
+ },
16756
+ {
16757
+ "position": "right",
16758
+ "handles": [
16759
+ {
16760
+ "id": "output",
16761
+ "type": "source",
16762
+ "handleType": "output"
16763
+ }
16764
+ ]
16765
+ }
16766
+ ],
16767
+ "model": {
16768
+ "type": "bpmn:Task",
16769
+ "debug": {
16770
+ "runtime": "bpmnEngine"
16771
+ }
16772
+ },
16773
+ "runtimeConstraints": {
16774
+ "exclude": [
16775
+ "api-function"
16776
+ ]
16046
16777
  },
16047
16778
  "inputDefinition": {
16048
16779
  "type": "object",
16049
16780
  "properties": {
16050
- "systemPrompt": {
16051
- "type": "string"
16052
- },
16053
- "maxIterations": {
16054
- "type": "number",
16055
- "minimum": 1,
16056
- "maximum": 8
16057
- },
16058
- "isConversational": {
16059
- "type": "boolean"
16060
- },
16061
- "voice": {
16062
- "type": "object",
16063
- "properties": {
16064
- "model": {
16065
- "type": "string"
16066
- },
16067
- "persona": {
16068
- "type": "string"
16069
- },
16070
- "temperature": {
16071
- "type": "number",
16072
- "minimum": 0,
16073
- "maximum": 1
16074
- },
16075
- "maxTokens": {
16076
- "type": "number",
16077
- "minimum": 0
16078
- },
16079
- "modelMaxTokens": {
16080
- "type": "number",
16081
- "minimum": 0
16082
- },
16083
- "turnDetection": {
16084
- "type": "object",
16085
- "description": "Controls when the agent treats the caller as having finished speaking.",
16086
- "properties": {
16087
- "silenceDurationMs": {
16088
- "type": "integer",
16089
- "minimum": 0,
16090
- "maximum": 5000
16091
- },
16092
- "prefixPaddingMs": {
16093
- "type": "integer",
16094
- "minimum": 0,
16095
- "maximum": 5000
16781
+ "entityConfig": {
16782
+ "type": "object",
16783
+ "properties": {
16784
+ "entityName": {
16785
+ "type": "string",
16786
+ "minLength": 1,
16787
+ "errorMessage": "An entity must be selected"
16788
+ },
16789
+ "recordId": {
16790
+ "anyOf": [
16791
+ {
16792
+ "type": "string"
16096
16793
  },
16097
- "sensitivity": {
16098
- "type": "string",
16099
- "enum": [
16100
- "low",
16101
- "high"
16794
+ {
16795
+ "type": "object",
16796
+ "properties": {
16797
+ "type": {
16798
+ "const": "jsExpression"
16799
+ },
16800
+ "expression": {
16801
+ "type": "string",
16802
+ "pattern": "\\S"
16803
+ }
16804
+ },
16805
+ "required": [
16806
+ "type",
16807
+ "expression"
16102
16808
  ]
16103
16809
  }
16104
- }
16810
+ ]
16105
16811
  },
16106
- "agentSpeaksFirst": {
16107
- "type": "boolean"
16812
+ "readEntityNodeId": {
16813
+ "type": "string"
16814
+ },
16815
+ "fieldUpdates": {
16816
+ "type": "array",
16817
+ "contains": {
16818
+ "type": "object",
16819
+ "properties": {
16820
+ "field": {
16821
+ "type": "string",
16822
+ "pattern": "\\S"
16823
+ }
16824
+ },
16825
+ "required": [
16826
+ "field"
16827
+ ]
16828
+ },
16829
+ "errorMessage": "Select a field to update"
16108
16830
  }
16109
- }
16110
- },
16111
- "callContext": {
16112
- "type": "object",
16113
- "description": "Identifies the call to attach this agent to."
16114
- }
16115
- }
16116
- },
16117
- "outputDefinition": {
16118
- "output": {
16119
- "type": "object",
16120
- "description": "Agent output",
16121
- "var": "output",
16122
- "properties": {
16123
- "uipath__agent_response_messages": {
16124
- "type": "array",
16125
- "description": "Agent response messages for this turn (role, contentParts, toolCalls)"
16126
16831
  },
16127
- "uipath__voice_call_context": {
16128
- "type": "object",
16129
- "description": "Identifies the live call, before or after CAS has associated it with a conversation.",
16130
- "properties": {
16131
- "type": {
16132
- "type": "string",
16133
- "enum": [
16134
- "phone",
16135
- "web"
16136
- ],
16137
- "description": "Call medium"
16138
- },
16139
- "id": {
16140
- "type": "string",
16141
- "description": "Provider-side call identifier (e.g. Twilio call SID for phone)"
16832
+ "required": [
16833
+ "entityName",
16834
+ "fieldUpdates"
16835
+ ],
16836
+ "allOf": [
16837
+ {
16838
+ "if": {
16839
+ "properties": {
16840
+ "recordSource": {
16841
+ "const": "byId"
16842
+ }
16843
+ },
16844
+ "required": [
16845
+ "recordSource"
16846
+ ]
16142
16847
  },
16143
- "conversationId": {
16144
- "type": "string",
16145
- "format": "uuid",
16146
- "description": "Identifier of the conversation associated with this call"
16848
+ "then": {
16849
+ "required": [
16850
+ "recordId"
16851
+ ],
16852
+ "properties": {
16853
+ "recordId": {
16854
+ "anyOf": [
16855
+ {
16856
+ "type": "string",
16857
+ "pattern": "\\S"
16858
+ },
16859
+ {
16860
+ "type": "object",
16861
+ "properties": {
16862
+ "type": {
16863
+ "const": "jsExpression"
16864
+ },
16865
+ "expression": {
16866
+ "type": "string",
16867
+ "pattern": "\\S"
16868
+ }
16869
+ },
16870
+ "required": [
16871
+ "type",
16872
+ "expression"
16873
+ ]
16874
+ }
16875
+ ]
16876
+ }
16877
+ },
16878
+ "errorMessage": "A record ID is required"
16147
16879
  }
16148
16880
  },
16149
- "required": [
16150
- "type",
16151
- "id"
16152
- ]
16153
- },
16154
- "uipath__voice_session": {
16155
- "type": "object",
16156
- "description": "End-outcome of the voice agent session.",
16157
- "properties": {
16158
- "callEnded": {
16159
- "type": "boolean",
16160
- "description": "Whether the phone call also ended (true) or only the agent session ended and the call is still live (false)."
16881
+ {
16882
+ "if": {
16883
+ "properties": {
16884
+ "recordSource": {
16885
+ "const": "fromRead"
16886
+ }
16887
+ },
16888
+ "required": [
16889
+ "recordSource"
16890
+ ]
16161
16891
  },
16162
- "endedBy": {
16163
- "type": "string",
16164
- "enum": [
16165
- "agent",
16166
- "user",
16167
- "system",
16168
- "error"
16892
+ "then": {
16893
+ "required": [
16894
+ "readEntityNodeId"
16169
16895
  ],
16170
- "description": "What ended the agent session: the agent (__end_session), the user (hangup), the system (End Call / timeout), or an error."
16171
- },
16172
- "reason": {
16173
- "type": "string",
16174
- "description": "Reason details for why the voice agent session ended."
16896
+ "properties": {
16897
+ "readEntityNodeId": {
16898
+ "type": "string",
16899
+ "pattern": "\\S"
16900
+ }
16901
+ },
16902
+ "errorMessage": "Select a Query entity records node"
16175
16903
  }
16176
- },
16177
- "required": [
16178
- "callEnded",
16179
- "endedBy"
16180
- ]
16181
- }
16182
- }
16183
- },
16184
- "error": {
16185
- "type": "object",
16186
- "description": "Error information if the node fails",
16187
- "source": "=Error",
16188
- "var": "error",
16189
- "schema": {
16190
- "$schema": "http://json-schema.org/draft-07/schema#",
16191
- "type": "object",
16192
- "required": [
16193
- "code",
16194
- "message",
16195
- "detail",
16196
- "category",
16197
- "status"
16904
+ }
16198
16905
  ],
16199
- "properties": {
16200
- "code": {
16201
- "type": "string",
16202
- "description": "Error code as a string"
16203
- },
16204
- "message": {
16205
- "type": "string",
16206
- "description": "High-level error message"
16207
- },
16208
- "detail": {
16209
- "type": "string",
16210
- "description": "Detailed error description"
16211
- },
16212
- "category": {
16213
- "type": "string",
16214
- "description": "Error category"
16215
- },
16216
- "status": {
16217
- "type": "integer",
16218
- "description": "HTTP status code"
16906
+ "errorMessage": {
16907
+ "required": {
16908
+ "entityName": "An entity must be selected",
16909
+ "fieldUpdates": "Select a field to update"
16219
16910
  }
16220
- },
16221
- "additionalProperties": false
16911
+ }
16222
16912
  }
16913
+ },
16914
+ "required": [
16915
+ "entityConfig"
16916
+ ]
16917
+ },
16918
+ "inputDefaults": {
16919
+ "entityConfig": {}
16920
+ },
16921
+ "outputDefinition": {
16922
+ "output": {
16923
+ "type": "jsonSchema",
16924
+ "description": "Entity record after the update",
16925
+ "source": "=response",
16926
+ "var": "output"
16223
16927
  }
16224
16928
  },
16225
- "model": {
16226
- "source": true,
16227
- "type": "bpmn:ServiceTask",
16228
- "serviceType": "Orchestrator.StartInlineAgentJob",
16229
- "version": "v2",
16230
- "context": [
16231
- {
16232
- "name": "_label",
16233
- "type": "string",
16234
- "value": ""
16235
- },
16236
- {
16237
- "name": "name",
16238
- "type": "string",
16239
- "value": ""
16240
- },
16929
+ "form": {
16930
+ "id": "update-entity-properties",
16931
+ "title": "Update entity record configuration",
16932
+ "sections": [
16241
16933
  {
16242
- "name": "entryPoint",
16243
- "type": "string",
16244
- "value": ""
16934
+ "id": "entity-config",
16935
+ "title": "Entity configuration",
16936
+ "collapsible": true,
16937
+ "defaultExpanded": true,
16938
+ "fields": [
16939
+ {
16940
+ "name": "inputs.entityConfig",
16941
+ "type": "custom",
16942
+ "component": "update-entity-config",
16943
+ "label": ""
16944
+ }
16945
+ ]
16245
16946
  }
16246
16947
  ]
16247
16948
  }