@bubblelab/bubble-core 0.1.228 → 0.1.230

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.
Files changed (134) hide show
  1. package/dist/bubble-bundle.d.ts +183 -183
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +60 -60
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +7 -5
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +50 -50
  8. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  10. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  15. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  16. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  17. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  18. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
  19. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  20. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +66 -66
  21. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +90 -90
  22. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +36 -36
  23. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +36 -36
  24. package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
  25. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +28 -28
  26. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +30 -30
  27. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +32 -32
  28. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  29. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  30. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  31. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  32. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  33. package/dist/bubbles/service-bubble/firecrawl.d.ts +783 -783
  34. package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
  35. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  36. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  37. package/dist/bubbles/service-bubble/github.d.ts +84 -84
  38. package/dist/bubbles/service-bubble/gmail.d.ts +80 -80
  39. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  40. package/dist/bubbles/service-bubble/google-drive.d.ts +56 -56
  41. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  42. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  43. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  44. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  45. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +686 -27
  46. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/hubspot/hubspot.js +289 -61
  48. package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
  49. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +666 -8
  50. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +370 -39
  52. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -1
  53. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  54. package/dist/bubbles/service-bubble/jira/jira.d.ts +86 -86
  55. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
  56. package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
  57. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  58. package/dist/bubbles/service-bubble/notion/notion.d.ts +522 -522
  59. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  60. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  61. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +22 -22
  62. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
  63. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  64. package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
  65. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  66. package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
  67. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  68. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  69. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  70. package/dist/bubbles/service-bubble/slab/slab.d.ts +38 -38
  71. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +44 -44
  72. package/dist/bubbles/service-bubble/slack/slack.d.ts +252 -252
  73. package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
  74. package/dist/bubbles/service-bubble/slack/slack.js +9 -1
  75. package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
  76. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  77. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +133 -133
  78. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +155 -155
  79. package/dist/bubbles/service-bubble/telegram.d.ts +1540 -1540
  80. package/dist/bubbles/service-bubble/xero/xero.d.ts +28 -28
  81. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +28 -28
  82. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +95 -95
  83. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +95 -95
  84. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +13 -13
  85. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
  86. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  88. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  89. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  90. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  91. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  92. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  93. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  94. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  95. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  96. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  97. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  99. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  100. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  101. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  102. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  103. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +186 -186
  104. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  105. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  106. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  107. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  108. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +14 -14
  109. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
  110. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  111. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  112. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
  113. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  114. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  115. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  116. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  117. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  118. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  119. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +22 -22
  120. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  121. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  122. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
  123. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  124. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  125. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  126. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
  127. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +90 -90
  128. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  129. package/dist/bubbles.json +1459 -166
  130. package/dist/utils/agent-formatter.d.ts +14 -1
  131. package/dist/utils/agent-formatter.d.ts.map +1 -1
  132. package/dist/utils/agent-formatter.js +47 -43
  133. package/dist/utils/agent-formatter.js.map +1 -1
  134. package/package.json +2 -2
package/dist/bubbles.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "2.0.0",
3
- "generatedAt": "2026-03-11T22:21:08.089Z",
3
+ "generatedAt": "2026-03-15T12:33:02.787Z",
4
4
  "totalCount": 75,
