@bubblelab/bubble-core 0.1.174 → 0.1.176
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.
- package/dist/bubble-bundle.d.ts +105 -27
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +8 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/attio/attio.d.ts +563 -0
- package/dist/bubbles/service-bubble/attio/attio.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.js +484 -0
- package/dist/bubbles/service-bubble/attio/attio.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +527 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.js +386 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.d.ts +1 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.js +4 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/attio/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/index.js +3 -0
- package/dist/bubbles/service-bubble/attio/index.js.map +1 -0
- package/dist/bubbles/service-bubble/capability-pipeline.js +2 -2
- package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +388 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.js +241 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +345 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +180 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/hubspot/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/index.js +3 -0
- package/dist/bubbles/service-bubble/hubspot/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.d.ts +5 -30
- package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.js +70 -204
- package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.js.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.types.d.ts +4 -0
- package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.types.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +31 -0
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +202 -39
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -1
- package/dist/bubbles.json +1598 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/bubbles.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0.0",
|
|
3
|
-
"generatedAt": "2026-02-
|
|
4
|
-
"totalCount":
|
|
3
|
+
"generatedAt": "2026-02-19T01:42:49.623Z",
|
|
4
|
+
"totalCount": 69,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
7
7
|
"name": "hello-world",
|
|
@@ -67066,6 +67066,1602 @@
|
|
|
67066
67066
|
"requiredCredentials": [
|
|
67067
67067
|
"LINEAR_CRED"
|
|
67068
67068
|
]
|
|
67069
|
+
},
|
|
67070
|
+
{
|
|
67071
|
+
"name": "attio",
|
|
67072
|
+
"alias": "attio",
|
|
67073
|
+
"type": "service",
|
|
67074
|
+
"shortDescription": "Attio CRM integration for managing records, notes, tasks, and lists",
|
|
67075
|
+
"useCase": "General purpose bubble for various workflow needs",
|
|
67076
|
+
"outputSchema": "Complex schema - see usage example for structure",
|
|
67077
|
+
"inputJsonSchema": {
|
|
67078
|
+
"anyOf": [
|
|
67079
|
+
{
|
|
67080
|
+
"type": "object",
|
|
67081
|
+
"properties": {
|
|
67082
|
+
"operation": {
|
|
67083
|
+
"type": "string",
|
|
67084
|
+
"enum": [
|
|
67085
|
+
"list_records"
|
|
67086
|
+
],
|
|
67087
|
+
"description": "List records for a given object type with optional filtering"
|
|
67088
|
+
},
|
|
67089
|
+
"object": {
|
|
67090
|
+
"type": "string",
|
|
67091
|
+
"minLength": 1,
|
|
67092
|
+
"description": "Object slug or ID (e.g. \"people\", \"companies\", or a custom object slug)"
|
|
67093
|
+
},
|
|
67094
|
+
"limit": {
|
|
67095
|
+
"type": "number",
|
|
67096
|
+
"minimum": 1,
|
|
67097
|
+
"maximum": 500,
|
|
67098
|
+
"default": 25,
|
|
67099
|
+
"description": "Maximum number of records to return (1-500)"
|
|
67100
|
+
},
|
|
67101
|
+
"offset": {
|
|
67102
|
+
"type": "number",
|
|
67103
|
+
"minimum": 0,
|
|
67104
|
+
"default": 0,
|
|
67105
|
+
"description": "Number of records to skip for pagination"
|
|
67106
|
+
},
|
|
67107
|
+
"sorts": {
|
|
67108
|
+
"type": "array",
|
|
67109
|
+
"items": {
|
|
67110
|
+
"type": "object",
|
|
67111
|
+
"properties": {
|
|
67112
|
+
"attribute": {
|
|
67113
|
+
"type": "string",
|
|
67114
|
+
"description": "Attribute slug to sort by"
|
|
67115
|
+
},
|
|
67116
|
+
"direction": {
|
|
67117
|
+
"type": "string",
|
|
67118
|
+
"enum": [
|
|
67119
|
+
"asc",
|
|
67120
|
+
"desc"
|
|
67121
|
+
],
|
|
67122
|
+
"default": "asc",
|
|
67123
|
+
"description": "Sort direction"
|
|
67124
|
+
}
|
|
67125
|
+
},
|
|
67126
|
+
"required": [
|
|
67127
|
+
"attribute"
|
|
67128
|
+
],
|
|
67129
|
+
"additionalProperties": false
|
|
67130
|
+
},
|
|
67131
|
+
"description": "Sort configuration for results"
|
|
67132
|
+
},
|
|
67133
|
+
"filter": {
|
|
67134
|
+
"type": "object",
|
|
67135
|
+
"additionalProperties": {},
|
|
67136
|
+
"description": "Filter object following Attio filter syntax (see Attio API docs)"
|
|
67137
|
+
},
|
|
67138
|
+
"credentials": {
|
|
67139
|
+
"type": "object",
|
|
67140
|
+
"additionalProperties": {
|
|
67141
|
+
"type": "string"
|
|
67142
|
+
},
|
|
67143
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67144
|
+
}
|
|
67145
|
+
},
|
|
67146
|
+
"required": [
|
|
67147
|
+
"operation",
|
|
67148
|
+
"object"
|
|
67149
|
+
],
|
|
67150
|
+
"additionalProperties": false
|
|
67151
|
+
},
|
|
67152
|
+
{
|
|
67153
|
+
"type": "object",
|
|
67154
|
+
"properties": {
|
|
67155
|
+
"operation": {
|
|
67156
|
+
"type": "string",
|
|
67157
|
+
"enum": [
|
|
67158
|
+
"get_record"
|
|
67159
|
+
],
|
|
67160
|
+
"description": "Get a single record by ID"
|
|
67161
|
+
},
|
|
67162
|
+
"object": {
|
|
67163
|
+
"type": "string",
|
|
67164
|
+
"minLength": 1,
|
|
67165
|
+
"description": "Object slug or ID (e.g. \"people\", \"companies\")"
|
|
67166
|
+
},
|
|
67167
|
+
"record_id": {
|
|
67168
|
+
"type": "string",
|
|
67169
|
+
"minLength": 1,
|
|
67170
|
+
"description": "The UUID of the record to retrieve"
|
|
67171
|
+
},
|
|
67172
|
+
"credentials": {
|
|
67173
|
+
"type": "object",
|
|
67174
|
+
"additionalProperties": {
|
|
67175
|
+
"type": "string"
|
|
67176
|
+
},
|
|
67177
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67178
|
+
}
|
|
67179
|
+
},
|
|
67180
|
+
"required": [
|
|
67181
|
+
"operation",
|
|
67182
|
+
"object",
|
|
67183
|
+
"record_id"
|
|
67184
|
+
],
|
|
67185
|
+
"additionalProperties": false
|
|
67186
|
+
},
|
|
67187
|
+
{
|
|
67188
|
+
"type": "object",
|
|
67189
|
+
"properties": {
|
|
67190
|
+
"operation": {
|
|
67191
|
+
"type": "string",
|
|
67192
|
+
"enum": [
|
|
67193
|
+
"create_record"
|
|
67194
|
+
],
|
|
67195
|
+
"description": "Create a new record in a given object type"
|
|
67196
|
+
},
|
|
67197
|
+
"object": {
|
|
67198
|
+
"type": "string",
|
|
67199
|
+
"minLength": 1,
|
|
67200
|
+
"description": "Object slug or ID (e.g. \"people\", \"companies\")"
|
|
67201
|
+
},
|
|
67202
|
+
"values": {
|
|
67203
|
+
"type": "object",
|
|
67204
|
+
"additionalProperties": {},
|
|
67205
|
+
"description": "Attribute values for the new record (keyed by API slug)"
|
|
67206
|
+
},
|
|
67207
|
+
"matching_attribute": {
|
|
67208
|
+
"type": "string",
|
|
67209
|
+
"description": "Attribute slug for upsert matching (if set, acts as assert/upsert)"
|
|
67210
|
+
},
|
|
67211
|
+
"credentials": {
|
|
67212
|
+
"type": "object",
|
|
67213
|
+
"additionalProperties": {
|
|
67214
|
+
"type": "string"
|
|
67215
|
+
},
|
|
67216
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67217
|
+
}
|
|
67218
|
+
},
|
|
67219
|
+
"required": [
|
|
67220
|
+
"operation",
|
|
67221
|
+
"object",
|
|
67222
|
+
"values"
|
|
67223
|
+
],
|
|
67224
|
+
"additionalProperties": false
|
|
67225
|
+
},
|
|
67226
|
+
{
|
|
67227
|
+
"type": "object",
|
|
67228
|
+
"properties": {
|
|
67229
|
+
"operation": {
|
|
67230
|
+
"type": "string",
|
|
67231
|
+
"enum": [
|
|
67232
|
+
"update_record"
|
|
67233
|
+
],
|
|
67234
|
+
"description": "Update an existing record by ID"
|
|
67235
|
+
},
|
|
67236
|
+
"object": {
|
|
67237
|
+
"type": "string",
|
|
67238
|
+
"minLength": 1,
|
|
67239
|
+
"description": "Object slug or ID (e.g. \"people\", \"companies\")"
|
|
67240
|
+
},
|
|
67241
|
+
"record_id": {
|
|
67242
|
+
"type": "string",
|
|
67243
|
+
"minLength": 1,
|
|
67244
|
+
"description": "The UUID of the record to update"
|
|
67245
|
+
},
|
|
67246
|
+
"values": {
|
|
67247
|
+
"type": "object",
|
|
67248
|
+
"additionalProperties": {},
|
|
67249
|
+
"description": "Attribute values to update (keyed by API slug)"
|
|
67250
|
+
},
|
|
67251
|
+
"credentials": {
|
|
67252
|
+
"type": "object",
|
|
67253
|
+
"additionalProperties": {
|
|
67254
|
+
"type": "string"
|
|
67255
|
+
},
|
|
67256
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67257
|
+
}
|
|
67258
|
+
},
|
|
67259
|
+
"required": [
|
|
67260
|
+
"operation",
|
|
67261
|
+
"object",
|
|
67262
|
+
"record_id",
|
|
67263
|
+
"values"
|
|
67264
|
+
],
|
|
67265
|
+
"additionalProperties": false
|
|
67266
|
+
},
|
|
67267
|
+
{
|
|
67268
|
+
"type": "object",
|
|
67269
|
+
"properties": {
|
|
67270
|
+
"operation": {
|
|
67271
|
+
"type": "string",
|
|
67272
|
+
"enum": [
|
|
67273
|
+
"delete_record"
|
|
67274
|
+
],
|
|
67275
|
+
"description": "Delete a record by ID"
|
|
67276
|
+
},
|
|
67277
|
+
"object": {
|
|
67278
|
+
"type": "string",
|
|
67279
|
+
"minLength": 1,
|
|
67280
|
+
"description": "Object slug or ID (e.g. \"people\", \"companies\")"
|
|
67281
|
+
},
|
|
67282
|
+
"record_id": {
|
|
67283
|
+
"type": "string",
|
|
67284
|
+
"minLength": 1,
|
|
67285
|
+
"description": "The UUID of the record to delete"
|
|
67286
|
+
},
|
|
67287
|
+
"credentials": {
|
|
67288
|
+
"type": "object",
|
|
67289
|
+
"additionalProperties": {
|
|
67290
|
+
"type": "string"
|
|
67291
|
+
},
|
|
67292
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67293
|
+
}
|
|
67294
|
+
},
|
|
67295
|
+
"required": [
|
|
67296
|
+
"operation",
|
|
67297
|
+
"object",
|
|
67298
|
+
"record_id"
|
|
67299
|
+
],
|
|
67300
|
+
"additionalProperties": false
|
|
67301
|
+
},
|
|
67302
|
+
{
|
|
67303
|
+
"type": "object",
|
|
67304
|
+
"properties": {
|
|
67305
|
+
"operation": {
|
|
67306
|
+
"type": "string",
|
|
67307
|
+
"enum": [
|
|
67308
|
+
"create_note"
|
|
67309
|
+
],
|
|
67310
|
+
"description": "Create a note linked to a record"
|
|
67311
|
+
},
|
|
67312
|
+
"parent_object": {
|
|
67313
|
+
"type": "string",
|
|
67314
|
+
"minLength": 1,
|
|
67315
|
+
"description": "Object slug the note is linked to (e.g. \"people\", \"companies\")"
|
|
67316
|
+
},
|
|
67317
|
+
"parent_record_id": {
|
|
67318
|
+
"type": "string",
|
|
67319
|
+
"minLength": 1,
|
|
67320
|
+
"description": "UUID of the record to attach the note to"
|
|
67321
|
+
},
|
|
67322
|
+
"title": {
|
|
67323
|
+
"type": "string",
|
|
67324
|
+
"minLength": 1,
|
|
67325
|
+
"description": "Title of the note"
|
|
67326
|
+
},
|
|
67327
|
+
"content": {
|
|
67328
|
+
"type": "string",
|
|
67329
|
+
"minLength": 1,
|
|
67330
|
+
"description": "Plain text content of the note"
|
|
67331
|
+
},
|
|
67332
|
+
"format": {
|
|
67333
|
+
"type": "string",
|
|
67334
|
+
"enum": [
|
|
67335
|
+
"plaintext"
|
|
67336
|
+
],
|
|
67337
|
+
"default": "plaintext",
|
|
67338
|
+
"description": "Content format"
|
|
67339
|
+
},
|
|
67340
|
+
"credentials": {
|
|
67341
|
+
"type": "object",
|
|
67342
|
+
"additionalProperties": {
|
|
67343
|
+
"type": "string"
|
|
67344
|
+
},
|
|
67345
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67346
|
+
}
|
|
67347
|
+
},
|
|
67348
|
+
"required": [
|
|
67349
|
+
"operation",
|
|
67350
|
+
"parent_object",
|
|
67351
|
+
"parent_record_id",
|
|
67352
|
+
"title",
|
|
67353
|
+
"content"
|
|
67354
|
+
],
|
|
67355
|
+
"additionalProperties": false
|
|
67356
|
+
},
|
|
67357
|
+
{
|
|
67358
|
+
"type": "object",
|
|
67359
|
+
"properties": {
|
|
67360
|
+
"operation": {
|
|
67361
|
+
"type": "string",
|
|
67362
|
+
"enum": [
|
|
67363
|
+
"list_notes"
|
|
67364
|
+
],
|
|
67365
|
+
"description": "List notes, optionally filtered by parent record"
|
|
67366
|
+
},
|
|
67367
|
+
"parent_object": {
|
|
67368
|
+
"type": "string",
|
|
67369
|
+
"description": "Filter by object slug (e.g. \"people\")"
|
|
67370
|
+
},
|
|
67371
|
+
"parent_record_id": {
|
|
67372
|
+
"type": "string",
|
|
67373
|
+
"description": "Filter by parent record UUID"
|
|
67374
|
+
},
|
|
67375
|
+
"limit": {
|
|
67376
|
+
"type": "number",
|
|
67377
|
+
"minimum": 1,
|
|
67378
|
+
"maximum": 100,
|
|
67379
|
+
"default": 25,
|
|
67380
|
+
"description": "Maximum number of notes to return"
|
|
67381
|
+
},
|
|
67382
|
+
"offset": {
|
|
67383
|
+
"type": "number",
|
|
67384
|
+
"minimum": 0,
|
|
67385
|
+
"default": 0,
|
|
67386
|
+
"description": "Number of notes to skip for pagination"
|
|
67387
|
+
},
|
|
67388
|
+
"credentials": {
|
|
67389
|
+
"type": "object",
|
|
67390
|
+
"additionalProperties": {
|
|
67391
|
+
"type": "string"
|
|
67392
|
+
},
|
|
67393
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67394
|
+
}
|
|
67395
|
+
},
|
|
67396
|
+
"required": [
|
|
67397
|
+
"operation"
|
|
67398
|
+
],
|
|
67399
|
+
"additionalProperties": false
|
|
67400
|
+
},
|
|
67401
|
+
{
|
|
67402
|
+
"type": "object",
|
|
67403
|
+
"properties": {
|
|
67404
|
+
"operation": {
|
|
67405
|
+
"type": "string",
|
|
67406
|
+
"enum": [
|
|
67407
|
+
"create_task"
|
|
67408
|
+
],
|
|
67409
|
+
"description": "Create a new task in Attio"
|
|
67410
|
+
},
|
|
67411
|
+
"content": {
|
|
67412
|
+
"type": "string",
|
|
67413
|
+
"minLength": 1,
|
|
67414
|
+
"maxLength": 2000,
|
|
67415
|
+
"description": "Plain text content of the task"
|
|
67416
|
+
},
|
|
67417
|
+
"deadline_at": {
|
|
67418
|
+
"type": "string",
|
|
67419
|
+
"description": "Deadline in ISO 8601 format (e.g. \"2025-12-31T23:59:59Z\")"
|
|
67420
|
+
},
|
|
67421
|
+
"is_completed": {
|
|
67422
|
+
"type": "boolean",
|
|
67423
|
+
"default": false,
|
|
67424
|
+
"description": "Whether the task starts as completed"
|
|
67425
|
+
},
|
|
67426
|
+
"linked_records": {
|
|
67427
|
+
"type": "array",
|
|
67428
|
+
"items": {
|
|
67429
|
+
"type": "object",
|
|
67430
|
+
"properties": {
|
|
67431
|
+
"target_object": {
|
|
67432
|
+
"type": "string",
|
|
67433
|
+
"description": "Object slug (e.g. \"people\", \"companies\")"
|
|
67434
|
+
},
|
|
67435
|
+
"target_record_id": {
|
|
67436
|
+
"type": "string",
|
|
67437
|
+
"description": "UUID of the record to link"
|
|
67438
|
+
}
|
|
67439
|
+
},
|
|
67440
|
+
"required": [
|
|
67441
|
+
"target_object",
|
|
67442
|
+
"target_record_id"
|
|
67443
|
+
],
|
|
67444
|
+
"additionalProperties": false
|
|
67445
|
+
},
|
|
67446
|
+
"description": "Records to link this task to"
|
|
67447
|
+
},
|
|
67448
|
+
"assignees": {
|
|
67449
|
+
"type": "array",
|
|
67450
|
+
"items": {
|
|
67451
|
+
"type": "object",
|
|
67452
|
+
"properties": {
|
|
67453
|
+
"referenced_actor_type": {
|
|
67454
|
+
"type": "string",
|
|
67455
|
+
"enum": [
|
|
67456
|
+
"workspace-member"
|
|
67457
|
+
],
|
|
67458
|
+
"description": "Type of actor"
|
|
67459
|
+
},
|
|
67460
|
+
"referenced_actor_id": {
|
|
67461
|
+
"type": "string",
|
|
67462
|
+
"description": "UUID of the workspace member"
|
|
67463
|
+
}
|
|
67464
|
+
},
|
|
67465
|
+
"required": [
|
|
67466
|
+
"referenced_actor_type",
|
|
67467
|
+
"referenced_actor_id"
|
|
67468
|
+
],
|
|
67469
|
+
"additionalProperties": false
|
|
67470
|
+
},
|
|
67471
|
+
"description": "Workspace members to assign this task to"
|
|
67472
|
+
},
|
|
67473
|
+
"credentials": {
|
|
67474
|
+
"type": "object",
|
|
67475
|
+
"additionalProperties": {
|
|
67476
|
+
"type": "string"
|
|
67477
|
+
},
|
|
67478
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67479
|
+
}
|
|
67480
|
+
},
|
|
67481
|
+
"required": [
|
|
67482
|
+
"operation",
|
|
67483
|
+
"content"
|
|
67484
|
+
],
|
|
67485
|
+
"additionalProperties": false
|
|
67486
|
+
},
|
|
67487
|
+
{
|
|
67488
|
+
"type": "object",
|
|
67489
|
+
"properties": {
|
|
67490
|
+
"operation": {
|
|
67491
|
+
"type": "string",
|
|
67492
|
+
"enum": [
|
|
67493
|
+
"list_tasks"
|
|
67494
|
+
],
|
|
67495
|
+
"description": "List tasks with optional filtering"
|
|
67496
|
+
},
|
|
67497
|
+
"limit": {
|
|
67498
|
+
"type": "number",
|
|
67499
|
+
"minimum": 1,
|
|
67500
|
+
"maximum": 100,
|
|
67501
|
+
"default": 25,
|
|
67502
|
+
"description": "Maximum number of tasks to return"
|
|
67503
|
+
},
|
|
67504
|
+
"offset": {
|
|
67505
|
+
"type": "number",
|
|
67506
|
+
"minimum": 0,
|
|
67507
|
+
"default": 0,
|
|
67508
|
+
"description": "Number of tasks to skip for pagination"
|
|
67509
|
+
},
|
|
67510
|
+
"credentials": {
|
|
67511
|
+
"type": "object",
|
|
67512
|
+
"additionalProperties": {
|
|
67513
|
+
"type": "string"
|
|
67514
|
+
},
|
|
67515
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67516
|
+
}
|
|
67517
|
+
},
|
|
67518
|
+
"required": [
|
|
67519
|
+
"operation"
|
|
67520
|
+
],
|
|
67521
|
+
"additionalProperties": false
|
|
67522
|
+
},
|
|
67523
|
+
{
|
|
67524
|
+
"type": "object",
|
|
67525
|
+
"properties": {
|
|
67526
|
+
"operation": {
|
|
67527
|
+
"type": "string",
|
|
67528
|
+
"enum": [
|
|
67529
|
+
"update_task"
|
|
67530
|
+
],
|
|
67531
|
+
"description": "Update an existing task"
|
|
67532
|
+
},
|
|
67533
|
+
"task_id": {
|
|
67534
|
+
"type": "string",
|
|
67535
|
+
"minLength": 1,
|
|
67536
|
+
"description": "UUID of the task to update"
|
|
67537
|
+
},
|
|
67538
|
+
"content": {
|
|
67539
|
+
"type": "string",
|
|
67540
|
+
"maxLength": 2000,
|
|
67541
|
+
"description": "Updated task content"
|
|
67542
|
+
},
|
|
67543
|
+
"deadline_at": {
|
|
67544
|
+
"type": "string",
|
|
67545
|
+
"description": "Updated deadline in ISO 8601 format"
|
|
67546
|
+
},
|
|
67547
|
+
"is_completed": {
|
|
67548
|
+
"type": "boolean",
|
|
67549
|
+
"description": "Updated completion status"
|
|
67550
|
+
},
|
|
67551
|
+
"credentials": {
|
|
67552
|
+
"type": "object",
|
|
67553
|
+
"additionalProperties": {
|
|
67554
|
+
"type": "string"
|
|
67555
|
+
},
|
|
67556
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67557
|
+
}
|
|
67558
|
+
},
|
|
67559
|
+
"required": [
|
|
67560
|
+
"operation",
|
|
67561
|
+
"task_id"
|
|
67562
|
+
],
|
|
67563
|
+
"additionalProperties": false
|
|
67564
|
+
},
|
|
67565
|
+
{
|
|
67566
|
+
"type": "object",
|
|
67567
|
+
"properties": {
|
|
67568
|
+
"operation": {
|
|
67569
|
+
"type": "string",
|
|
67570
|
+
"enum": [
|
|
67571
|
+
"delete_task"
|
|
67572
|
+
],
|
|
67573
|
+
"description": "Delete a task by ID"
|
|
67574
|
+
},
|
|
67575
|
+
"task_id": {
|
|
67576
|
+
"type": "string",
|
|
67577
|
+
"minLength": 1,
|
|
67578
|
+
"description": "UUID of the task to delete"
|
|
67579
|
+
},
|
|
67580
|
+
"credentials": {
|
|
67581
|
+
"type": "object",
|
|
67582
|
+
"additionalProperties": {
|
|
67583
|
+
"type": "string"
|
|
67584
|
+
},
|
|
67585
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67586
|
+
}
|
|
67587
|
+
},
|
|
67588
|
+
"required": [
|
|
67589
|
+
"operation",
|
|
67590
|
+
"task_id"
|
|
67591
|
+
],
|
|
67592
|
+
"additionalProperties": false
|
|
67593
|
+
},
|
|
67594
|
+
{
|
|
67595
|
+
"type": "object",
|
|
67596
|
+
"properties": {
|
|
67597
|
+
"operation": {
|
|
67598
|
+
"type": "string",
|
|
67599
|
+
"enum": [
|
|
67600
|
+
"list_lists"
|
|
67601
|
+
],
|
|
67602
|
+
"description": "List all lists (pipelines) in the workspace"
|
|
67603
|
+
},
|
|
67604
|
+
"limit": {
|
|
67605
|
+
"type": "number",
|
|
67606
|
+
"minimum": 1,
|
|
67607
|
+
"maximum": 100,
|
|
67608
|
+
"default": 25,
|
|
67609
|
+
"description": "Maximum number of lists to return"
|
|
67610
|
+
},
|
|
67611
|
+
"offset": {
|
|
67612
|
+
"type": "number",
|
|
67613
|
+
"minimum": 0,
|
|
67614
|
+
"default": 0,
|
|
67615
|
+
"description": "Number of lists to skip for pagination"
|
|
67616
|
+
},
|
|
67617
|
+
"credentials": {
|
|
67618
|
+
"type": "object",
|
|
67619
|
+
"additionalProperties": {
|
|
67620
|
+
"type": "string"
|
|
67621
|
+
},
|
|
67622
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67623
|
+
}
|
|
67624
|
+
},
|
|
67625
|
+
"required": [
|
|
67626
|
+
"operation"
|
|
67627
|
+
],
|
|
67628
|
+
"additionalProperties": false
|
|
67629
|
+
},
|
|
67630
|
+
{
|
|
67631
|
+
"type": "object",
|
|
67632
|
+
"properties": {
|
|
67633
|
+
"operation": {
|
|
67634
|
+
"type": "string",
|
|
67635
|
+
"enum": [
|
|
67636
|
+
"create_entry"
|
|
67637
|
+
],
|
|
67638
|
+
"description": "Add a record to a list (create a list entry)"
|
|
67639
|
+
},
|
|
67640
|
+
"list": {
|
|
67641
|
+
"type": "string",
|
|
67642
|
+
"minLength": 1,
|
|
67643
|
+
"description": "List UUID or slug"
|
|
67644
|
+
},
|
|
67645
|
+
"parent_object": {
|
|
67646
|
+
"type": "string",
|
|
67647
|
+
"minLength": 1,
|
|
67648
|
+
"description": "Object slug of the record being added (e.g. \"companies\")"
|
|
67649
|
+
},
|
|
67650
|
+
"parent_record_id": {
|
|
67651
|
+
"type": "string",
|
|
67652
|
+
"minLength": 1,
|
|
67653
|
+
"description": "UUID of the record to add to the list"
|
|
67654
|
+
},
|
|
67655
|
+
"entry_values": {
|
|
67656
|
+
"type": "object",
|
|
67657
|
+
"additionalProperties": {},
|
|
67658
|
+
"default": {},
|
|
67659
|
+
"description": "Attribute values for the list entry (keyed by API slug)"
|
|
67660
|
+
},
|
|
67661
|
+
"credentials": {
|
|
67662
|
+
"type": "object",
|
|
67663
|
+
"additionalProperties": {
|
|
67664
|
+
"type": "string"
|
|
67665
|
+
},
|
|
67666
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67667
|
+
}
|
|
67668
|
+
},
|
|
67669
|
+
"required": [
|
|
67670
|
+
"operation",
|
|
67671
|
+
"list",
|
|
67672
|
+
"parent_object",
|
|
67673
|
+
"parent_record_id"
|
|
67674
|
+
],
|
|
67675
|
+
"additionalProperties": false
|
|
67676
|
+
},
|
|
67677
|
+
{
|
|
67678
|
+
"type": "object",
|
|
67679
|
+
"properties": {
|
|
67680
|
+
"operation": {
|
|
67681
|
+
"type": "string",
|
|
67682
|
+
"enum": [
|
|
67683
|
+
"list_entries"
|
|
67684
|
+
],
|
|
67685
|
+
"description": "List entries in a list"
|
|
67686
|
+
},
|
|
67687
|
+
"list": {
|
|
67688
|
+
"type": "string",
|
|
67689
|
+
"minLength": 1,
|
|
67690
|
+
"description": "List UUID or slug"
|
|
67691
|
+
},
|
|
67692
|
+
"limit": {
|
|
67693
|
+
"type": "number",
|
|
67694
|
+
"minimum": 1,
|
|
67695
|
+
"maximum": 500,
|
|
67696
|
+
"default": 25,
|
|
67697
|
+
"description": "Maximum number of entries to return"
|
|
67698
|
+
},
|
|
67699
|
+
"offset": {
|
|
67700
|
+
"type": "number",
|
|
67701
|
+
"minimum": 0,
|
|
67702
|
+
"default": 0,
|
|
67703
|
+
"description": "Number of entries to skip for pagination"
|
|
67704
|
+
},
|
|
67705
|
+
"filter": {
|
|
67706
|
+
"type": "object",
|
|
67707
|
+
"additionalProperties": {},
|
|
67708
|
+
"description": "Filter object following Attio filter syntax"
|
|
67709
|
+
},
|
|
67710
|
+
"credentials": {
|
|
67711
|
+
"type": "object",
|
|
67712
|
+
"additionalProperties": {
|
|
67713
|
+
"type": "string"
|
|
67714
|
+
},
|
|
67715
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
67716
|
+
}
|
|
67717
|
+
},
|
|
67718
|
+
"required": [
|
|
67719
|
+
"operation",
|
|
67720
|
+
"list"
|
|
67721
|
+
],
|
|
67722
|
+
"additionalProperties": false
|
|
67723
|
+
}
|
|
67724
|
+
]
|
|
67725
|
+
},
|
|
67726
|
+
"outputJsonSchema": {
|
|
67727
|
+
"anyOf": [
|
|
67728
|
+
{
|
|
67729
|
+
"type": "object",
|
|
67730
|
+
"properties": {
|
|
67731
|
+
"operation": {
|
|
67732
|
+
"type": "string",
|
|
67733
|
+
"enum": [
|
|
67734
|
+
"list_records"
|
|
67735
|
+
]
|
|
67736
|
+
},
|
|
67737
|
+
"records": {
|
|
67738
|
+
"type": "array",
|
|
67739
|
+
"items": {
|
|
67740
|
+
"type": "object",
|
|
67741
|
+
"additionalProperties": {}
|
|
67742
|
+
}
|
|
67743
|
+
},
|
|
67744
|
+
"next_page_offset": {
|
|
67745
|
+
"type": "number"
|
|
67746
|
+
},
|
|
67747
|
+
"success": {
|
|
67748
|
+
"type": "boolean"
|
|
67749
|
+
},
|
|
67750
|
+
"error": {
|
|
67751
|
+
"type": "string"
|
|
67752
|
+
}
|
|
67753
|
+
},
|
|
67754
|
+
"required": [
|
|
67755
|
+
"operation",
|
|
67756
|
+
"success",
|
|
67757
|
+
"error"
|
|
67758
|
+
],
|
|
67759
|
+
"additionalProperties": false
|
|
67760
|
+
},
|
|
67761
|
+
{
|
|
67762
|
+
"type": "object",
|
|
67763
|
+
"properties": {
|
|
67764
|
+
"operation": {
|
|
67765
|
+
"type": "string",
|
|
67766
|
+
"enum": [
|
|
67767
|
+
"get_record"
|
|
67768
|
+
]
|
|
67769
|
+
},
|
|
67770
|
+
"record": {
|
|
67771
|
+
"type": "object",
|
|
67772
|
+
"additionalProperties": {}
|
|
67773
|
+
},
|
|
67774
|
+
"success": {
|
|
67775
|
+
"type": "boolean"
|
|
67776
|
+
},
|
|
67777
|
+
"error": {
|
|
67778
|
+
"type": "string"
|
|
67779
|
+
}
|
|
67780
|
+
},
|
|
67781
|
+
"required": [
|
|
67782
|
+
"operation",
|
|
67783
|
+
"success",
|
|
67784
|
+
"error"
|
|
67785
|
+
],
|
|
67786
|
+
"additionalProperties": false
|
|
67787
|
+
},
|
|
67788
|
+
{
|
|
67789
|
+
"type": "object",
|
|
67790
|
+
"properties": {
|
|
67791
|
+
"operation": {
|
|
67792
|
+
"type": "string",
|
|
67793
|
+
"enum": [
|
|
67794
|
+
"create_record"
|
|
67795
|
+
]
|
|
67796
|
+
},
|
|
67797
|
+
"record": {
|
|
67798
|
+
"type": "object",
|
|
67799
|
+
"additionalProperties": {}
|
|
67800
|
+
},
|
|
67801
|
+
"success": {
|
|
67802
|
+
"type": "boolean"
|
|
67803
|
+
},
|
|
67804
|
+
"error": {
|
|
67805
|
+
"type": "string"
|
|
67806
|
+
}
|
|
67807
|
+
},
|
|
67808
|
+
"required": [
|
|
67809
|
+
"operation",
|
|
67810
|
+
"success",
|
|
67811
|
+
"error"
|
|
67812
|
+
],
|
|
67813
|
+
"additionalProperties": false
|
|
67814
|
+
},
|
|
67815
|
+
{
|
|
67816
|
+
"type": "object",
|
|
67817
|
+
"properties": {
|
|
67818
|
+
"operation": {
|
|
67819
|
+
"type": "string",
|
|
67820
|
+
"enum": [
|
|
67821
|
+
"update_record"
|
|
67822
|
+
]
|
|
67823
|
+
},
|
|
67824
|
+
"record": {
|
|
67825
|
+
"type": "object",
|
|
67826
|
+
"additionalProperties": {}
|
|
67827
|
+
},
|
|
67828
|
+
"success": {
|
|
67829
|
+
"type": "boolean"
|
|
67830
|
+
},
|
|
67831
|
+
"error": {
|
|
67832
|
+
"type": "string"
|
|
67833
|
+
}
|
|
67834
|
+
},
|
|
67835
|
+
"required": [
|
|
67836
|
+
"operation",
|
|
67837
|
+
"success",
|
|
67838
|
+
"error"
|
|
67839
|
+
],
|
|
67840
|
+
"additionalProperties": false
|
|
67841
|
+
},
|
|
67842
|
+
{
|
|
67843
|
+
"type": "object",
|
|
67844
|
+
"properties": {
|
|
67845
|
+
"operation": {
|
|
67846
|
+
"type": "string",
|
|
67847
|
+
"enum": [
|
|
67848
|
+
"delete_record"
|
|
67849
|
+
]
|
|
67850
|
+
},
|
|
67851
|
+
"success": {
|
|
67852
|
+
"type": "boolean"
|
|
67853
|
+
},
|
|
67854
|
+
"error": {
|
|
67855
|
+
"type": "string"
|
|
67856
|
+
}
|
|
67857
|
+
},
|
|
67858
|
+
"required": [
|
|
67859
|
+
"operation",
|
|
67860
|
+
"success",
|
|
67861
|
+
"error"
|
|
67862
|
+
],
|
|
67863
|
+
"additionalProperties": false
|
|
67864
|
+
},
|
|
67865
|
+
{
|
|
67866
|
+
"type": "object",
|
|
67867
|
+
"properties": {
|
|
67868
|
+
"operation": {
|
|
67869
|
+
"type": "string",
|
|
67870
|
+
"enum": [
|
|
67871
|
+
"create_note"
|
|
67872
|
+
]
|
|
67873
|
+
},
|
|
67874
|
+
"note": {
|
|
67875
|
+
"type": "object",
|
|
67876
|
+
"additionalProperties": {}
|
|
67877
|
+
},
|
|
67878
|
+
"success": {
|
|
67879
|
+
"type": "boolean"
|
|
67880
|
+
},
|
|
67881
|
+
"error": {
|
|
67882
|
+
"type": "string"
|
|
67883
|
+
}
|
|
67884
|
+
},
|
|
67885
|
+
"required": [
|
|
67886
|
+
"operation",
|
|
67887
|
+
"success",
|
|
67888
|
+
"error"
|
|
67889
|
+
],
|
|
67890
|
+
"additionalProperties": false
|
|
67891
|
+
},
|
|
67892
|
+
{
|
|
67893
|
+
"type": "object",
|
|
67894
|
+
"properties": {
|
|
67895
|
+
"operation": {
|
|
67896
|
+
"type": "string",
|
|
67897
|
+
"enum": [
|
|
67898
|
+
"list_notes"
|
|
67899
|
+
]
|
|
67900
|
+
},
|
|
67901
|
+
"notes": {
|
|
67902
|
+
"type": "array",
|
|
67903
|
+
"items": {
|
|
67904
|
+
"type": "object",
|
|
67905
|
+
"additionalProperties": {}
|
|
67906
|
+
}
|
|
67907
|
+
},
|
|
67908
|
+
"success": {
|
|
67909
|
+
"type": "boolean"
|
|
67910
|
+
},
|
|
67911
|
+
"error": {
|
|
67912
|
+
"type": "string"
|
|
67913
|
+
}
|
|
67914
|
+
},
|
|
67915
|
+
"required": [
|
|
67916
|
+
"operation",
|
|
67917
|
+
"success",
|
|
67918
|
+
"error"
|
|
67919
|
+
],
|
|
67920
|
+
"additionalProperties": false
|
|
67921
|
+
},
|
|
67922
|
+
{
|
|
67923
|
+
"type": "object",
|
|
67924
|
+
"properties": {
|
|
67925
|
+
"operation": {
|
|
67926
|
+
"type": "string",
|
|
67927
|
+
"enum": [
|
|
67928
|
+
"create_task"
|
|
67929
|
+
]
|
|
67930
|
+
},
|
|
67931
|
+
"task": {
|
|
67932
|
+
"type": "object",
|
|
67933
|
+
"additionalProperties": {}
|
|
67934
|
+
},
|
|
67935
|
+
"success": {
|
|
67936
|
+
"type": "boolean"
|
|
67937
|
+
},
|
|
67938
|
+
"error": {
|
|
67939
|
+
"type": "string"
|
|
67940
|
+
}
|
|
67941
|
+
},
|
|
67942
|
+
"required": [
|
|
67943
|
+
"operation",
|
|
67944
|
+
"success",
|
|
67945
|
+
"error"
|
|
67946
|
+
],
|
|
67947
|
+
"additionalProperties": false
|
|
67948
|
+
},
|
|
67949
|
+
{
|
|
67950
|
+
"type": "object",
|
|
67951
|
+
"properties": {
|
|
67952
|
+
"operation": {
|
|
67953
|
+
"type": "string",
|
|
67954
|
+
"enum": [
|
|
67955
|
+
"list_tasks"
|
|
67956
|
+
]
|
|
67957
|
+
},
|
|
67958
|
+
"tasks": {
|
|
67959
|
+
"type": "array",
|
|
67960
|
+
"items": {
|
|
67961
|
+
"type": "object",
|
|
67962
|
+
"additionalProperties": {}
|
|
67963
|
+
}
|
|
67964
|
+
},
|
|
67965
|
+
"success": {
|
|
67966
|
+
"type": "boolean"
|
|
67967
|
+
},
|
|
67968
|
+
"error": {
|
|
67969
|
+
"type": "string"
|
|
67970
|
+
}
|
|
67971
|
+
},
|
|
67972
|
+
"required": [
|
|
67973
|
+
"operation",
|
|
67974
|
+
"success",
|
|
67975
|
+
"error"
|
|
67976
|
+
],
|
|
67977
|
+
"additionalProperties": false
|
|
67978
|
+
},
|
|
67979
|
+
{
|
|
67980
|
+
"type": "object",
|
|
67981
|
+
"properties": {
|
|
67982
|
+
"operation": {
|
|
67983
|
+
"type": "string",
|
|
67984
|
+
"enum": [
|
|
67985
|
+
"update_task"
|
|
67986
|
+
]
|
|
67987
|
+
},
|
|
67988
|
+
"task": {
|
|
67989
|
+
"type": "object",
|
|
67990
|
+
"additionalProperties": {}
|
|
67991
|
+
},
|
|
67992
|
+
"success": {
|
|
67993
|
+
"type": "boolean"
|
|
67994
|
+
},
|
|
67995
|
+
"error": {
|
|
67996
|
+
"type": "string"
|
|
67997
|
+
}
|
|
67998
|
+
},
|
|
67999
|
+
"required": [
|
|
68000
|
+
"operation",
|
|
68001
|
+
"success",
|
|
68002
|
+
"error"
|
|
68003
|
+
],
|
|
68004
|
+
"additionalProperties": false
|
|
68005
|
+
},
|
|
68006
|
+
{
|
|
68007
|
+
"type": "object",
|
|
68008
|
+
"properties": {
|
|
68009
|
+
"operation": {
|
|
68010
|
+
"type": "string",
|
|
68011
|
+
"enum": [
|
|
68012
|
+
"delete_task"
|
|
68013
|
+
]
|
|
68014
|
+
},
|
|
68015
|
+
"success": {
|
|
68016
|
+
"type": "boolean"
|
|
68017
|
+
},
|
|
68018
|
+
"error": {
|
|
68019
|
+
"type": "string"
|
|
68020
|
+
}
|
|
68021
|
+
},
|
|
68022
|
+
"required": [
|
|
68023
|
+
"operation",
|
|
68024
|
+
"success",
|
|
68025
|
+
"error"
|
|
68026
|
+
],
|
|
68027
|
+
"additionalProperties": false
|
|
68028
|
+
},
|
|
68029
|
+
{
|
|
68030
|
+
"type": "object",
|
|
68031
|
+
"properties": {
|
|
68032
|
+
"operation": {
|
|
68033
|
+
"type": "string",
|
|
68034
|
+
"enum": [
|
|
68035
|
+
"list_lists"
|
|
68036
|
+
]
|
|
68037
|
+
},
|
|
68038
|
+
"lists": {
|
|
68039
|
+
"type": "array",
|
|
68040
|
+
"items": {
|
|
68041
|
+
"type": "object",
|
|
68042
|
+
"additionalProperties": {}
|
|
68043
|
+
}
|
|
68044
|
+
},
|
|
68045
|
+
"success": {
|
|
68046
|
+
"type": "boolean"
|
|
68047
|
+
},
|
|
68048
|
+
"error": {
|
|
68049
|
+
"type": "string"
|
|
68050
|
+
}
|
|
68051
|
+
},
|
|
68052
|
+
"required": [
|
|
68053
|
+
"operation",
|
|
68054
|
+
"success",
|
|
68055
|
+
"error"
|
|
68056
|
+
],
|
|
68057
|
+
"additionalProperties": false
|
|
68058
|
+
},
|
|
68059
|
+
{
|
|
68060
|
+
"type": "object",
|
|
68061
|
+
"properties": {
|
|
68062
|
+
"operation": {
|
|
68063
|
+
"type": "string",
|
|
68064
|
+
"enum": [
|
|
68065
|
+
"create_entry"
|
|
68066
|
+
]
|
|
68067
|
+
},
|
|
68068
|
+
"entry": {
|
|
68069
|
+
"type": "object",
|
|
68070
|
+
"additionalProperties": {}
|
|
68071
|
+
},
|
|
68072
|
+
"success": {
|
|
68073
|
+
"type": "boolean"
|
|
68074
|
+
},
|
|
68075
|
+
"error": {
|
|
68076
|
+
"type": "string"
|
|
68077
|
+
}
|
|
68078
|
+
},
|
|
68079
|
+
"required": [
|
|
68080
|
+
"operation",
|
|
68081
|
+
"success",
|
|
68082
|
+
"error"
|
|
68083
|
+
],
|
|
68084
|
+
"additionalProperties": false
|
|
68085
|
+
},
|
|
68086
|
+
{
|
|
68087
|
+
"type": "object",
|
|
68088
|
+
"properties": {
|
|
68089
|
+
"operation": {
|
|
68090
|
+
"type": "string",
|
|
68091
|
+
"enum": [
|
|
68092
|
+
"list_entries"
|
|
68093
|
+
]
|
|
68094
|
+
},
|
|
68095
|
+
"entries": {
|
|
68096
|
+
"type": "array",
|
|
68097
|
+
"items": {
|
|
68098
|
+
"type": "object",
|
|
68099
|
+
"additionalProperties": {}
|
|
68100
|
+
}
|
|
68101
|
+
},
|
|
68102
|
+
"next_page_offset": {
|
|
68103
|
+
"type": "number"
|
|
68104
|
+
},
|
|
68105
|
+
"success": {
|
|
68106
|
+
"type": "boolean"
|
|
68107
|
+
},
|
|
68108
|
+
"error": {
|
|
68109
|
+
"type": "string"
|
|
68110
|
+
}
|
|
68111
|
+
},
|
|
68112
|
+
"required": [
|
|
68113
|
+
"operation",
|
|
68114
|
+
"success",
|
|
68115
|
+
"error"
|
|
68116
|
+
],
|
|
68117
|
+
"additionalProperties": false
|
|
68118
|
+
}
|
|
68119
|
+
]
|
|
68120
|
+
},
|
|
68121
|
+
"usageExample": "// List Records example\nconst attio_list_records = new AttioBubble({\n operation: \"list_records\", // List records for a given object type with optional filtering\n object: \"example string\", // Object slug or ID (e.g. \"people\", \"companies\", or a custom object slug)\n limit: 25 // default, // Maximum number of records to return (1-500)\n offset: 0 // default, // Number of records to skip for pagination\n sorts: [{ attribute: \"example string\" // Attribute slug to sort by, direction: \"asc\" // options: \"asc\", \"desc\" // Sort direction }], // Sort configuration for results\n filter: {}, // Filter object following Attio filter syntax (see Attio API docs)\n});\n\nconst result = await attio_list_records.action();\n// outputSchema for result.data when operation === 'list_records':\n// {\n// operation: \"list_records\",\n// records: Record<string, unknown>[] | undefined,\n// next_page_offset: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Get Record example\nconst attio_get_record = new AttioBubble({\n operation: \"get_record\", // Get a single record by ID\n object: \"example string\", // Object slug or ID (e.g. \"people\", \"companies\")\n record_id: \"example string\", // The UUID of the record to retrieve\n});\n\nconst result = await attio_get_record.action();\n// outputSchema for result.data when operation === 'get_record':\n// {\n// operation: \"get_record\",\n// record: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Create Record example\nconst attio_create_record = new AttioBubble({\n operation: \"create_record\", // Create a new record in a given object type\n object: \"example string\", // Object slug or ID (e.g. \"people\", \"companies\")\n values: {}, // Attribute values for the new record (keyed by API slug)\n matching_attribute: \"example string\", // Attribute slug for upsert matching (if set, acts as assert/upsert)\n});\n\nconst result = await attio_create_record.action();\n// outputSchema for result.data when operation === 'create_record':\n// {\n// operation: \"create_record\",\n// record: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Update Record example\nconst attio_update_record = new AttioBubble({\n operation: \"update_record\", // Update an existing record by ID\n object: \"example string\", // Object slug or ID (e.g. \"people\", \"companies\")\n record_id: \"example string\", // The UUID of the record to update\n values: {}, // Attribute values to update (keyed by API slug)\n});\n\nconst result = await attio_update_record.action();\n// outputSchema for result.data when operation === 'update_record':\n// {\n// operation: \"update_record\",\n// record: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Delete Record example\nconst attio_delete_record = new AttioBubble({\n operation: \"delete_record\", // Delete a record by ID\n object: \"example string\", // Object slug or ID (e.g. \"people\", \"companies\")\n record_id: \"example string\", // The UUID of the record to delete\n});\n\nconst result = await attio_delete_record.action();\n// outputSchema for result.data when operation === 'delete_record':\n// {\n// operation: \"delete_record\",\n// success: boolean,\n// error: string\n// }\n\n\n// Create Note example\nconst attio_create_note = new AttioBubble({\n operation: \"create_note\", // Create a note linked to a record\n parent_object: \"example string\", // Object slug the note is linked to (e.g. \"people\", \"companies\")\n parent_record_id: \"example string\", // UUID of the record to attach the note to\n title: \"example string\", // Title of the note\n content: \"example string\", // Plain text content of the note\n format: \"plaintext\", // Content format\n});\n\nconst result = await attio_create_note.action();\n// outputSchema for result.data when operation === 'create_note':\n// {\n// operation: \"create_note\",\n// note: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// List Notes example\nconst attio_list_notes = new AttioBubble({\n operation: \"list_notes\", // List notes, optionally filtered by parent record\n parent_object: \"example string\", // Filter by object slug (e.g. \"people\")\n parent_record_id: \"example string\", // Filter by parent record UUID\n limit: 25 // default, // Maximum number of notes to return\n offset: 0 // default, // Number of notes to skip for pagination\n});\n\nconst result = await attio_list_notes.action();\n// outputSchema for result.data when operation === 'list_notes':\n// {\n// operation: \"list_notes\",\n// notes: Record<string, unknown>[] | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Create Task example\nconst attio_create_task = new AttioBubble({\n operation: \"create_task\", // Create a new task in Attio\n content: \"example string\", // Plain text content of the task\n deadline_at: \"example string\", // Deadline in ISO 8601 format (e.g. \"2025-12-31T23:59:59Z\")\n is_completed: false // default, // Whether the task starts as completed\n linked_records: [{ target_object: \"example string\" // Object slug (e.g. \"people\", \"companies\"), target_record_id: \"example string\" // UUID of the record to link }], // Records to link this task to\n assignees: [{ referenced_actor_type: \"workspace-member\" // Type of actor, referenced_actor_id: \"example string\" // UUID of the workspace member }], // Workspace members to assign this task to\n});\n\nconst result = await attio_create_task.action();\n// outputSchema for result.data when operation === 'create_task':\n// {\n// operation: \"create_task\",\n// task: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// List Tasks example\nconst attio_list_tasks = new AttioBubble({\n operation: \"list_tasks\", // List tasks with optional filtering\n limit: 25 // default, // Maximum number of tasks to return\n offset: 0 // default, // Number of tasks to skip for pagination\n});\n\nconst result = await attio_list_tasks.action();\n// outputSchema for result.data when operation === 'list_tasks':\n// {\n// operation: \"list_tasks\",\n// tasks: Record<string, unknown>[] | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Update Task example\nconst attio_update_task = new AttioBubble({\n operation: \"update_task\", // Update an existing task\n task_id: \"example string\", // UUID of the task to update\n content: \"example string\", // Updated task content\n deadline_at: \"example string\", // Updated deadline in ISO 8601 format\n is_completed: true, // Updated completion status\n});\n\nconst result = await attio_update_task.action();\n// outputSchema for result.data when operation === 'update_task':\n// {\n// operation: \"update_task\",\n// task: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Delete Task example\nconst attio_delete_task = new AttioBubble({\n operation: \"delete_task\", // Delete a task by ID\n task_id: \"example string\", // UUID of the task to delete\n});\n\nconst result = await attio_delete_task.action();\n// outputSchema for result.data when operation === 'delete_task':\n// {\n// operation: \"delete_task\",\n// success: boolean,\n// error: string\n// }\n\n\n// List Lists example\nconst attio_list_lists = new AttioBubble({\n operation: \"list_lists\", // List all lists (pipelines) in the workspace\n limit: 25 // default, // Maximum number of lists to return\n offset: 0 // default, // Number of lists to skip for pagination\n});\n\nconst result = await attio_list_lists.action();\n// outputSchema for result.data when operation === 'list_lists':\n// {\n// operation: \"list_lists\",\n// lists: Record<string, unknown>[] | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Create Entry example\nconst attio_create_entry = new AttioBubble({\n operation: \"create_entry\", // Add a record to a list (create a list entry)\n list: \"example string\", // List UUID or slug\n parent_object: \"example string\", // Object slug of the record being added (e.g. \"companies\")\n parent_record_id: \"example string\", // UUID of the record to add to the list\n entry_values: {} // default, // Attribute values for the list entry (keyed by API slug)\n});\n\nconst result = await attio_create_entry.action();\n// outputSchema for result.data when operation === 'create_entry':\n// {\n// operation: \"create_entry\",\n// entry: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// List Entries example\nconst attio_list_entries = new AttioBubble({\n operation: \"list_entries\", // List entries in a list\n list: \"example string\", // List UUID or slug\n limit: 25 // default, // Maximum number of entries to return\n offset: 0 // default, // Number of entries to skip for pagination\n filter: {}, // Filter object following Attio filter syntax\n});\n\nconst result = await attio_list_entries.action();\n// outputSchema for result.data when operation === 'list_entries':\n// {\n// operation: \"list_entries\",\n// entries: Record<string, unknown>[] | undefined,\n// next_page_offset: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`attio failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
68122
|
+
"requiredCredentials": [
|
|
68123
|
+
"ATTIO_CRED"
|
|
68124
|
+
]
|
|
68125
|
+
},
|
|
68126
|
+
{
|
|
68127
|
+
"name": "hubspot",
|
|
68128
|
+
"alias": "crm",
|
|
68129
|
+
"type": "service",
|
|
68130
|
+
"shortDescription": "HubSpot CRM integration for contacts, companies, deals, and tickets",
|
|
68131
|
+
"useCase": "- Lead management and contact synchronization",
|
|
68132
|
+
"outputSchema": "Complex schema - see usage example for structure",
|
|
68133
|
+
"inputJsonSchema": {
|
|
68134
|
+
"anyOf": [
|
|
68135
|
+
{
|
|
68136
|
+
"type": "object",
|
|
68137
|
+
"properties": {
|
|
68138
|
+
"operation": {
|
|
68139
|
+
"type": "string",
|
|
68140
|
+
"enum": [
|
|
68141
|
+
"create_record"
|
|
68142
|
+
],
|
|
68143
|
+
"description": "Create a new CRM record"
|
|
68144
|
+
},
|
|
68145
|
+
"object_type": {
|
|
68146
|
+
"type": "string",
|
|
68147
|
+
"enum": [
|
|
68148
|
+
"contacts",
|
|
68149
|
+
"companies",
|
|
68150
|
+
"deals",
|
|
68151
|
+
"tickets"
|
|
68152
|
+
],
|
|
68153
|
+
"description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
|
|
68154
|
+
},
|
|
68155
|
+
"properties": {
|
|
68156
|
+
"type": "object",
|
|
68157
|
+
"additionalProperties": {
|
|
68158
|
+
"type": "string"
|
|
68159
|
+
},
|
|
68160
|
+
"description": "Object properties as key-value pairs. Common contact properties: email, firstname, lastname, phone, company. Common company properties: name, domain, industry. Common deal properties: dealname, pipeline, dealstage, amount. Common ticket properties: subject, content, hs_pipeline, hs_pipeline_stage."
|
|
68161
|
+
},
|
|
68162
|
+
"credentials": {
|
|
68163
|
+
"type": "object",
|
|
68164
|
+
"additionalProperties": {
|
|
68165
|
+
"type": "string"
|
|
68166
|
+
},
|
|
68167
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
68168
|
+
}
|
|
68169
|
+
},
|
|
68170
|
+
"required": [
|
|
68171
|
+
"operation",
|
|
68172
|
+
"object_type",
|
|
68173
|
+
"properties"
|
|
68174
|
+
],
|
|
68175
|
+
"additionalProperties": false
|
|
68176
|
+
},
|
|
68177
|
+
{
|
|
68178
|
+
"type": "object",
|
|
68179
|
+
"properties": {
|
|
68180
|
+
"operation": {
|
|
68181
|
+
"type": "string",
|
|
68182
|
+
"enum": [
|
|
68183
|
+
"get_record"
|
|
68184
|
+
],
|
|
68185
|
+
"description": "Retrieve a single CRM record by ID"
|
|
68186
|
+
},
|
|
68187
|
+
"object_type": {
|
|
68188
|
+
"type": "string",
|
|
68189
|
+
"enum": [
|
|
68190
|
+
"contacts",
|
|
68191
|
+
"companies",
|
|
68192
|
+
"deals",
|
|
68193
|
+
"tickets"
|
|
68194
|
+
],
|
|
68195
|
+
"description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
|
|
68196
|
+
},
|
|
68197
|
+
"record_id": {
|
|
68198
|
+
"type": "string",
|
|
68199
|
+
"minLength": 1,
|
|
68200
|
+
"description": "HubSpot record ID"
|
|
68201
|
+
},
|
|
68202
|
+
"properties": {
|
|
68203
|
+
"type": "array",
|
|
68204
|
+
"items": {
|
|
68205
|
+
"type": "string"
|
|
68206
|
+
},
|
|
68207
|
+
"description": "List of property names to include in the response. If not specified, default properties are returned."
|
|
68208
|
+
},
|
|
68209
|
+
"credentials": {
|
|
68210
|
+
"type": "object",
|
|
68211
|
+
"additionalProperties": {
|
|
68212
|
+
"type": "string"
|
|
68213
|
+
},
|
|
68214
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
68215
|
+
}
|
|
68216
|
+
},
|
|
68217
|
+
"required": [
|
|
68218
|
+
"operation",
|
|
68219
|
+
"object_type",
|
|
68220
|
+
"record_id"
|
|
68221
|
+
],
|
|
68222
|
+
"additionalProperties": false
|
|
68223
|
+
},
|
|
68224
|
+
{
|
|
68225
|
+
"type": "object",
|
|
68226
|
+
"properties": {
|
|
68227
|
+
"operation": {
|
|
68228
|
+
"type": "string",
|
|
68229
|
+
"enum": [
|
|
68230
|
+
"update_record"
|
|
68231
|
+
],
|
|
68232
|
+
"description": "Update an existing CRM record"
|
|
68233
|
+
},
|
|
68234
|
+
"object_type": {
|
|
68235
|
+
"type": "string",
|
|
68236
|
+
"enum": [
|
|
68237
|
+
"contacts",
|
|
68238
|
+
"companies",
|
|
68239
|
+
"deals",
|
|
68240
|
+
"tickets"
|
|
68241
|
+
],
|
|
68242
|
+
"description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
|
|
68243
|
+
},
|
|
68244
|
+
"record_id": {
|
|
68245
|
+
"type": "string",
|
|
68246
|
+
"minLength": 1,
|
|
68247
|
+
"description": "HubSpot record ID"
|
|
68248
|
+
},
|
|
68249
|
+
"properties": {
|
|
68250
|
+
"type": "object",
|
|
68251
|
+
"additionalProperties": {
|
|
68252
|
+
"type": "string"
|
|
68253
|
+
},
|
|
68254
|
+
"description": "Object properties as key-value pairs. Common contact properties: email, firstname, lastname, phone, company. Common company properties: name, domain, industry. Common deal properties: dealname, pipeline, dealstage, amount. Common ticket properties: subject, content, hs_pipeline, hs_pipeline_stage."
|
|
68255
|
+
},
|
|
68256
|
+
"credentials": {
|
|
68257
|
+
"type": "object",
|
|
68258
|
+
"additionalProperties": {
|
|
68259
|
+
"type": "string"
|
|
68260
|
+
},
|
|
68261
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
68262
|
+
}
|
|
68263
|
+
},
|
|
68264
|
+
"required": [
|
|
68265
|
+
"operation",
|
|
68266
|
+
"object_type",
|
|
68267
|
+
"record_id",
|
|
68268
|
+
"properties"
|
|
68269
|
+
],
|
|
68270
|
+
"additionalProperties": false
|
|
68271
|
+
},
|
|
68272
|
+
{
|
|
68273
|
+
"type": "object",
|
|
68274
|
+
"properties": {
|
|
68275
|
+
"operation": {
|
|
68276
|
+
"type": "string",
|
|
68277
|
+
"enum": [
|
|
68278
|
+
"search_records"
|
|
68279
|
+
],
|
|
68280
|
+
"description": "Search CRM records with filters"
|
|
68281
|
+
},
|
|
68282
|
+
"object_type": {
|
|
68283
|
+
"type": "string",
|
|
68284
|
+
"enum": [
|
|
68285
|
+
"contacts",
|
|
68286
|
+
"companies",
|
|
68287
|
+
"deals",
|
|
68288
|
+
"tickets"
|
|
68289
|
+
],
|
|
68290
|
+
"description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
|
|
68291
|
+
},
|
|
68292
|
+
"filter_groups": {
|
|
68293
|
+
"type": "array",
|
|
68294
|
+
"items": {
|
|
68295
|
+
"type": "object",
|
|
68296
|
+
"properties": {
|
|
68297
|
+
"filters": {
|
|
68298
|
+
"type": "array",
|
|
68299
|
+
"items": {
|
|
68300
|
+
"type": "object",
|
|
68301
|
+
"properties": {
|
|
68302
|
+
"propertyName": {
|
|
68303
|
+
"type": "string",
|
|
68304
|
+
"description": "Property name to filter on (e.g., \"email\", \"firstname\")"
|
|
68305
|
+
},
|
|
68306
|
+
"operator": {
|
|
68307
|
+
"type": "string",
|
|
68308
|
+
"enum": [
|
|
68309
|
+
"EQ",
|
|
68310
|
+
"NEQ",
|
|
68311
|
+
"LT",
|
|
68312
|
+
"LTE",
|
|
68313
|
+
"GT",
|
|
68314
|
+
"GTE",
|
|
68315
|
+
"BETWEEN",
|
|
68316
|
+
"IN",
|
|
68317
|
+
"NOT_IN",
|
|
68318
|
+
"HAS_PROPERTY",
|
|
68319
|
+
"NOT_HAS_PROPERTY",
|
|
68320
|
+
"CONTAINS_TOKEN",
|
|
68321
|
+
"NOT_CONTAINS_TOKEN"
|
|
68322
|
+
],
|
|
68323
|
+
"description": "Filter operator"
|
|
68324
|
+
},
|
|
68325
|
+
"value": {
|
|
68326
|
+
"type": "string",
|
|
68327
|
+
"description": "Value to compare against"
|
|
68328
|
+
},
|
|
68329
|
+
"highValue": {
|
|
68330
|
+
"type": "string",
|
|
68331
|
+
"description": "Upper bound value for BETWEEN operator"
|
|
68332
|
+
},
|
|
68333
|
+
"values": {
|
|
68334
|
+
"type": "array",
|
|
68335
|
+
"items": {
|
|
68336
|
+
"type": "string"
|
|
68337
|
+
},
|
|
68338
|
+
"description": "Array of values for IN/NOT_IN operators"
|
|
68339
|
+
}
|
|
68340
|
+
},
|
|
68341
|
+
"required": [
|
|
68342
|
+
"propertyName",
|
|
68343
|
+
"operator"
|
|
68344
|
+
],
|
|
68345
|
+
"additionalProperties": false,
|
|
68346
|
+
"description": "A single filter condition"
|
|
68347
|
+
},
|
|
68348
|
+
"minItems": 1,
|
|
68349
|
+
"description": "Filters within this group (combined with AND)"
|
|
68350
|
+
}
|
|
68351
|
+
},
|
|
68352
|
+
"required": [
|
|
68353
|
+
"filters"
|
|
68354
|
+
],
|
|
68355
|
+
"additionalProperties": false,
|
|
68356
|
+
"description": "A group of filters combined with AND. Multiple groups are combined with OR."
|
|
68357
|
+
},
|
|
68358
|
+
"minItems": 1,
|
|
68359
|
+
"description": "Filter groups for the search query. Groups are combined with OR, filters within a group with AND."
|
|
68360
|
+
},
|
|
68361
|
+
"properties": {
|
|
68362
|
+
"type": "array",
|
|
68363
|
+
"items": {
|
|
68364
|
+
"type": "string"
|
|
68365
|
+
},
|
|
68366
|
+
"description": "List of property names to include in the response. If not specified, default properties are returned."
|
|
68367
|
+
},
|
|
68368
|
+
"limit": {
|
|
68369
|
+
"type": "number",
|
|
68370
|
+
"minimum": 1,
|
|
68371
|
+
"maximum": 200,
|
|
68372
|
+
"default": 10,
|
|
68373
|
+
"description": "Maximum number of results to return (1-200, default 10)"
|
|
68374
|
+
},
|
|
68375
|
+
"after": {
|
|
68376
|
+
"type": "string",
|
|
68377
|
+
"description": "Pagination cursor for next page of results"
|
|
68378
|
+
},
|
|
68379
|
+
"credentials": {
|
|
68380
|
+
"type": "object",
|
|
68381
|
+
"additionalProperties": {
|
|
68382
|
+
"type": "string"
|
|
68383
|
+
},
|
|
68384
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
68385
|
+
}
|
|
68386
|
+
},
|
|
68387
|
+
"required": [
|
|
68388
|
+
"operation",
|
|
68389
|
+
"object_type",
|
|
68390
|
+
"filter_groups"
|
|
68391
|
+
],
|
|
68392
|
+
"additionalProperties": false
|
|
68393
|
+
}
|
|
68394
|
+
]
|
|
68395
|
+
},
|
|
68396
|
+
"outputJsonSchema": {
|
|
68397
|
+
"anyOf": [
|
|
68398
|
+
{
|
|
68399
|
+
"type": "object",
|
|
68400
|
+
"properties": {
|
|
68401
|
+
"operation": {
|
|
68402
|
+
"type": "string",
|
|
68403
|
+
"enum": [
|
|
68404
|
+
"create_record"
|
|
68405
|
+
],
|
|
68406
|
+
"description": "Create a new CRM record"
|
|
68407
|
+
},
|
|
68408
|
+
"success": {
|
|
68409
|
+
"type": "boolean",
|
|
68410
|
+
"description": "Whether the operation was successful"
|
|
68411
|
+
},
|
|
68412
|
+
"record": {
|
|
68413
|
+
"type": "object",
|
|
68414
|
+
"properties": {
|
|
68415
|
+
"id": {
|
|
68416
|
+
"type": "string",
|
|
68417
|
+
"description": "Record ID"
|
|
68418
|
+
},
|
|
68419
|
+
"properties": {
|
|
68420
|
+
"type": "object",
|
|
68421
|
+
"additionalProperties": {},
|
|
68422
|
+
"description": "Record properties"
|
|
68423
|
+
},
|
|
68424
|
+
"createdAt": {
|
|
68425
|
+
"type": "string",
|
|
68426
|
+
"description": "Creation timestamp"
|
|
68427
|
+
},
|
|
68428
|
+
"updatedAt": {
|
|
68429
|
+
"type": "string",
|
|
68430
|
+
"description": "Last update timestamp"
|
|
68431
|
+
},
|
|
68432
|
+
"archived": {
|
|
68433
|
+
"type": "boolean",
|
|
68434
|
+
"description": "Whether the record is archived"
|
|
68435
|
+
}
|
|
68436
|
+
},
|
|
68437
|
+
"required": [
|
|
68438
|
+
"id",
|
|
68439
|
+
"properties"
|
|
68440
|
+
],
|
|
68441
|
+
"additionalProperties": false,
|
|
68442
|
+
"description": "Created record"
|
|
68443
|
+
},
|
|
68444
|
+
"error": {
|
|
68445
|
+
"type": "string",
|
|
68446
|
+
"description": "Error message if operation failed"
|
|
68447
|
+
}
|
|
68448
|
+
},
|
|
68449
|
+
"required": [
|
|
68450
|
+
"operation",
|
|
68451
|
+
"success",
|
|
68452
|
+
"error"
|
|
68453
|
+
],
|
|
68454
|
+
"additionalProperties": false
|
|
68455
|
+
},
|
|
68456
|
+
{
|
|
68457
|
+
"type": "object",
|
|
68458
|
+
"properties": {
|
|
68459
|
+
"operation": {
|
|
68460
|
+
"type": "string",
|
|
68461
|
+
"enum": [
|
|
68462
|
+
"get_record"
|
|
68463
|
+
],
|
|
68464
|
+
"description": "Retrieve a single CRM record by ID"
|
|
68465
|
+
},
|
|
68466
|
+
"success": {
|
|
68467
|
+
"type": "boolean",
|
|
68468
|
+
"description": "Whether the operation was successful"
|
|
68469
|
+
},
|
|
68470
|
+
"record": {
|
|
68471
|
+
"type": "object",
|
|
68472
|
+
"properties": {
|
|
68473
|
+
"id": {
|
|
68474
|
+
"type": "string",
|
|
68475
|
+
"description": "Record ID"
|
|
68476
|
+
},
|
|
68477
|
+
"properties": {
|
|
68478
|
+
"type": "object",
|
|
68479
|
+
"additionalProperties": {},
|
|
68480
|
+
"description": "Record properties"
|
|
68481
|
+
},
|
|
68482
|
+
"createdAt": {
|
|
68483
|
+
"type": "string",
|
|
68484
|
+
"description": "Creation timestamp"
|
|
68485
|
+
},
|
|
68486
|
+
"updatedAt": {
|
|
68487
|
+
"type": "string",
|
|
68488
|
+
"description": "Last update timestamp"
|
|
68489
|
+
},
|
|
68490
|
+
"archived": {
|
|
68491
|
+
"type": "boolean",
|
|
68492
|
+
"description": "Whether the record is archived"
|
|
68493
|
+
}
|
|
68494
|
+
},
|
|
68495
|
+
"required": [
|
|
68496
|
+
"id",
|
|
68497
|
+
"properties"
|
|
68498
|
+
],
|
|
68499
|
+
"additionalProperties": false,
|
|
68500
|
+
"description": "Retrieved record"
|
|
68501
|
+
},
|
|
68502
|
+
"error": {
|
|
68503
|
+
"type": "string",
|
|
68504
|
+
"description": "Error message if operation failed"
|
|
68505
|
+
}
|
|
68506
|
+
},
|
|
68507
|
+
"required": [
|
|
68508
|
+
"operation",
|
|
68509
|
+
"success",
|
|
68510
|
+
"error"
|
|
68511
|
+
],
|
|
68512
|
+
"additionalProperties": false
|
|
68513
|
+
},
|
|
68514
|
+
{
|
|
68515
|
+
"type": "object",
|
|
68516
|
+
"properties": {
|
|
68517
|
+
"operation": {
|
|
68518
|
+
"type": "string",
|
|
68519
|
+
"enum": [
|
|
68520
|
+
"update_record"
|
|
68521
|
+
],
|
|
68522
|
+
"description": "Update an existing CRM record"
|
|
68523
|
+
},
|
|
68524
|
+
"success": {
|
|
68525
|
+
"type": "boolean",
|
|
68526
|
+
"description": "Whether the operation was successful"
|
|
68527
|
+
},
|
|
68528
|
+
"record": {
|
|
68529
|
+
"type": "object",
|
|
68530
|
+
"properties": {
|
|
68531
|
+
"id": {
|
|
68532
|
+
"type": "string",
|
|
68533
|
+
"description": "Record ID"
|
|
68534
|
+
},
|
|
68535
|
+
"properties": {
|
|
68536
|
+
"type": "object",
|
|
68537
|
+
"additionalProperties": {},
|
|
68538
|
+
"description": "Record properties"
|
|
68539
|
+
},
|
|
68540
|
+
"createdAt": {
|
|
68541
|
+
"type": "string",
|
|
68542
|
+
"description": "Creation timestamp"
|
|
68543
|
+
},
|
|
68544
|
+
"updatedAt": {
|
|
68545
|
+
"type": "string",
|
|
68546
|
+
"description": "Last update timestamp"
|
|
68547
|
+
},
|
|
68548
|
+
"archived": {
|
|
68549
|
+
"type": "boolean",
|
|
68550
|
+
"description": "Whether the record is archived"
|
|
68551
|
+
}
|
|
68552
|
+
},
|
|
68553
|
+
"required": [
|
|
68554
|
+
"id",
|
|
68555
|
+
"properties"
|
|
68556
|
+
],
|
|
68557
|
+
"additionalProperties": false,
|
|
68558
|
+
"description": "Updated record"
|
|
68559
|
+
},
|
|
68560
|
+
"error": {
|
|
68561
|
+
"type": "string",
|
|
68562
|
+
"description": "Error message if operation failed"
|
|
68563
|
+
}
|
|
68564
|
+
},
|
|
68565
|
+
"required": [
|
|
68566
|
+
"operation",
|
|
68567
|
+
"success",
|
|
68568
|
+
"error"
|
|
68569
|
+
],
|
|
68570
|
+
"additionalProperties": false
|
|
68571
|
+
},
|
|
68572
|
+
{
|
|
68573
|
+
"type": "object",
|
|
68574
|
+
"properties": {
|
|
68575
|
+
"operation": {
|
|
68576
|
+
"type": "string",
|
|
68577
|
+
"enum": [
|
|
68578
|
+
"search_records"
|
|
68579
|
+
],
|
|
68580
|
+
"description": "Search CRM records with filters"
|
|
68581
|
+
},
|
|
68582
|
+
"success": {
|
|
68583
|
+
"type": "boolean",
|
|
68584
|
+
"description": "Whether the operation was successful"
|
|
68585
|
+
},
|
|
68586
|
+
"results": {
|
|
68587
|
+
"type": "array",
|
|
68588
|
+
"items": {
|
|
68589
|
+
"type": "object",
|
|
68590
|
+
"properties": {
|
|
68591
|
+
"id": {
|
|
68592
|
+
"type": "string",
|
|
68593
|
+
"description": "Record ID"
|
|
68594
|
+
},
|
|
68595
|
+
"properties": {
|
|
68596
|
+
"type": "object",
|
|
68597
|
+
"additionalProperties": {},
|
|
68598
|
+
"description": "Record properties"
|
|
68599
|
+
},
|
|
68600
|
+
"createdAt": {
|
|
68601
|
+
"type": "string",
|
|
68602
|
+
"description": "Creation timestamp"
|
|
68603
|
+
},
|
|
68604
|
+
"updatedAt": {
|
|
68605
|
+
"type": "string",
|
|
68606
|
+
"description": "Last update timestamp"
|
|
68607
|
+
},
|
|
68608
|
+
"archived": {
|
|
68609
|
+
"type": "boolean",
|
|
68610
|
+
"description": "Whether the record is archived"
|
|
68611
|
+
}
|
|
68612
|
+
},
|
|
68613
|
+
"required": [
|
|
68614
|
+
"id",
|
|
68615
|
+
"properties"
|
|
68616
|
+
],
|
|
68617
|
+
"additionalProperties": false,
|
|
68618
|
+
"description": "A HubSpot CRM record"
|
|
68619
|
+
},
|
|
68620
|
+
"description": "Matching records"
|
|
68621
|
+
},
|
|
68622
|
+
"total": {
|
|
68623
|
+
"type": "number",
|
|
68624
|
+
"description": "Total number of matching records"
|
|
68625
|
+
},
|
|
68626
|
+
"paging": {
|
|
68627
|
+
"type": "object",
|
|
68628
|
+
"properties": {
|
|
68629
|
+
"next": {
|
|
68630
|
+
"type": "object",
|
|
68631
|
+
"properties": {
|
|
68632
|
+
"after": {
|
|
68633
|
+
"type": "string",
|
|
68634
|
+
"description": "Cursor for the next page"
|
|
68635
|
+
}
|
|
68636
|
+
},
|
|
68637
|
+
"required": [
|
|
68638
|
+
"after"
|
|
68639
|
+
],
|
|
68640
|
+
"additionalProperties": false,
|
|
68641
|
+
"description": "Pagination info for the next page"
|
|
68642
|
+
}
|
|
68643
|
+
},
|
|
68644
|
+
"additionalProperties": false,
|
|
68645
|
+
"description": "Pagination information"
|
|
68646
|
+
},
|
|
68647
|
+
"error": {
|
|
68648
|
+
"type": "string",
|
|
68649
|
+
"description": "Error message if operation failed"
|
|
68650
|
+
}
|
|
68651
|
+
},
|
|
68652
|
+
"required": [
|
|
68653
|
+
"operation",
|
|
68654
|
+
"success",
|
|
68655
|
+
"error"
|
|
68656
|
+
],
|
|
68657
|
+
"additionalProperties": false
|
|
68658
|
+
}
|
|
68659
|
+
]
|
|
68660
|
+
},
|
|
68661
|
+
"usageExample": "// Create Record example\nconst hubspot_create_record = new HubSpotBubble({\n operation: \"create_record\", // Create a new CRM record\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n properties: { \"example_key\": \"example string\" }, // Object properties as key-value pairs. Common contact properties: email, firstname, lastname, phone, company. Common company properties: name, domain, industry. Common deal properties: dealname, pipeline, dealstage, amount. Common ticket properties: subject, content, hs_pipeline, hs_pipeline_stage.\n});\n\nconst result = await hubspot_create_record.action();\n// outputSchema for result.data when operation === 'create_record':\n// {\n// operation: \"create_record\" // Create a new CRM record,\n// success: boolean // Whether the operation was successful,\n// record: { id: string // Record ID, properties: Record<string, unknown> // Record properties, createdAt: string | undefined // Creation timestamp, updatedAt: string | undefined // Last update timestamp, archived: boolean | undefined // Whether the record is archived } | undefined // Created record,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Record example\nconst hubspot_get_record = new HubSpotBubble({\n operation: \"get_record\", // Retrieve a single CRM record by ID\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n record_id: \"example string\", // HubSpot record ID\n properties: [\"example string\"], // List of property names to include in the response. If not specified, default properties are returned.\n});\n\nconst result = await hubspot_get_record.action();\n// outputSchema for result.data when operation === 'get_record':\n// {\n// operation: \"get_record\" // Retrieve a single CRM record by ID,\n// success: boolean // Whether the operation was successful,\n// record: { id: string // Record ID, properties: Record<string, unknown> // Record properties, createdAt: string | undefined // Creation timestamp, updatedAt: string | undefined // Last update timestamp, archived: boolean | undefined // Whether the record is archived } | undefined // Retrieved record,\n// error: string // Error message if operation failed\n// }\n\n\n// Update Record example\nconst hubspot_update_record = new HubSpotBubble({\n operation: \"update_record\", // Update an existing CRM record\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n record_id: \"example string\", // HubSpot record ID\n properties: { \"example_key\": \"example string\" }, // Object properties as key-value pairs. Common contact properties: email, firstname, lastname, phone, company. Common company properties: name, domain, industry. Common deal properties: dealname, pipeline, dealstage, amount. Common ticket properties: subject, content, hs_pipeline, hs_pipeline_stage.\n});\n\nconst result = await hubspot_update_record.action();\n// outputSchema for result.data when operation === 'update_record':\n// {\n// operation: \"update_record\" // Update an existing CRM record,\n// success: boolean // Whether the operation was successful,\n// record: { id: string // Record ID, properties: Record<string, unknown> // Record properties, createdAt: string | undefined // Creation timestamp, updatedAt: string | undefined // Last update timestamp, archived: boolean | undefined // Whether the record is archived } | undefined // Updated record,\n// error: string // Error message if operation failed\n// }\n\n\n// Search Records example\nconst hubspot_search_records = new HubSpotBubble({\n operation: \"search_records\", // Search CRM records with filters\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n filter_groups: [{ filters: [{ propertyName: \"example string\" // Property name to filter on (e.g., \"email\", \"firstname\"), operator: \"EQ\" // options: \"EQ\", \"NEQ\", \"LT\", \"LTE\", \"GT\", \"GTE\", \"BETWEEN\", \"IN\", \"NOT_IN\", \"HAS_PROPERTY\", \"NOT_HAS_PROPERTY\", \"CONTAINS_TOKEN\", \"NOT_CONTAINS_TOKEN\" // Filter operator, value: \"example string\" // Value to compare against, highValue: \"example string\" // Upper bound value for BETWEEN operator, values: [\"example string\"] // Array of values for IN/NOT_IN operators }] // Filters within this group (combined with AND) }], // Filter groups for the search query. Groups are combined with OR, filters within a group with AND.\n properties: [\"example string\"], // List of property names to include in the response. If not specified, default properties are returned.\n limit: 10 // default, // Maximum number of results to return (1-200, default 10)\n after: \"example string\", // Pagination cursor for next page of results\n});\n\nconst result = await hubspot_search_records.action();\n// outputSchema for result.data when operation === 'search_records':\n// {\n// operation: \"search_records\" // Search CRM records with filters,\n// success: boolean // Whether the operation was successful,\n// results: { id: string // Record ID, properties: Record<string, unknown> // Record properties, createdAt: string | undefined // Creation timestamp, updatedAt: string | undefined // Last update timestamp, archived: boolean | undefined // Whether the record is archived }[] | undefined // Matching records,\n// total: number | undefined // Total number of matching records,\n// paging: { next: { after: string // Cursor for the next page } | undefined // Pagination info for the next page } | undefined // Pagination information,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`hubspot failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
68662
|
+
"requiredCredentials": [
|
|
68663
|
+
"HUBSPOT_CRED"
|
|
68664
|
+
]
|
|
67069
68665
|
}
|
|
67070
68666
|
]
|
|
67071
68667
|
}
|