5
5
  "bubbles": [
6
6
  {
@@ -68363,7 +68363,7 @@
68363
68363
  "alias": "crm",
68364
68364
  "type": "service",
68365
68365
  "shortDescription": "HubSpot CRM integration for contacts, companies, deals, and tickets",
68366
- "useCase": "- Lead management and contact synchronization",
68366
+ "useCase": "General purpose bubble for various workflow needs",
68367
68367
  "outputSchema": "Complex schema - see usage example for structure",
68368
68368
  "inputJsonSchema": {
68369
68369
  "anyOf": [
@@ -68392,7 +68392,7 @@
68392
68392
  "additionalProperties": {
68393
68393
  "type": "string"
68394
68394
  },
68395
- "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."
68395
+ "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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation."
68396
68396
  },
68397
68397
  "credentials": {
68398
68398
  "type": "object",
@@ -68486,7 +68486,7 @@
68486
68486
  "additionalProperties": {
68487
68487
  "type": "string"
68488
68488
  },
68489
- "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."
68489
+ "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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation."
68490
68490
  },
68491
68491
  "credentials": {
68492
68492
  "type": "object",
@@ -68504,6 +68504,46 @@
68504
68504
  ],
68505
68505
  "additionalProperties": false
68506
68506
  },
68507
+ {
68508
+ "type": "object",
68509
+ "properties": {
68510
+ "operation": {
68511
+ "type": "string",
68512
+ "enum": [
68513
+ "delete_record"
68514
+ ],
68515
+ "description": "Archive (soft-delete) a CRM record"
68516
+ },
68517
+ "object_type": {
68518
+ "type": "string",
68519
+ "enum": [
68520
+ "contacts",
68521
+ "companies",
68522
+ "deals",
68523
+ "tickets"
68524
+ ],
68525
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68526
+ },
68527
+ "record_id": {
68528
+ "type": "string",
68529
+ "minLength": 1,
68530
+ "description": "HubSpot record ID"
68531
+ },
68532
+ "credentials": {
68533
+ "type": "object",
68534
+ "additionalProperties": {
68535
+ "type": "string"
68536
+ },
68537
+ "description": "Object mapping credential types to values (injected at runtime)"
68538
+ }
68539
+ },
68540
+ "required": [
68541
+ "operation",
68542
+ "object_type",
68543
+ "record_id"
68544
+ ],
68545
+ "additionalProperties": false
68546
+ },
68507
68547
  {
68508
68548
  "type": "object",
68509
68549
  "properties": {
@@ -68625,66 +68665,61 @@
68625
68665
  "filter_groups"
68626
68666
  ],
68627
68667
  "additionalProperties": false
68628
- }
68629
- ]
68630
- },
68631
- "outputJsonSchema": {
68632
- "anyOf": [
68668
+ },
68633
68669
  {
68634
68670
  "type": "object",
68635
68671
  "properties": {
68636
68672
  "operation": {
68637
68673
  "type": "string",
68638
68674
  "enum": [
68639
- "create_record"
68675
+ "batch_create_records"
68640
68676
  ],
68641
- "description": "Create a new CRM record"
68677
+ "description": "Create multiple CRM records in a single API call"
68642
68678
  },
68643
- "success": {
68644
- "type": "boolean",
68645
- "description": "Whether the operation was successful"
68679
+ "object_type": {
68680
+ "type": "string",
68681
+ "enum": [
68682
+ "contacts",
68683
+ "companies",
68684
+ "deals",
68685
+ "tickets"
68686
+ ],
68687
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68646
68688
  },
68647
- "record": {
68648
- "type": "object",
68649
- "properties": {
68650
- "id": {
68651
- "type": "string",
68652
- "description": "Record ID"
68653
- },
68689
+ "records": {
68690
+ "type": "array",
68691
+ "items": {
68692
+ "type": "object",
68654
68693
  "properties": {
68655
- "type": "object",
68656
- "additionalProperties": {},
68657
- "description": "Record properties"
68658
- },
68659
- "createdAt": {
68660
- "type": "string",
68661
- "description": "Creation timestamp"
68662
- },
68663
- "updatedAt": {
68664
- "type": "string",
68665
- "description": "Last update timestamp"
68694
+ "properties": {
68695
+ "type": "object",
68696
+ "additionalProperties": {
68697
+ "type": "string"
68698
+ },
68699
+ "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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation."
68700
+ }
68666
68701
  },
68667
- "archived": {
68668
- "type": "boolean",
68669
- "description": "Whether the record is archived"
68670
- }
68702
+ "required": [
68703
+ "properties"
68704
+ ],
68705
+ "additionalProperties": false
68671
68706
  },
68672
- "required": [
68673
- "id",
68674
- "properties"
68675
- ],
68676
- "additionalProperties": false,
68677
- "description": "Created record"
68707
+ "minItems": 1,
68708
+ "maxItems": 100,
68709
+ "description": "Array of records to create (max 100)"
68678
68710
  },
68679
- "error": {
68680
- "type": "string",
68681
- "description": "Error message if operation failed"
68711
+ "credentials": {
68712
+ "type": "object",
68713
+ "additionalProperties": {
68714
+ "type": "string"
68715
+ },
68716
+ "description": "Object mapping credential types to values (injected at runtime)"
68682
68717
  }
68683
68718
  },
68684
68719
  "required": [
68685
68720
  "operation",
68686
- "success",
68687
- "error"
68721
+ "object_type",
68722
+ "records"
68688
68723
  ],
68689
68724
  "additionalProperties": false
68690
68725
  },
@@ -68694,55 +68729,103 @@
68694
68729
  "operation": {
68695
68730
  "type": "string",
68696
68731
  "enum": [
68697
- "get_record"
68732
+ "batch_update_records"
68698
68733
  ],
68699
- "description": "Retrieve a single CRM record by ID"
68734
+ "description": "Update multiple CRM records in a single API call"
68700
68735
  },
68701
- "success": {
68702
- "type": "boolean",
68703
- "description": "Whether the operation was successful"
68736
+ "object_type": {
68737
+ "type": "string",
68738
+ "enum": [
68739
+ "contacts",
68740
+ "companies",
68741
+ "deals",
68742
+ "tickets"
68743
+ ],
68744
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68704
68745
  },
68705
- "record": {
68706
- "type": "object",
68707
- "properties": {
68708
- "id": {
68709
- "type": "string",
68710
- "description": "Record ID"
68711
- },
68746
+ "records": {
68747
+ "type": "array",
68748
+ "items": {
68749
+ "type": "object",
68712
68750
  "properties": {
68713
- "type": "object",
68714
- "additionalProperties": {},
68715
- "description": "Record properties"
68716
- },
68717
- "createdAt": {
68718
- "type": "string",
68719
- "description": "Creation timestamp"
68720
- },
68721
- "updatedAt": {
68722
- "type": "string",
68723
- "description": "Last update timestamp"
68751
+ "id": {
68752
+ "type": "string",
68753
+ "description": "Record ID to update"
68754
+ },
68755
+ "properties": {
68756
+ "type": "object",
68757
+ "additionalProperties": {
68758
+ "type": "string"
68759
+ },
68760
+ "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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation."
68761
+ }
68724
68762
  },
68725
- "archived": {
68726
- "type": "boolean",
68727
- "description": "Whether the record is archived"
68728
- }
68763
+ "required": [
68764
+ "id",
68765
+ "properties"
68766
+ ],
68767
+ "additionalProperties": false
68729
68768
  },
68730
- "required": [
68731
- "id",
68732
- "properties"
68769
+ "minItems": 1,
68770
+ "maxItems": 100,
68771
+ "description": "Array of records to update (max 100)"
68772
+ },
68773
+ "credentials": {
68774
+ "type": "object",
68775
+ "additionalProperties": {
68776
+ "type": "string"
68777
+ },
68778
+ "description": "Object mapping credential types to values (injected at runtime)"
68779
+ }
68780
+ },
68781
+ "required": [
68782
+ "operation",
68783
+ "object_type",
68784
+ "records"
68785
+ ],
68786
+ "additionalProperties": false
68787
+ },
68788
+ {
68789
+ "type": "object",
68790
+ "properties": {
68791
+ "operation": {
68792
+ "type": "string",
68793
+ "enum": [
68794
+ "batch_delete_records"
68733
68795
  ],
68734
- "additionalProperties": false,
68735
- "description": "Retrieved record"
68796
+ "description": "Archive multiple CRM records in a single API call"
68736
68797
  },
68737
- "error": {
68798
+ "object_type": {
68738
68799
  "type": "string",
68739
- "description": "Error message if operation failed"
68800
+ "enum": [
68801
+ "contacts",
68802
+ "companies",
68803
+ "deals",
68804
+ "tickets"
68805
+ ],
68806
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68807
+ },
68808
+ "record_ids": {
68809
+ "type": "array",
68810
+ "items": {
68811
+ "type": "string"
68812
+ },
68813
+ "minItems": 1,
68814
+ "maxItems": 100,
68815
+ "description": "Array of record IDs to archive (max 100)"
68816
+ },
68817
+ "credentials": {
68818
+ "type": "object",
68819
+ "additionalProperties": {
68820
+ "type": "string"
68821
+ },
68822
+ "description": "Object mapping credential types to values (injected at runtime)"
68740
68823
  }
68741
68824
  },
68742
68825
  "required": [
68743
68826
  "operation",
68744
- "success",
68745
- "error"
68827
+ "object_type",
68828
+ "record_ids"
68746
68829
  ],
68747
68830
  "additionalProperties": false
68748
68831
  },
@@ -68752,55 +68835,71 @@
68752
68835
  "operation": {
68753
68836
  "type": "string",
68754
68837
  "enum": [
68755
- "update_record"
68838
+ "list_properties"
68756
68839
  ],
68757
- "description": "Update an existing CRM record"
68840
+ "description": "List all property definitions for a CRM object type"
68758
68841
  },
68759
- "success": {
68760
- "type": "boolean",
68761
- "description": "Whether the operation was successful"
68842
+ "object_type": {
68843
+ "type": "string",
68844
+ "enum": [
68845
+ "contacts",
68846
+ "companies",
68847
+ "deals",
68848
+ "tickets"
68849
+ ],
68850
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68762
68851
  },
68763
- "record": {
68852
+ "credentials": {
68764
68853
  "type": "object",
68765
- "properties": {
68766
- "id": {
68767
- "type": "string",
68768
- "description": "Record ID"
68769
- },
68770
- "properties": {
68771
- "type": "object",
68772
- "additionalProperties": {},
68773
- "description": "Record properties"
68774
- },
68775
- "createdAt": {
68776
- "type": "string",
68777
- "description": "Creation timestamp"
68778
- },
68779
- "updatedAt": {
68780
- "type": "string",
68781
- "description": "Last update timestamp"
68782
- },
68783
- "archived": {
68784
- "type": "boolean",
68785
- "description": "Whether the record is archived"
68786
- }
68854
+ "additionalProperties": {
68855
+ "type": "string"
68787
68856
  },
68788
- "required": [
68789
- "id",
68790
- "properties"
68857
+ "description": "Object mapping credential types to values (injected at runtime)"
68858
+ }
68859
+ },
68860
+ "required": [
68861
+ "operation",
68862
+ "object_type"
68863
+ ],
68864
+ "additionalProperties": false
68865
+ },
68866
+ {
68867
+ "type": "object",
68868
+ "properties": {
68869
+ "operation": {
68870
+ "type": "string",
68871
+ "enum": [
68872
+ "get_property"
68791
68873
  ],
68792
- "additionalProperties": false,
68793
- "description": "Updated record"
68874
+ "description": "Retrieve a single property definition by name"
68794
68875
  },
68795
- "error": {
68876
+ "object_type": {
68796
68877
  "type": "string",
68797
- "description": "Error message if operation failed"
68878
+ "enum": [
68879
+ "contacts",
68880
+ "companies",
68881
+ "deals",
68882
+ "tickets"
68883
+ ],
68884
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68885
+ },
68886
+ "property_name": {
68887
+ "type": "string",
68888
+ "minLength": 1,
68889
+ "description": "Internal property name (snake_case, e.g. \"favorite_food\")"
68890
+ },
68891
+ "credentials": {
68892
+ "type": "object",
68893
+ "additionalProperties": {
68894
+ "type": "string"
68895
+ },
68896
+ "description": "Object mapping credential types to values (injected at runtime)"
68798
68897
  }
68799
68898
  },
68800
68899
  "required": [
68801
68900
  "operation",
68802
- "success",
68803
- "error"
68901
+ "object_type",
68902
+ "property_name"
68804
68903
  ],
68805
68904
  "additionalProperties": false
68806
68905
  },
@@ -68810,78 +68909,1272 @@
68810
68909
  "operation": {
68811
68910
  "type": "string",
68812
68911
  "enum": [
68813
- "search_records"
68912
+ "create_property"
68814
68913
  ],
68815
- "description": "Search CRM records with filters"
68914
+ "description": "Create a new custom property definition"
68816
68915
  },
68817
- "success": {
68916
+ "object_type": {
68917
+ "type": "string",
68918
+ "enum": [
68919
+ "contacts",
68920
+ "companies",
68921
+ "deals",
68922
+ "tickets"
68923
+ ],
68924
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
68925
+ },
68926
+ "name": {
68927
+ "type": "string",
68928
+ "minLength": 1,
68929
+ "description": "Internal property name (snake_case, e.g. \"favorite_food\")"
68930
+ },
68931
+ "label": {
68932
+ "type": "string",
68933
+ "description": "Display label (e.g. \"Favorite Food\")"
68934
+ },
68935
+ "type": {
68936
+ "type": "string",
68937
+ "enum": [
68938
+ "string",
68939
+ "number",
68940
+ "date",
68941
+ "datetime",
68942
+ "enumeration",
68943
+ "bool"
68944
+ ],
68945
+ "description": "Property data type. \"string\" for text, \"number\" for numeric, \"date\" for date-only, \"datetime\" for date+time, \"enumeration\" for option sets, \"bool\" for yes/no."
68946
+ },
68947
+ "fieldType": {
68948
+ "type": "string",
68949
+ "enum": [
68950
+ "text",
68951
+ "textarea",
68952
+ "number",
68953
+ "date",
68954
+ "file",
68955
+ "select",
68956
+ "radio",
68957
+ "checkbox",
68958
+ "booleancheckbox",
68959
+ "calculation_equation",
68960
+ "html",
68961
+ "phonenumber"
68962
+ ],
68963
+ "description": "How the property appears in HubSpot UI. Must be compatible with the property type."
68964
+ },
68965
+ "groupName": {
68966
+ "type": "string",
68967
+ "description": "Property group name (e.g. \"contactinformation\", \"dealinformation\")"
68968
+ },
68969
+ "description": {
68970
+ "type": "string",
68971
+ "description": "Description of the property"
68972
+ },
68973
+ "hasUniqueValue": {
68818
68974
  "type": "boolean",
68819
- "description": "Whether the operation was successful"
68975
+ "description": "Whether this property must have unique values across records"
68820
68976
  },
68821
- "results": {
68977
+ "options": {
68822
68978
  "type": "array",
68823
68979
  "items": {
68824
68980
  "type": "object",
68825
68981
  "properties": {
68826
- "id": {
68982
+ "label": {
68827
68983
  "type": "string",
68828
- "description": "Record ID"
68829
- },
68830
- "properties": {
68831
- "type": "object",
68832
- "additionalProperties": {},
68833
- "description": "Record properties"
68984
+ "description": "Display label for the option"
68834
68985
  },
68835
- "createdAt": {
68986
+ "value": {
68836
68987
  "type": "string",
68837
- "description": "Creation timestamp"
68988
+ "description": "Internal value for the option"
68838
68989
  },
68839
- "updatedAt": {
68990
+ "description": {
68840
68991
  "type": "string",
68841
- "description": "Last update timestamp"
68992
+ "description": "Description of the option"
68842
68993
  },
68843
- "archived": {
68994
+ "displayOrder": {
68995
+ "type": "number",
68996
+ "description": "Display order (lower = first)"
68997
+ },
68998
+ "hidden": {
68844
68999
  "type": "boolean",
68845
- "description": "Whether the record is archived"
69000
+ "description": "Whether this option is hidden from forms"
68846
69001
  }
68847
69002
  },
68848
69003
  "required": [
68849
- "id",
68850
- "properties"
69004
+ "label",
69005
+ "value"
68851
69006
  ],
68852
- "additionalProperties": false,
68853
- "description": "A HubSpot CRM record"
69007
+ "additionalProperties": false
68854
69008
  },
68855
- "description": "Matching records"
69009
+ "description": "Options for enumeration-type properties (select, radio, checkbox)"
68856
69010
  },
68857
- "total": {
68858
- "type": "number",
68859
- "description": "Total number of matching records"
69011
+ "calculationFormula": {
69012
+ "type": "string",
69013
+ "description": "Formula for calculation_equation fieldType properties"
68860
69014
  },
68861
- "paging": {
69015
+ "credentials": {
68862
69016
  "type": "object",
68863
- "properties": {
68864
- "next": {
68865
- "type": "object",
68866
- "properties": {
68867
- "after": {
68868
- "type": "string",
68869
- "description": "Cursor for the next page"
68870
- }
69017
+ "additionalProperties": {
69018
+ "type": "string"
69019
+ },
69020
+ "description": "Object mapping credential types to values (injected at runtime)"
69021
+ }
69022
+ },
69023
+ "required": [
69024
+ "operation",
69025
+ "object_type",
69026
+ "name",
69027
+ "label",
69028
+ "type",
69029
+ "fieldType",
69030
+ "groupName"
69031
+ ],
69032
+ "additionalProperties": false
69033
+ },
69034
+ {
69035
+ "type": "object",
69036
+ "properties": {
69037
+ "operation": {
69038
+ "type": "string",
69039
+ "enum": [
69040
+ "update_property"
69041
+ ],
69042
+ "description": "Update an existing property definition"
69043
+ },
69044
+ "object_type": {
69045
+ "type": "string",
69046
+ "enum": [
69047
+ "contacts",
69048
+ "companies",
69049
+ "deals",
69050
+ "tickets"
69051
+ ],
69052
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
69053
+ },
69054
+ "property_name": {
69055
+ "type": "string",
69056
+ "minLength": 1,
69057
+ "description": "Internal property name (snake_case, e.g. \"favorite_food\")"
69058
+ },
69059
+ "label": {
69060
+ "type": "string",
69061
+ "description": "New display label"
69062
+ },
69063
+ "description": {
69064
+ "type": "string",
69065
+ "description": "New description"
69066
+ },
69067
+ "groupName": {
69068
+ "type": "string",
69069
+ "description": "New property group name"
69070
+ },
69071
+ "type": {
69072
+ "type": "string",
69073
+ "enum": [
69074
+ "string",
69075
+ "number",
69076
+ "date",
69077
+ "datetime",
69078
+ "enumeration",
69079
+ "bool"
69080
+ ],
69081
+ "description": "Property data type. \"string\" for text, \"number\" for numeric, \"date\" for date-only, \"datetime\" for date+time, \"enumeration\" for option sets, \"bool\" for yes/no."
69082
+ },
69083
+ "fieldType": {
69084
+ "type": "string",
69085
+ "enum": [
69086
+ "text",
69087
+ "textarea",
69088
+ "number",
69089
+ "date",
69090
+ "file",
69091
+ "select",
69092
+ "radio",
69093
+ "checkbox",
69094
+ "booleancheckbox",
69095
+ "calculation_equation",
69096
+ "html",
69097
+ "phonenumber"
69098
+ ],
69099
+ "description": "How the property appears in HubSpot UI. Must be compatible with the property type."
69100
+ },
69101
+ "options": {
69102
+ "type": "array",
69103
+ "items": {
69104
+ "type": "object",
69105
+ "properties": {
69106
+ "label": {
69107
+ "type": "string",
69108
+ "description": "Display label for the option"
68871
69109
  },
68872
- "required": [
68873
- "after"
68874
- ],
68875
- "additionalProperties": false,
68876
- "description": "Pagination info for the next page"
68877
- }
69110
+ "value": {
69111
+ "type": "string",
69112
+ "description": "Internal value for the option"
69113
+ },
69114
+ "description": {
69115
+ "type": "string",
69116
+ "description": "Description of the option"
69117
+ },
69118
+ "displayOrder": {
69119
+ "type": "number",
69120
+ "description": "Display order (lower = first)"
69121
+ },
69122
+ "hidden": {
69123
+ "type": "boolean",
69124
+ "description": "Whether this option is hidden from forms"
69125
+ }
69126
+ },
69127
+ "required": [
69128
+ "label",
69129
+ "value"
69130
+ ],
69131
+ "additionalProperties": false
68878
69132
  },
68879
- "additionalProperties": false,
68880
- "description": "Pagination information"
69133
+ "description": "Updated options for enumeration-type properties"
68881
69134
  },
68882
- "error": {
69135
+ "credentials": {
69136
+ "type": "object",
69137
+ "additionalProperties": {
69138
+ "type": "string"
69139
+ },
69140
+ "description": "Object mapping credential types to values (injected at runtime)"
69141
+ }
69142
+ },
69143
+ "required": [
69144
+ "operation",
69145
+ "object_type",
69146
+ "property_name"
69147
+ ],
69148
+ "additionalProperties": false
69149
+ },
69150
+ {
69151
+ "type": "object",
69152
+ "properties": {
69153
+ "operation": {
68883
69154
  "type": "string",
68884
- "description": "Error message if operation failed"
69155
+ "enum": [
69156
+ "delete_property"
69157
+ ],
69158
+ "description": "Delete a custom property definition (cannot delete default properties)"
69159
+ },
69160
+ "object_type": {
69161
+ "type": "string",
69162
+ "enum": [
69163
+ "contacts",
69164
+ "companies",
69165
+ "deals",
69166
+ "tickets"
69167
+ ],
69168
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
69169
+ },
69170
+ "property_name": {
69171
+ "type": "string",
69172
+ "minLength": 1,
69173
+ "description": "Internal property name (snake_case, e.g. \"favorite_food\")"
69174
+ },
69175
+ "credentials": {
69176
+ "type": "object",
69177
+ "additionalProperties": {
69178
+ "type": "string"
69179
+ },
69180
+ "description": "Object mapping credential types to values (injected at runtime)"
69181
+ }
69182
+ },
69183
+ "required": [
69184
+ "operation",
69185
+ "object_type",
69186
+ "property_name"
69187
+ ],
69188
+ "additionalProperties": false
69189
+ },
69190
+ {
69191
+ "type": "object",
69192
+ "properties": {
69193
+ "operation": {
69194
+ "type": "string",
69195
+ "enum": [
69196
+ "list_associations"
69197
+ ],
69198
+ "description": "List all records associated with a given record"
69199
+ },
69200
+ "from_object_type": {
69201
+ "type": "string",
69202
+ "enum": [
69203
+ "contacts",
69204
+ "companies",
69205
+ "deals",
69206
+ "tickets"
69207
+ ],
69208
+ "description": "Source object type"
69209
+ },
69210
+ "from_record_id": {
69211
+ "type": "string",
69212
+ "minLength": 1,
69213
+ "description": "Source record ID"
69214
+ },
69215
+ "to_object_type": {
69216
+ "type": "string",
69217
+ "enum": [
69218
+ "contacts",
69219
+ "companies",
69220
+ "deals",
69221
+ "tickets"
69222
+ ],
69223
+ "description": "Target object type to list associations for"
69224
+ },
69225
+ "credentials": {
69226
+ "type": "object",
69227
+ "additionalProperties": {
69228
+ "type": "string"
69229
+ },
69230
+ "description": "Object mapping credential types to values (injected at runtime)"
69231
+ }
69232
+ },
69233
+ "required": [
69234
+ "operation",
69235
+ "from_object_type",
69236
+ "from_record_id",
69237
+ "to_object_type"
69238
+ ],
69239
+ "additionalProperties": false
69240
+ },
69241
+ {
69242
+ "type": "object",
69243
+ "properties": {
69244
+ "operation": {
69245
+ "type": "string",
69246
+ "enum": [
69247
+ "create_association"
69248
+ ],
69249
+ "description": "Create a default association (link) between two CRM records"
69250
+ },
69251
+ "from_object_type": {
69252
+ "type": "string",
69253
+ "enum": [
69254
+ "contacts",
69255
+ "companies",
69256
+ "deals",
69257
+ "tickets"
69258
+ ],
69259
+ "description": "Source object type"
69260
+ },
69261
+ "from_record_id": {
69262
+ "type": "string",
69263
+ "description": "Source record ID"
69264
+ },
69265
+ "to_object_type": {
69266
+ "type": "string",
69267
+ "enum": [
69268
+ "contacts",
69269
+ "companies",
69270
+ "deals",
69271
+ "tickets"
69272
+ ],
69273
+ "description": "Target object type"
69274
+ },
69275
+ "to_record_id": {
69276
+ "type": "string",
69277
+ "description": "Target record ID"
69278
+ },
69279
+ "credentials": {
69280
+ "type": "object",
69281
+ "additionalProperties": {
69282
+ "type": "string"
69283
+ },
69284
+ "description": "Object mapping credential types to values (injected at runtime)"
69285
+ }
69286
+ },
69287
+ "required": [
69288
+ "operation",
69289
+ "from_object_type",
69290
+ "from_record_id",
69291
+ "to_object_type",
69292
+ "to_record_id"
69293
+ ],
69294
+ "additionalProperties": false
69295
+ },
69296
+ {
69297
+ "type": "object",
69298
+ "properties": {
69299
+ "operation": {
69300
+ "type": "string",
69301
+ "enum": [
69302
+ "remove_association"
69303
+ ],
69304
+ "description": "Remove all associations between two specific records"
69305
+ },
69306
+ "from_object_type": {
69307
+ "type": "string",
69308
+ "enum": [
69309
+ "contacts",
69310
+ "companies",
69311
+ "deals",
69312
+ "tickets"
69313
+ ],
69314
+ "description": "Source object type"
69315
+ },
69316
+ "from_record_id": {
69317
+ "type": "string",
69318
+ "description": "Source record ID"
69319
+ },
69320
+ "to_object_type": {
69321
+ "type": "string",
69322
+ "enum": [
69323
+ "contacts",
69324
+ "companies",
69325
+ "deals",
69326
+ "tickets"
69327
+ ],
69328
+ "description": "Target object type"
69329
+ },
69330
+ "to_record_id": {
69331
+ "type": "string",
69332
+ "description": "Target record ID"
69333
+ },
69334
+ "credentials": {
69335
+ "type": "object",
69336
+ "additionalProperties": {
69337
+ "type": "string"
69338
+ },
69339
+ "description": "Object mapping credential types to values (injected at runtime)"
69340
+ }
69341
+ },
69342
+ "required": [
69343
+ "operation",
69344
+ "from_object_type",
69345
+ "from_record_id",
69346
+ "to_object_type",
69347
+ "to_record_id"
69348
+ ],
69349
+ "additionalProperties": false
69350
+ },
69351
+ {
69352
+ "type": "object",
69353
+ "properties": {
69354
+ "operation": {
69355
+ "type": "string",
69356
+ "enum": [
69357
+ "list_pipelines"
69358
+ ],
69359
+ "description": "List all pipelines and their stages for deals or tickets"
69360
+ },
69361
+ "object_type": {
69362
+ "type": "string",
69363
+ "enum": [
69364
+ "deals",
69365
+ "tickets"
69366
+ ],
69367
+ "description": "Object type that supports pipelines (deals or tickets)"
69368
+ },
69369
+ "credentials": {
69370
+ "type": "object",
69371
+ "additionalProperties": {
69372
+ "type": "string"
69373
+ },
69374
+ "description": "Object mapping credential types to values (injected at runtime)"
69375
+ }
69376
+ },
69377
+ "required": [
69378
+ "operation",
69379
+ "object_type"
69380
+ ],
69381
+ "additionalProperties": false
69382
+ },
69383
+ {
69384
+ "type": "object",
69385
+ "properties": {
69386
+ "operation": {
69387
+ "type": "string",
69388
+ "enum": [
69389
+ "create_note"
69390
+ ],
69391
+ "description": "Create a note and associate it with CRM records"
69392
+ },
69393
+ "note_body": {
69394
+ "type": "string",
69395
+ "description": "Note content (supports HTML formatting)"
69396
+ },
69397
+ "associations": {
69398
+ "type": "array",
69399
+ "items": {
69400
+ "type": "object",
69401
+ "properties": {
69402
+ "object_type": {
69403
+ "type": "string",
69404
+ "enum": [
69405
+ "contacts",
69406
+ "companies",
69407
+ "deals",
69408
+ "tickets"
69409
+ ],
69410
+ "description": "HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)"
69411
+ },
69412
+ "record_id": {
69413
+ "type": "string",
69414
+ "description": "Record ID to associate the note with"
69415
+ }
69416
+ },
69417
+ "required": [
69418
+ "object_type",
69419
+ "record_id"
69420
+ ],
69421
+ "additionalProperties": false
69422
+ },
69423
+ "minItems": 1,
69424
+ "description": "Records to associate the note with"
69425
+ },
69426
+ "timestamp": {
69427
+ "type": "string",
69428
+ "description": "ISO 8601 timestamp for the note (defaults to current time)"
69429
+ },
69430
+ "credentials": {
69431
+ "type": "object",
69432
+ "additionalProperties": {
69433
+ "type": "string"
69434
+ },
69435
+ "description": "Object mapping credential types to values (injected at runtime)"
69436
+ }
69437
+ },
69438
+ "required": [
69439
+ "operation",
69440
+ "note_body",
69441
+ "associations"
69442
+ ],
69443
+ "additionalProperties": false
69444
+ },
69445
+ {
69446
+ "type": "object",
69447
+ "properties": {
69448
+ "operation": {
69449
+ "type": "string",
69450
+ "enum": [
69451
+ "get_account_info"
69452
+ ],
69453
+ "description": "Retrieve HubSpot account details including portal ID, timezone, and currency"
69454
+ },
69455
+ "credentials": {
69456
+ "type": "object",
69457
+ "additionalProperties": {
69458
+ "type": "string"
69459
+ },
69460
+ "description": "Object mapping credential types to values (injected at runtime)"
69461
+ }
69462
+ },
69463
+ "required": [
69464
+ "operation"
69465
+ ],
69466
+ "additionalProperties": false
69467
+ }
69468
+ ]
69469
+ },
69470
+ "outputJsonSchema": {
69471
+ "anyOf": [
69472
+ {
69473
+ "type": "object",
69474
+ "properties": {
69475
+ "operation": {
69476
+ "type": "string",
69477
+ "enum": [
69478
+ "create_record"
69479
+ ]
69480
+ },
69481
+ "success": {
69482
+ "type": "boolean"
69483
+ },
69484
+ "record": {
69485
+ "type": "object",
69486
+ "properties": {
69487
+ "id": {
69488
+ "type": "string",
69489
+ "description": "Record ID"
69490
+ },
69491
+ "properties": {
69492
+ "type": "object",
69493
+ "additionalProperties": {},
69494
+ "description": "Record properties"
69495
+ },
69496
+ "createdAt": {
69497
+ "type": "string",
69498
+ "description": "Creation timestamp"
69499
+ },
69500
+ "updatedAt": {
69501
+ "type": "string",
69502
+ "description": "Last update timestamp"
69503
+ },
69504
+ "archived": {
69505
+ "type": "boolean",
69506
+ "description": "Whether the record is archived"
69507
+ }
69508
+ },
69509
+ "required": [
69510
+ "id",
69511
+ "properties"
69512
+ ],
69513
+ "additionalProperties": false,
69514
+ "description": "A HubSpot CRM record"
69515
+ },
69516
+ "error": {
69517
+ "type": "string"
69518
+ }
69519
+ },
69520
+ "required": [
69521
+ "operation",
69522
+ "success",
69523
+ "error"
69524
+ ],
69525
+ "additionalProperties": false
69526
+ },
69527
+ {
69528
+ "type": "object",
69529
+ "properties": {
69530
+ "operation": {
69531
+ "type": "string",
69532
+ "enum": [
69533
+ "get_record"
69534
+ ]
69535
+ },
69536
+ "success": {
69537
+ "type": "boolean"
69538
+ },
69539
+ "record": {
69540
+ "type": "object",
69541
+ "properties": {
69542
+ "id": {
69543
+ "type": "string",
69544
+ "description": "Record ID"
69545
+ },
69546
+ "properties": {
69547
+ "type": "object",
69548
+ "additionalProperties": {},
69549
+ "description": "Record properties"
69550
+ },
69551
+ "createdAt": {
69552
+ "type": "string",
69553
+ "description": "Creation timestamp"
69554
+ },
69555
+ "updatedAt": {
69556
+ "type": "string",
69557
+ "description": "Last update timestamp"
69558
+ },
69559
+ "archived": {
69560
+ "type": "boolean",
69561
+ "description": "Whether the record is archived"
69562
+ }
69563
+ },
69564
+ "required": [
69565
+ "id",
69566
+ "properties"
69567
+ ],
69568
+ "additionalProperties": false,
69569
+ "description": "A HubSpot CRM record"
69570
+ },
69571
+ "error": {
69572
+ "type": "string"
69573
+ }
69574
+ },
69575
+ "required": [
69576
+ "operation",
69577
+ "success",
69578
+ "error"
69579
+ ],
69580
+ "additionalProperties": false
69581
+ },
69582
+ {
69583
+ "type": "object",
69584
+ "properties": {
69585
+ "operation": {
69586
+ "type": "string",
69587
+ "enum": [
69588
+ "update_record"
69589
+ ]
69590
+ },
69591
+ "success": {
69592
+ "type": "boolean"
69593
+ },
69594
+ "record": {
69595
+ "type": "object",
69596
+ "properties": {
69597
+ "id": {
69598
+ "type": "string",
69599
+ "description": "Record ID"
69600
+ },
69601
+ "properties": {
69602
+ "type": "object",
69603
+ "additionalProperties": {},
69604
+ "description": "Record properties"
69605
+ },
69606
+ "createdAt": {
69607
+ "type": "string",
69608
+ "description": "Creation timestamp"
69609
+ },
69610
+ "updatedAt": {
69611
+ "type": "string",
69612
+ "description": "Last update timestamp"
69613
+ },
69614
+ "archived": {
69615
+ "type": "boolean",
69616
+ "description": "Whether the record is archived"
69617
+ }
69618
+ },
69619
+ "required": [
69620
+ "id",
69621
+ "properties"
69622
+ ],
69623
+ "additionalProperties": false,
69624
+ "description": "A HubSpot CRM record"
69625
+ },
69626
+ "error": {
69627
+ "type": "string"
69628
+ }
69629
+ },
69630
+ "required": [
69631
+ "operation",
69632
+ "success",
69633
+ "error"
69634
+ ],
69635
+ "additionalProperties": false
69636
+ },
69637
+ {
69638
+ "type": "object",
69639
+ "properties": {
69640
+ "operation": {
69641
+ "type": "string",
69642
+ "enum": [
69643
+ "delete_record"
69644
+ ]
69645
+ },
69646
+ "success": {
69647
+ "type": "boolean"
69648
+ },
69649
+ "error": {
69650
+ "type": "string"
69651
+ }
69652
+ },
69653
+ "required": [
69654
+ "operation",
69655
+ "success",
69656
+ "error"
69657
+ ],
69658
+ "additionalProperties": false
69659
+ },
69660
+ {
69661
+ "type": "object",
69662
+ "properties": {
69663
+ "operation": {
69664
+ "type": "string",
69665
+ "enum": [
69666
+ "search_records"
69667
+ ]
69668
+ },
69669
+ "success": {
69670
+ "type": "boolean"
69671
+ },
69672
+ "results": {
69673
+ "type": "array",
69674
+ "items": {
69675
+ "type": "object",
69676
+ "properties": {
69677
+ "id": {
69678
+ "type": "string",
69679
+ "description": "Record ID"
69680
+ },
69681
+ "properties": {
69682
+ "type": "object",
69683
+ "additionalProperties": {},
69684
+ "description": "Record properties"
69685
+ },
69686
+ "createdAt": {
69687
+ "type": "string",
69688
+ "description": "Creation timestamp"
69689
+ },
69690
+ "updatedAt": {
69691
+ "type": "string",
69692
+ "description": "Last update timestamp"
69693
+ },
69694
+ "archived": {
69695
+ "type": "boolean",
69696
+ "description": "Whether the record is archived"
69697
+ }
69698
+ },
69699
+ "required": [
69700
+ "id",
69701
+ "properties"
69702
+ ],
69703
+ "additionalProperties": false,
69704
+ "description": "A HubSpot CRM record"
69705
+ }
69706
+ },
69707
+ "total": {
69708
+ "type": "number"
69709
+ },
69710
+ "paging": {
69711
+ "type": "object",
69712
+ "properties": {
69713
+ "next": {
69714
+ "type": "object",
69715
+ "properties": {
69716
+ "after": {
69717
+ "type": "string"
69718
+ }
69719
+ },
69720
+ "required": [
69721
+ "after"
69722
+ ],
69723
+ "additionalProperties": false
69724
+ }
69725
+ },
69726
+ "additionalProperties": false
69727
+ },
69728
+ "error": {
69729
+ "type": "string"
69730
+ }
69731
+ },
69732
+ "required": [
69733
+ "operation",
69734
+ "success",
69735
+ "error"
69736
+ ],
69737
+ "additionalProperties": false
69738
+ },
69739
+ {
69740
+ "type": "object",
69741
+ "properties": {
69742
+ "operation": {
69743
+ "type": "string",
69744
+ "enum": [
69745
+ "batch_create_records"
69746
+ ]
69747
+ },
69748
+ "success": {
69749
+ "type": "boolean"
69750
+ },
69751
+ "results": {
69752
+ "type": "array",
69753
+ "items": {
69754
+ "type": "object",
69755
+ "properties": {
69756
+ "id": {
69757
+ "type": "string",
69758
+ "description": "Record ID"
69759
+ },
69760
+ "properties": {
69761
+ "type": "object",
69762
+ "additionalProperties": {},
69763
+ "description": "Record properties"
69764
+ },
69765
+ "createdAt": {
69766
+ "type": "string",
69767
+ "description": "Creation timestamp"
69768
+ },
69769
+ "updatedAt": {
69770
+ "type": "string",
69771
+ "description": "Last update timestamp"
69772
+ },
69773
+ "archived": {
69774
+ "type": "boolean",
69775
+ "description": "Whether the record is archived"
69776
+ }
69777
+ },
69778
+ "required": [
69779
+ "id",
69780
+ "properties"
69781
+ ],
69782
+ "additionalProperties": false,
69783
+ "description": "A HubSpot CRM record"
69784
+ }
69785
+ },
69786
+ "error": {
69787
+ "type": "string"
69788
+ }
69789
+ },
69790
+ "required": [
69791
+ "operation",
69792
+ "success",
69793
+ "error"
69794
+ ],
69795
+ "additionalProperties": false
69796
+ },
69797
+ {
69798
+ "type": "object",
69799
+ "properties": {
69800
+ "operation": {
69801
+ "type": "string",
69802
+ "enum": [
69803
+ "batch_update_records"
69804
+ ]
69805
+ },
69806
+ "success": {
69807
+ "type": "boolean"
69808
+ },
69809
+ "results": {
69810
+ "type": "array",
69811
+ "items": {
69812
+ "type": "object",
69813
+ "properties": {
69814
+ "id": {
69815
+ "type": "string",
69816
+ "description": "Record ID"
69817
+ },
69818
+ "properties": {
69819
+ "type": "object",
69820
+ "additionalProperties": {},
69821
+ "description": "Record properties"
69822
+ },
69823
+ "createdAt": {
69824
+ "type": "string",
69825
+ "description": "Creation timestamp"
69826
+ },
69827
+ "updatedAt": {
69828
+ "type": "string",
69829
+ "description": "Last update timestamp"
69830
+ },
69831
+ "archived": {
69832
+ "type": "boolean",
69833
+ "description": "Whether the record is archived"
69834
+ }
69835
+ },
69836
+ "required": [
69837
+ "id",
69838
+ "properties"
69839
+ ],
69840
+ "additionalProperties": false,
69841
+ "description": "A HubSpot CRM record"
69842
+ }
69843
+ },
69844
+ "error": {
69845
+ "type": "string"
69846
+ }
69847
+ },
69848
+ "required": [
69849
+ "operation",
69850
+ "success",
69851
+ "error"
69852
+ ],
69853
+ "additionalProperties": false
69854
+ },
69855
+ {
69856
+ "type": "object",
69857
+ "properties": {
69858
+ "operation": {
69859
+ "type": "string",
69860
+ "enum": [
69861
+ "batch_delete_records"
69862
+ ]
69863
+ },
69864
+ "success": {
69865
+ "type": "boolean"
69866
+ },
69867
+ "error": {
69868
+ "type": "string"
69869
+ }
69870
+ },
69871
+ "required": [
69872
+ "operation",
69873
+ "success",
69874
+ "error"
69875
+ ],
69876
+ "additionalProperties": false
69877
+ },
69878
+ {
69879
+ "type": "object",
69880
+ "properties": {
69881
+ "operation": {
69882
+ "type": "string",
69883
+ "enum": [
69884
+ "list_properties"
69885
+ ]
69886
+ },
69887
+ "success": {
69888
+ "type": "boolean"
69889
+ },
69890
+ "properties": {
69891
+ "type": "array",
69892
+ "items": {
69893
+ "type": "object",
69894
+ "additionalProperties": {}
69895
+ }
69896
+ },
69897
+ "error": {
69898
+ "type": "string"
69899
+ }
69900
+ },
69901
+ "required": [
69902
+ "operation",
69903
+ "success",
69904
+ "error"
69905
+ ],
69906
+ "additionalProperties": false
69907
+ },
69908
+ {
69909
+ "type": "object",
69910
+ "properties": {
69911
+ "operation": {
69912
+ "type": "string",
69913
+ "enum": [
69914
+ "get_property"
69915
+ ]
69916
+ },
69917
+ "success": {
69918
+ "type": "boolean"
69919
+ },
69920
+ "property": {
69921
+ "type": "object",
69922
+ "additionalProperties": {}
69923
+ },
69924
+ "error": {
69925
+ "type": "string"
69926
+ }
69927
+ },
69928
+ "required": [
69929
+ "operation",
69930
+ "success",
69931
+ "error"
69932
+ ],
69933
+ "additionalProperties": false
69934
+ },
69935
+ {
69936
+ "type": "object",
69937
+ "properties": {
69938
+ "operation": {
69939
+ "type": "string",
69940
+ "enum": [
69941
+ "create_property"
69942
+ ]
69943
+ },
69944
+ "success": {
69945
+ "type": "boolean"
69946
+ },
69947
+ "property": {
69948
+ "type": "object",
69949
+ "additionalProperties": {}
69950
+ },
69951
+ "error": {
69952
+ "type": "string"
69953
+ }
69954
+ },
69955
+ "required": [
69956
+ "operation",
69957
+ "success",
69958
+ "error"
69959
+ ],
69960
+ "additionalProperties": false
69961
+ },
69962
+ {
69963
+ "type": "object",
69964
+ "properties": {
69965
+ "operation": {
69966
+ "type": "string",
69967
+ "enum": [
69968
+ "update_property"
69969
+ ]
69970
+ },
69971
+ "success": {
69972
+ "type": "boolean"
69973
+ },
69974
+ "property": {
69975
+ "type": "object",
69976
+ "additionalProperties": {}
69977
+ },
69978
+ "error": {
69979
+ "type": "string"
69980
+ }
69981
+ },
69982
+ "required": [
69983
+ "operation",
69984
+ "success",
69985
+ "error"
69986
+ ],
69987
+ "additionalProperties": false
69988
+ },
69989
+ {
69990
+ "type": "object",
69991
+ "properties": {
69992
+ "operation": {
69993
+ "type": "string",
69994
+ "enum": [
69995
+ "delete_property"
69996
+ ]
69997
+ },
69998
+ "success": {
69999
+ "type": "boolean"
70000
+ },
70001
+ "error": {
70002
+ "type": "string"
70003
+ }
70004
+ },
70005
+ "required": [
70006
+ "operation",
70007
+ "success",
70008
+ "error"
70009
+ ],
70010
+ "additionalProperties": false
70011
+ },
70012
+ {
70013
+ "type": "object",
70014
+ "properties": {
70015
+ "operation": {
70016
+ "type": "string",
70017
+ "enum": [
70018
+ "list_associations"
70019
+ ]
70020
+ },
70021
+ "success": {
70022
+ "type": "boolean"
70023
+ },
70024
+ "associations": {
70025
+ "type": "array",
70026
+ "items": {
70027
+ "type": "object",
70028
+ "additionalProperties": {}
70029
+ }
70030
+ },
70031
+ "error": {
70032
+ "type": "string"
70033
+ }
70034
+ },
70035
+ "required": [
70036
+ "operation",
70037
+ "success",
70038
+ "error"
70039
+ ],
70040
+ "additionalProperties": false
70041
+ },
70042
+ {
70043
+ "type": "object",
70044
+ "properties": {
70045
+ "operation": {
70046
+ "type": "string",
70047
+ "enum": [
70048
+ "create_association"
70049
+ ]
70050
+ },
70051
+ "success": {
70052
+ "type": "boolean"
70053
+ },
70054
+ "error": {
70055
+ "type": "string"
70056
+ }
70057
+ },
70058
+ "required": [
70059
+ "operation",
70060
+ "success",
70061
+ "error"
70062
+ ],
70063
+ "additionalProperties": false
70064
+ },
70065
+ {
70066
+ "type": "object",
70067
+ "properties": {
70068
+ "operation": {
70069
+ "type": "string",
70070
+ "enum": [
70071
+ "remove_association"
70072
+ ]
70073
+ },
70074
+ "success": {
70075
+ "type": "boolean"
70076
+ },
70077
+ "error": {
70078
+ "type": "string"
70079
+ }
70080
+ },
70081
+ "required": [
70082
+ "operation",
70083
+ "success",
70084
+ "error"
70085
+ ],
70086
+ "additionalProperties": false
70087
+ },
70088
+ {
70089
+ "type": "object",
70090
+ "properties": {
70091
+ "operation": {
70092
+ "type": "string",
70093
+ "enum": [
70094
+ "list_pipelines"
70095
+ ]
70096
+ },
70097
+ "success": {
70098
+ "type": "boolean"
70099
+ },
70100
+ "pipelines": {
70101
+ "type": "array",
70102
+ "items": {
70103
+ "type": "object",
70104
+ "additionalProperties": {}
70105
+ }
70106
+ },
70107
+ "error": {
70108
+ "type": "string"
70109
+ }
70110
+ },
70111
+ "required": [
70112
+ "operation",
70113
+ "success",
70114
+ "error"
70115
+ ],
70116
+ "additionalProperties": false
70117
+ },
70118
+ {
70119
+ "type": "object",
70120
+ "properties": {
70121
+ "operation": {
70122
+ "type": "string",
70123
+ "enum": [
70124
+ "create_note"
70125
+ ]
70126
+ },
70127
+ "success": {
70128
+ "type": "boolean"
70129
+ },
70130
+ "note": {
70131
+ "type": "object",
70132
+ "properties": {
70133
+ "id": {
70134
+ "type": "string",
70135
+ "description": "Note ID"
70136
+ },
70137
+ "properties": {
70138
+ "type": "object",
70139
+ "additionalProperties": {},
70140
+ "description": "Note properties including hs_note_body, hs_timestamp"
70141
+ }
70142
+ },
70143
+ "required": [
70144
+ "id",
70145
+ "properties"
70146
+ ],
70147
+ "additionalProperties": false
70148
+ },
70149
+ "error": {
70150
+ "type": "string"
70151
+ }
70152
+ },
70153
+ "required": [
70154
+ "operation",
70155
+ "success",
70156
+ "error"
70157
+ ],
70158
+ "additionalProperties": false
70159
+ },
70160
+ {
70161
+ "type": "object",
70162
+ "properties": {
70163
+ "operation": {
70164
+ "type": "string",
70165
+ "enum": [
70166
+ "get_account_info"
70167
+ ]
70168
+ },
70169
+ "success": {
70170
+ "type": "boolean"
70171
+ },
70172
+ "account": {
70173
+ "type": "object",
70174
+ "additionalProperties": {}
70175
+ },
70176
+ "error": {
70177
+ "type": "string"
68885
70178
  }
68886
70179
  },
68887
70180
  "required": [
@@ -68893,7 +70186,7 @@
68893
70186
  }
68894
70187
  ]
68895
70188
  },
68896
- "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);",
70189
+ "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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation.\n});\n\nconst result = await hubspot_create_record.action();\n// outputSchema for result.data when operation === 'create_record':\n// {\n// operation: \"create_record\",\n// success: boolean,\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 // A HubSpot CRM record,\n// error: string\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\",\n// success: boolean,\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 // A HubSpot CRM record,\n// error: string\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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation.\n});\n\nconst result = await hubspot_update_record.action();\n// outputSchema for result.data when operation === 'update_record':\n// {\n// operation: \"update_record\",\n// success: boolean,\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 // A HubSpot CRM record,\n// error: string\n// }\n\n\n// Delete Record example\nconst hubspot_delete_record = new HubSpotBubble({\n operation: \"delete_record\", // Archive (soft-delete) a 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});\n\nconst result = await hubspot_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// 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\",\n// success: boolean,\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,\n// total: number | undefined,\n// paging: { next: { after: string } | undefined } | undefined,\n// error: string\n// }\n\n\n// Batch Create Records example\nconst hubspot_batch_create_records = new HubSpotBubble({\n operation: \"batch_create_records\", // Create multiple CRM records in a single API call\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n records: [{ 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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation. }], // Array of records to create (max 100)\n});\n\nconst result = await hubspot_batch_create_records.action();\n// outputSchema for result.data when operation === 'batch_create_records':\n// {\n// operation: \"batch_create_records\",\n// success: boolean,\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,\n// error: string\n// }\n\n\n// Batch Update Records example\nconst hubspot_batch_update_records = new HubSpotBubble({\n operation: \"batch_update_records\", // Update multiple CRM records in a single API call\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n records: [{ id: \"example string\" // Record ID to update, 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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation. }], // Array of records to update (max 100)\n});\n\nconst result = await hubspot_batch_update_records.action();\n// outputSchema for result.data when operation === 'batch_update_records':\n// {\n// operation: \"batch_update_records\",\n// success: boolean,\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,\n// error: string\n// }\n\n\n// Batch Delete Records example\nconst hubspot_batch_delete_records = new HubSpotBubble({\n operation: \"batch_delete_records\", // Archive multiple CRM records in a single API call\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n record_ids: [\"example string\"], // Array of record IDs to archive (max 100)\n});\n\nconst result = await hubspot_batch_delete_records.action();\n// outputSchema for result.data when operation === 'batch_delete_records':\n// {\n// operation: \"batch_delete_records\",\n// success: boolean,\n// error: string\n// }\n\n\n// List Properties example\nconst hubspot_list_properties = new HubSpotBubble({\n operation: \"list_properties\", // List all property definitions for a CRM object type\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n});\n\nconst result = await hubspot_list_properties.action();\n// outputSchema for result.data when operation === 'list_properties':\n// {\n// operation: \"list_properties\",\n// success: boolean,\n// properties: Record<string, unknown>[] | undefined,\n// error: string\n// }\n\n\n// Get Property example\nconst hubspot_get_property = new HubSpotBubble({\n operation: \"get_property\", // Retrieve a single property definition by name\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n property_name: \"example string\", // Internal property name (snake_case, e.g. \"favorite_food\")\n});\n\nconst result = await hubspot_get_property.action();\n// outputSchema for result.data when operation === 'get_property':\n// {\n// operation: \"get_property\",\n// success: boolean,\n// property: Record<string, unknown> | undefined,\n// error: string\n// }\n\n\n// Create Property example\nconst hubspot_create_property = new HubSpotBubble({\n operation: \"create_property\", // Create a new custom property definition\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n name: \"example string\", // Internal property name (snake_case, e.g. \"favorite_food\")\n label: \"example string\", // Display label (e.g. \"Favorite Food\")\n type: \"string\" // options: \"string\", \"number\", \"date\", \"datetime\", \"enumeration\", \"bool\", // Property data type. \"string\" for text, \"number\" for numeric, \"date\" for date-only, \"datetime\" for date+time, \"enumeration\" for option sets, \"bool\" for yes/no.\n fieldType: \"text\" // options: \"text\", \"textarea\", \"number\", \"date\", \"file\", \"select\", \"radio\", \"checkbox\", \"booleancheckbox\", \"calculation_equation\", \"html\", \"phonenumber\", // How the property appears in HubSpot UI. Must be compatible with the property type.\n groupName: \"example string\", // Property group name (e.g. \"contactinformation\", \"dealinformation\")\n description: \"example string\", // Description of the property\n hasUniqueValue: true, // Whether this property must have unique values across records\n options: [{ label: \"example string\" // Display label for the option, value: \"example string\" // Internal value for the option, description: \"example string\" // Description of the option, displayOrder: 42 // Display order (lower = first), hidden: true // Whether this option is hidden from forms }], // Options for enumeration-type properties (select, radio, checkbox)\n calculationFormula: \"example string\", // Formula for calculation_equation fieldType properties\n});\n\nconst result = await hubspot_create_property.action();\n// outputSchema for result.data when operation === 'create_property':\n// {\n// operation: \"create_property\",\n// success: boolean,\n// property: Record<string, unknown> | undefined,\n// error: string\n// }\n\n\n// Update Property example\nconst hubspot_update_property = new HubSpotBubble({\n operation: \"update_property\", // Update an existing property definition\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n property_name: \"example string\", // Internal property name (snake_case, e.g. \"favorite_food\")\n label: \"example string\", // New display label\n description: \"example string\", // New description\n groupName: \"example string\", // New property group name\n type: \"string\" // options: \"string\", \"number\", \"date\", \"datetime\", \"enumeration\", \"bool\", // Property data type. \"string\" for text, \"number\" for numeric, \"date\" for date-only, \"datetime\" for date+time, \"enumeration\" for option sets, \"bool\" for yes/no.\n fieldType: \"text\" // options: \"text\", \"textarea\", \"number\", \"date\", \"file\", \"select\", \"radio\", \"checkbox\", \"booleancheckbox\", \"calculation_equation\", \"html\", \"phonenumber\", // How the property appears in HubSpot UI. Must be compatible with the property type.\n options: [{ label: \"example string\" // Display label for the option, value: \"example string\" // Internal value for the option, description: \"example string\" // Description of the option, displayOrder: 42 // Display order (lower = first), hidden: true // Whether this option is hidden from forms }], // Updated options for enumeration-type properties\n});\n\nconst result = await hubspot_update_property.action();\n// outputSchema for result.data when operation === 'update_property':\n// {\n// operation: \"update_property\",\n// success: boolean,\n// property: Record<string, unknown> | undefined,\n// error: string\n// }\n\n\n// Delete Property example\nconst hubspot_delete_property = new HubSpotBubble({\n operation: \"delete_property\", // Delete a custom property definition (cannot delete default properties)\n object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)\n property_name: \"example string\", // Internal property name (snake_case, e.g. \"favorite_food\")\n});\n\nconst result = await hubspot_delete_property.action();\n// outputSchema for result.data when operation === 'delete_property':\n// {\n// operation: \"delete_property\",\n// success: boolean,\n// error: string\n// }\n\n\n// List Associations example\nconst hubspot_list_associations = new HubSpotBubble({\n operation: \"list_associations\", // List all records associated with a given record\n from_object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // Source object type\n from_record_id: \"example string\", // Source record ID\n to_object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // Target object type to list associations for\n});\n\nconst result = await hubspot_list_associations.action();\n// outputSchema for result.data when operation === 'list_associations':\n// {\n// operation: \"list_associations\",\n// success: boolean,\n// associations: Record<string, unknown>[] | undefined,\n// error: string\n// }\n\n\n// Create Association example\nconst hubspot_create_association = new HubSpotBubble({\n operation: \"create_association\", // Create a default association (link) between two CRM records\n from_object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // Source object type\n from_record_id: \"example string\", // Source record ID\n to_object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // Target object type\n to_record_id: \"example string\", // Target record ID\n});\n\nconst result = await hubspot_create_association.action();\n// outputSchema for result.data when operation === 'create_association':\n// {\n// operation: \"create_association\",\n// success: boolean,\n// error: string\n// }\n\n\n// Remove Association example\nconst hubspot_remove_association = new HubSpotBubble({\n operation: \"remove_association\", // Remove all associations between two specific records\n from_object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // Source object type\n from_record_id: \"example string\", // Source record ID\n to_object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\", // Target object type\n to_record_id: \"example string\", // Target record ID\n});\n\nconst result = await hubspot_remove_association.action();\n// outputSchema for result.data when operation === 'remove_association':\n// {\n// operation: \"remove_association\",\n// success: boolean,\n// error: string\n// }\n\n\n// List Pipelines example\nconst hubspot_list_pipelines = new HubSpotBubble({\n operation: \"list_pipelines\", // List all pipelines and their stages for deals or tickets\n object_type: \"deals\" // options: \"deals\", \"tickets\", // Object type that supports pipelines (deals or tickets)\n});\n\nconst result = await hubspot_list_pipelines.action();\n// outputSchema for result.data when operation === 'list_pipelines':\n// {\n// operation: \"list_pipelines\",\n// success: boolean,\n// pipelines: Record<string, unknown>[] | undefined,\n// error: string\n// }\n\n\n// Create Note example\nconst hubspot_create_note = new HubSpotBubble({\n operation: \"create_note\", // Create a note and associate it with CRM records\n note_body: \"example string\", // Note content (supports HTML formatting)\n associations: [{ object_type: \"contacts\" // options: \"contacts\", \"companies\", \"deals\", \"tickets\" // HubSpot CRM object type to operate on (contacts, companies, deals, or tickets), record_id: \"example string\" // Record ID to associate the note with }], // Records to associate the note with\n timestamp: \"example string\", // ISO 8601 timestamp for the note (defaults to current time)\n});\n\nconst result = await hubspot_create_note.action();\n// outputSchema for result.data when operation === 'create_note':\n// {\n// operation: \"create_note\",\n// success: boolean,\n// note: { id: string // Note ID, properties: Record<string, unknown> // Note properties including hs_note_body, hs_timestamp } | undefined,\n// error: string\n// }\n\n\n// Get Account Info example\nconst hubspot_get_account_info = new HubSpotBubble({\n operation: \"get_account_info\", // Retrieve HubSpot account details including portal ID, timezone, and currency\n});\n\nconst result = await hubspot_get_account_info.action();\n// outputSchema for result.data when operation === 'get_account_info':\n// {\n// operation: \"get_account_info\",\n// success: boolean,\n// account: Record<string, unknown> | undefined,\n// error: string\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);",
68897
70190
  "requiredCredentials": [
68898
70191
  "HUBSPOT_CRED"
68899
70192
  ]