> For the complete documentation index, see [llms.txt](https://docs.planetcrust.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.planetcrust.com/human-connections/hubspot/hubspot.md).

# Hubspot

<p align="center"><a class="button primary" data-icon="circle-caret-right">Try @Human</a><a class="button primary" data-icon="check">Buy @Human Subscription</a><a class="button primary" data-icon="comments">Join @Human Community</a></p>

<figure><img src="/files/oZIUwwiREnvxpnZjM2sD" alt="" width="375"><figcaption></figcaption></figure>

<h3 align="center">Put Hubspot to Work with @Human Automations and @Human Agents</h3>

<p align="center">The Hubspot Connection documents all Triggers, Actions and Query Operations available for creating automations via the Hubspot API.</p>

{% embed url="<https://www.youtube.com/watch?v=CyuUuaBSZzA>" %}

#### What can you do with the Hubspot Connection?

* Connect to the Hubspot API in a few clicks
* Use the related Hubspot Operations (see below) in @Human Automations or @Human Agents

### Related Operations

#### Trigger Operations

**Contact Created**

Triggers on: contacts/contact.created

Triggered when a new contact is created in HubSpot CRM.

**Contact Updated**

Triggers on: contacts/contact.updated

Triggered when an existing contact is updated in HubSpot CRM.

**Company Created**

Triggers on: companies/company.created

Triggered when a new company is created in HubSpot CRM.

**Company Updated**

Triggers on: companies/company.updated

Triggered when an existing company is updated in HubSpot CRM.

**Deal Created**

Triggers on: deals/deal.created

Triggered when a new deal is created in HubSpot CRM.

**Deal Updated**

Triggers on: deals/deal.updated

Triggered when an existing deal is updated in HubSpot CRM.

**Ticket Created**

Triggers on: tickets/ticket.created

Triggered when a new support ticket is created in HubSpot CRM.

**Ticket Updated**

Triggers on: tickets/ticket.updated

Triggered when an existing support ticket is updated in HubSpot CRM.

**Product Created**

Triggers on: products/product.created

Triggered when a new product is added to the HubSpot product library.

**Product Updated**

Triggers on: products/product.updated

Triggered when an existing product is updated in the HubSpot product library.

**Line Item Created**

Triggers on: line\_items/line\_item.created

Triggered when a new line item is created and associated with a deal or quote.

**Line Item Updated**

Triggers on: line\_items/line\_item.updated

Triggered when an existing line item is updated in HubSpot CRM.

**Quote Created**

Triggers on: quotes/quote.created

Triggered when a new quote is created and sent to a customer.

**Quote Updated**

Triggers on: quotes/quote.updated

Triggered when an existing quote is updated in HubSpot CRM.

**Call Created**

Triggers on: calls/call.created

Triggered when a new call engagement is logged in HubSpot CRM.

**Call Updated**

Triggers on: calls/call.updated

Triggered when an existing call engagement is updated in HubSpot CRM.

**Email Created**

Triggers on: emails/email.created

Triggered when a new email engagement is logged in HubSpot CRM.

**Email Updated**

Triggers on: emails/email.updated

Triggered when an existing email engagement is updated in HubSpot CRM.

**Meeting Created**

Triggers on: meetings/meeting.created

Triggered when a new meeting engagement is logged in HubSpot CRM.

**Meeting Updated**

Triggers on: meetings/meeting.updated

Triggered when an existing meeting engagement is updated in HubSpot CRM.

**Note Created**

Triggers on: notes/note.created

Triggered when a new note is added to a CRM record in HubSpot.

**Note Updated**

Triggers on: notes/note.updated

Triggered when an existing note on a CRM record is updated in HubSpot.

**Task Created**

Triggers on: tasks/task.created

Triggered when a new task is created and assigned in HubSpot CRM.

**Task Updated**

Triggers on: tasks/task.updated

Triggered when an existing task is updated in HubSpot CRM.

#### Action Operations

[Action: Update Contact Subscription Preferences](/human-connections/hubspot/hubspot/action-update-contact-subscription-preferences.md)

[Action: Create Company Deprecated](/human-connections/hubspot/hubspot/action-create-company-deprecated.md)

[Action: Create Contact](/human-connections/hubspot/hubspot/action-create-contact.md)

[Action: Create CRM Object](/human-connections/hubspot/hubspot/action-create-crm-object.md)

#### Query Operations

Example link

### Related Automations

Example link

### Obtaining Access Credentials

To obtain a **HubSpot Personal Access Token (PAT)** for system-to-system access, follow these steps:

#### **Prerequisites**

* A **HubSpot Super Admin** account (required to create PATs).
* Access to the **HubSpot UI**.

#### **Steps to Generate a HubSpot PAT**

1. **Log in** to your HubSpot account as a **Super Admin**.
2. Navigate to: **Settings (⚙) → Integrations → Private Apps** *(If you don’t see "Private Apps," ensure you have Super Admin permissions.)*
3. Click **"Create a private app"** (top-right).
4. **Configure the app:**
   * **Name:** Enter a descriptive name (e.g., "System Integration PAT").
   * **Scopes:** Select the required permissions (e.g., `contacts`, `deals`, `content`). *(Choose the minimal scopes needed for your use case.)*
5. Click **"Create app"** (bottom-right).
6. After creation, go to the **"Auth"** tab of your private app.
7. Under **"Access tokens"**, click **"Create token"**.
8. **Copy the generated token immediately** (it won’t be shown again). *(Store it securely—this is your only chance to see it.)*

#### **Required Values for Token Use**

* **Token:** `<your_copied_PAT>`
* **API Base URL:** `https://api.hubapi.com`

### Configuring Webhooks

1. **Log in** to your HubSpot account as a **Super Admin**.
2. Navigate to: **Settings (⚙) → Integrations → Private Apps**.
3. Click the name of your private app.
4. Select the **Webhooks** tab.
5. Click **Edit webhooks**.
6. Enter the **Target URL** where you wish to receive HubSpot event notifications.
7. Click **Create subscription**.
8. Select the desired **Object type** (e.g., `Contact`, `Company`, `Deal`) from the dropdown.
9. Select the **Event type** (e.g., `Created`, `Deleted`, `Property change`).
10. Click **Subscribe**.
11. Click **Save** in the top right corner.

### Code (Apache v2.0): Service Connectivity and Metadata

```
{
  "handle": "hubspot-v3",
  "status": "active",
  "meta": {
    "short": "HubSpot",
    "description": "Connect to HubSpot's CRM platform to manage contacts, companies, deals, and more.",
    "icon": "hubspot",
    "tags": ["crm", "marketing", "sales", "automation"]
  },
  "service": {
    "baseURL": {
      "value": "https://api.hubapi.com/{{endpoint}}",
      "placeholders": [
        {
          "name": "endpoint",
          "type": "String",
          "description": "HubSpot API endpoint (e.g., 'crm/v3/objects/contacts')",
          "required": true
        }
      ]
    },
    "protocol": "https",
    "contentType": "application/json",
    "headers": {
      "Accept": {
        "value": "application/json"
      }
    },
    "auth": {
      "method": "system_to_system",
      "params": {}
    }
  }
}

```

### Code (Apache v2.0): List of External Resources and Internal Mapping

```
[
  {
    "handle": "contacts",
    "meta": {
      "short": "Contacts",
      "description": "Manage contact information including details such as name, email, and phone number."
    },
    "endpoint": {
      "value": "/crm/v3/objects/contacts",
      "placeholders": []
    },
    "fields": [
      {
        "name": "firstname",
        "type": "string",
        "selector": [
          "properties",
          "firstname"
        ],
        "meta": {}
      },
      {
        "name": "lastname",
        "type": "string",
        "selector": [
          "properties",
          "lastname"
        ],
        "meta": {}
      },
      {
        "name": "email",
        "type": "string",
        "selector": [
          "properties",
          "email"
        ],
        "meta": {}
      },
      {
        "name": "phone",
        "type": "string",
        "selector": [
          "properties",
          "phone"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{contactId}}",
          "placeholders": [
            {
              "name": "contactId",
              "type": "String",
              "description": "The ID of the contact to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"firstname\": \"{{firstname}}\", \"lastname\": \"{{lastname}}\", \"email\": \"{{email}}\", \"phone\": \"{{phone}}\"}}",
          "placeholders": [
            {
              "name": "firstname",
              "type": "String",
              "description": "First name of the contact",
              "required": true
            },
            {
              "name": "lastname",
              "type": "String",
              "description": "Last name of the contact",
              "required": false
            },
            {
              "name": "email",
              "type": "String",
              "description": "Email address of the contact",
              "required": false
            },
            {
              "name": "phone",
              "type": "String",
              "description": "Phone number of the contact",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{contactId}}",
          "placeholders": [
            {
              "name": "contactId",
              "type": "String",
              "description": "The ID of the contact to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"firstname\": \"{{firstname}}\", \"lastname\": \"{{lastname}}\", \"email\": \"{{email}}\", \"phone\": \"{{phone}}\"}}",
          "placeholders": [
            {
              "name": "firstname",
              "type": "String",
              "description": "First name of the contact",
              "required": false
            },
            {
              "name": "lastname",
              "type": "String",
              "description": "Last name of the contact",
              "required": false
            },
            {
              "name": "email",
              "type": "String",
              "description": "Email address of the contact",
              "required": false
            },
            {
              "name": "phone",
              "type": "String",
              "description": "Phone number of the contact",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{contactId}}",
          "placeholders": [
            {
              "name": "contactId",
              "type": "String",
              "description": "The ID of the contact to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "contact.created",
        "path": "/webhooks/hubspot/contacts/created",
        "payload": [
          {
            "name": "contactId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "firstname",
            "type": "string",
            "selector": [
              "property",
              "firstname",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "contact.updated",
        "path": "/webhooks/hubspot/contacts/updated",
        "payload": [
          {
            "name": "contactId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "firstname",
            "type": "string",
            "selector": [
              "property",
              "firstname",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "companies",
    "meta": {
      "short": "Companies",
      "description": "Manage company information including details such as name, domain, and industry."
    },
    "endpoint": {
      "value": "/crm/v3/objects/companies",
      "placeholders": []
    },
    "fields": [
      {
        "name": "name",
        "type": "string",
        "selector": [
          "properties",
          "name"
        ],
        "meta": {}
      },
      {
        "name": "domain",
        "type": "string",
        "selector": [
          "properties",
          "domain"
        ],
        "meta": {}
      },
      {
        "name": "city",
        "type": "string",
        "selector": [
          "properties",
          "city"
        ],
        "meta": {}
      },
      {
        "name": "industry",
        "type": "string",
        "selector": [
          "properties",
          "industry"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{companyId}}",
          "placeholders": [
            {
              "name": "companyId",
              "type": "String",
              "description": "The ID of the companie to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"name\": \"{{name}}\", \"domain\": \"{{domain}}\", \"city\": \"{{city}}\", \"industry\": \"{{industry}}\"}}",
          "placeholders": [
            {
              "name": "name",
              "type": "String",
              "description": "Name of the company",
              "required": true
            },
            {
              "name": "domain",
              "type": "String",
              "description": "Domain of the company",
              "required": false
            },
            {
              "name": "city",
              "type": "String",
              "description": "City where the company is located",
              "required": false
            },
            {
              "name": "industry",
              "type": "String",
              "description": "Industry of the company",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{companyId}}",
          "placeholders": [
            {
              "name": "companyId",
              "type": "String",
              "description": "The ID of the companie to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"name\": \"{{name}}\", \"domain\": \"{{domain}}\", \"city\": \"{{city}}\", \"industry\": \"{{industry}}\"}}",
          "placeholders": [
            {
              "name": "name",
              "type": "String",
              "description": "Name of the company",
              "required": false
            },
            {
              "name": "domain",
              "type": "String",
              "description": "Domain of the company",
              "required": false
            },
            {
              "name": "city",
              "type": "String",
              "description": "City where the company is located",
              "required": false
            },
            {
              "name": "industry",
              "type": "String",
              "description": "Industry of the company",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{companyId}}",
          "placeholders": [
            {
              "name": "companyId",
              "type": "String",
              "description": "The ID of the companie to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "company.created",
        "path": "/webhooks/hubspot/companies/created",
        "payload": [
          {
            "name": "companyId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "name",
            "type": "string",
            "selector": [
              "property",
              "name",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "company.updated",
        "path": "/webhooks/hubspot/companies/updated",
        "payload": [
          {
            "name": "companyId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "name",
            "type": "string",
            "selector": [
              "property",
              "name",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "deals",
    "meta": {
      "short": "Deals",
      "description": "Manage deal information including details such as amount, stage, and close date."
    },
    "endpoint": {
      "value": "/crm/v3/objects/deals",
      "placeholders": []
    },
    "fields": [
      {
        "name": "dealname",
        "type": "string",
        "selector": [
          "properties",
          "dealname"
        ],
        "meta": {}
      },
      {
        "name": "amount",
        "type": "string",
        "selector": [
          "properties",
          "amount"
        ],
        "meta": {}
      },
      {
        "name": "dealstage",
        "type": "string",
        "selector": [
          "properties",
          "dealstage"
        ],
        "meta": {}
      },
      {
        "name": "closedate",
        "type": "string",
        "selector": [
          "properties",
          "closedate"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{dealId}}",
          "placeholders": [
            {
              "name": "dealId",
              "type": "String",
              "description": "The ID of the deal to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"dealname\": \"{{dealname}}\", \"amount\": \"{{amount}}\", \"dealstage\": \"{{dealstage}}\", \"closedate\": \"{{closedate}}\"}}",
          "placeholders": [
            {
              "name": "dealname",
              "type": "String",
              "description": "Name of the deal",
              "required": true
            },
            {
              "name": "amount",
              "type": "String",
              "description": "Amount of the deal",
              "required": false
            },
            {
              "name": "dealstage",
              "type": "String",
              "description": "Stage of the deal",
              "required": false
            },
            {
              "name": "closedate",
              "type": "String",
              "description": "Close date of the deal",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{dealId}}",
          "placeholders": [
            {
              "name": "dealId",
              "type": "String",
              "description": "The ID of the deal to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"dealname\": \"{{dealname}}\", \"amount\": \"{{amount}}\", \"dealstage\": \"{{dealstage}}\", \"closedate\": \"{{closedate}}\"}}",
          "placeholders": [
            {
              "name": "dealname",
              "type": "String",
              "description": "Name of the deal",
              "required": false
            },
            {
              "name": "amount",
              "type": "String",
              "description": "Amount of the deal",
              "required": false
            },
            {
              "name": "dealstage",
              "type": "String",
              "description": "Stage of the deal",
              "required": false
            },
            {
              "name": "closedate",
              "type": "String",
              "description": "Close date of the deal",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{dealId}}",
          "placeholders": [
            {
              "name": "dealId",
              "type": "String",
              "description": "The ID of the deal to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "deal.created",
        "path": "/webhooks/hubspot/deals/created",
        "payload": [
          {
            "name": "dealId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "dealname",
            "type": "string",
            "selector": [
              "property",
              "dealname",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "deal.updated",
        "path": "/webhooks/hubspot/deals/updated",
        "payload": [
          {
            "name": "dealId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "dealname",
            "type": "string",
            "selector": [
              "property",
              "dealname",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "tickets",
    "meta": {
      "short": "Tickets",
      "description": "Manage customer support tickets including subject, content, and status."
    },
    "endpoint": {
      "value": "/crm/v3/objects/tickets",
      "placeholders": []
    },
    "fields": [
      {
        "name": "subject",
        "type": "string",
        "selector": [
          "properties",
          "subject"
        ],
        "meta": {}
      },
      {
        "name": "content",
        "type": "string",
        "selector": [
          "properties",
          "content"
        ],
        "meta": {}
      },
      {
        "name": "hs_ticket_status",
        "type": "string",
        "selector": [
          "properties",
          "hs_ticket_status"
        ],
        "meta": {}
      },
      {
        "name": "hs_ticket_priority",
        "type": "string",
        "selector": [
          "properties",
          "hs_ticket_priority"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{ticketId}}",
          "placeholders": [
            {
              "name": "ticketId",
              "type": "String",
              "description": "The ID of the ticket to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"subject\": \"{{subject}}\", \"content\": \"{{content}}\", \"hs_ticket_status\": \"{{hs_ticket_status}}\", \"hs_ticket_priority\": \"{{hs_ticket_priority}}\"}}",
          "placeholders": [
            {
              "name": "subject",
              "type": "String",
              "description": "Subject of the ticket",
              "required": true
            },
            {
              "name": "content",
              "type": "String",
              "description": "Content or description of the ticket",
              "required": false
            },
            {
              "name": "hs_ticket_status",
              "type": "String",
              "description": "Status of the ticket",
              "required": false
            },
            {
              "name": "hs_ticket_priority",
              "type": "String",
              "description": "Priority of the ticket",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{ticketId}}",
          "placeholders": [
            {
              "name": "ticketId",
              "type": "String",
              "description": "The ID of the ticket to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"subject\": \"{{subject}}\", \"content\": \"{{content}}\", \"hs_ticket_status\": \"{{hs_ticket_status}}\", \"hs_ticket_priority\": \"{{hs_ticket_priority}}\"}}",
          "placeholders": [
            {
              "name": "subject",
              "type": "String",
              "description": "Subject of the ticket",
              "required": false
            },
            {
              "name": "content",
              "type": "String",
              "description": "Content or description of the ticket",
              "required": false
            },
            {
              "name": "hs_ticket_status",
              "type": "String",
              "description": "Status of the ticket",
              "required": false
            },
            {
              "name": "hs_ticket_priority",
              "type": "String",
              "description": "Priority of the ticket",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{ticketId}}",
          "placeholders": [
            {
              "name": "ticketId",
              "type": "String",
              "description": "The ID of the ticket to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "ticket.created",
        "path": "/webhooks/hubspot/tickets/created",
        "payload": [
          {
            "name": "ticketId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "subject",
            "type": "string",
            "selector": [
              "property",
              "subject",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "ticket.updated",
        "path": "/webhooks/hubspot/tickets/updated",
        "payload": [
          {
            "name": "ticketId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "subject",
            "type": "string",
            "selector": [
              "property",
              "subject",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "products",
    "meta": {
      "short": "Products",
      "description": "Manage products in the product library including name, price, and description."
    },
    "endpoint": {
      "value": "/crm/v3/objects/products",
      "placeholders": []
    },
    "fields": [
      {
        "name": "name",
        "type": "string",
        "selector": [
          "properties",
          "name"
        ],
        "meta": {}
      },
      {
        "name": "description",
        "type": "string",
        "selector": [
          "properties",
          "description"
        ],
        "meta": {}
      },
      {
        "name": "price",
        "type": "string",
        "selector": [
          "properties",
          "price"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{productId}}",
          "placeholders": [
            {
              "name": "productId",
              "type": "String",
              "description": "The ID of the product to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"name\": \"{{name}}\", \"description\": \"{{description}}\", \"price\": \"{{price}}\"}}",
          "placeholders": [
            {
              "name": "name",
              "type": "String",
              "description": "Name of the product",
              "required": true
            },
            {
              "name": "description",
              "type": "String",
              "description": "Description of the product",
              "required": false
            },
            {
              "name": "price",
              "type": "String",
              "description": "Price of the product",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{productId}}",
          "placeholders": [
            {
              "name": "productId",
              "type": "String",
              "description": "The ID of the product to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"name\": \"{{name}}\", \"description\": \"{{description}}\", \"price\": \"{{price}}\"}}",
          "placeholders": [
            {
              "name": "name",
              "type": "String",
              "description": "Name of the product",
              "required": false
            },
            {
              "name": "description",
              "type": "String",
              "description": "Description of the product",
              "required": false
            },
            {
              "name": "price",
              "type": "String",
              "description": "Price of the product",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{productId}}",
          "placeholders": [
            {
              "name": "productId",
              "type": "String",
              "description": "The ID of the product to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "product.created",
        "path": "/webhooks/hubspot/products/created",
        "payload": [
          {
            "name": "productId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "name",
            "type": "string",
            "selector": [
              "property",
              "name",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "product.updated",
        "path": "/webhooks/hubspot/products/updated",
        "payload": [
          {
            "name": "productId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "name",
            "type": "string",
            "selector": [
              "property",
              "name",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "line_items",
    "meta": {
      "short": "Line Items",
      "description": "Manage line items associated with deals or quotes."
    },
    "endpoint": {
      "value": "/crm/v3/objects/line_items",
      "placeholders": []
    },
    "fields": [
      {
        "name": "name",
        "type": "string",
        "selector": [
          "properties",
          "name"
        ],
        "meta": {}
      },
      {
        "name": "quantity",
        "type": "string",
        "selector": [
          "properties",
          "quantity"
        ],
        "meta": {}
      },
      {
        "name": "price",
        "type": "string",
        "selector": [
          "properties",
          "price"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{lineItemId}}",
          "placeholders": [
            {
              "name": "lineItemId",
              "type": "String",
              "description": "The ID of the line item to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"name\": \"{{name}}\", \"quantity\": \"{{quantity}}\", \"price\": \"{{price}}\"}}",
          "placeholders": [
            {
              "name": "name",
              "type": "String",
              "description": "Name of the line item",
              "required": true
            },
            {
              "name": "quantity",
              "type": "String",
              "description": "Quantity of the item",
              "required": false
            },
            {
              "name": "price",
              "type": "String",
              "description": "Price of the item",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{lineItemId}}",
          "placeholders": [
            {
              "name": "lineItemId",
              "type": "String",
              "description": "The ID of the line item to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"name\": \"{{name}}\", \"quantity\": \"{{quantity}}\", \"price\": \"{{price}}\"}}",
          "placeholders": [
            {
              "name": "name",
              "type": "String",
              "description": "Name of the line item",
              "required": false
            },
            {
              "name": "quantity",
              "type": "String",
              "description": "Quantity of the item",
              "required": false
            },
            {
              "name": "price",
              "type": "String",
              "description": "Price of the item",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{lineItemId}}",
          "placeholders": [
            {
              "name": "lineItemId",
              "type": "String",
              "description": "The ID of the line item to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "line_item.created",
        "path": "/webhooks/hubspot/line_items/created",
        "payload": [
          {
            "name": "lineItemId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "name",
            "type": "string",
            "selector": [
              "property",
              "name",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "line_item.updated",
        "path": "/webhooks/hubspot/line_items/updated",
        "payload": [
          {
            "name": "lineItemId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "name",
            "type": "string",
            "selector": [
              "property",
              "name",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "quotes",
    "meta": {
      "short": "Quotes",
      "description": "Manage quotes sent to customers including name and expiration date."
    },
    "endpoint": {
      "value": "/crm/v3/objects/quotes",
      "placeholders": []
    },
    "fields": [
      {
        "name": "hs_title",
        "type": "string",
        "selector": [
          "properties",
          "hs_title"
        ],
        "meta": {}
      },
      {
        "name": "hs_expiration_date",
        "type": "string",
        "selector": [
          "properties",
          "hs_expiration_date"
        ],
        "meta": {}
      },
      {
        "name": "hs_status",
        "type": "string",
        "selector": [
          "properties",
          "hs_status"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{quoteId}}",
          "placeholders": [
            {
              "name": "quoteId",
              "type": "String",
              "description": "The ID of the quote to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_title\": \"{{hs_title}}\", \"hs_expiration_date\": \"{{hs_expiration_date}}\", \"hs_status\": \"{{hs_status}}\"}}",
          "placeholders": [
            {
              "name": "hs_title",
              "type": "String",
              "description": "Title of the quote",
              "required": true
            },
            {
              "name": "hs_expiration_date",
              "type": "String",
              "description": "Expiration date of the quote",
              "required": false
            },
            {
              "name": "hs_status",
              "type": "String",
              "description": "Status of the quote",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{quoteId}}",
          "placeholders": [
            {
              "name": "quoteId",
              "type": "String",
              "description": "The ID of the quote to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_title\": \"{{hs_title}}\", \"hs_expiration_date\": \"{{hs_expiration_date}}\", \"hs_status\": \"{{hs_status}}\"}}",
          "placeholders": [
            {
              "name": "hs_title",
              "type": "String",
              "description": "Title of the quote",
              "required": false
            },
            {
              "name": "hs_expiration_date",
              "type": "String",
              "description": "Expiration date of the quote",
              "required": false
            },
            {
              "name": "hs_status",
              "type": "String",
              "description": "Status of the quote",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{quoteId}}",
          "placeholders": [
            {
              "name": "quoteId",
              "type": "String",
              "description": "The ID of the quote to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "quote.created",
        "path": "/webhooks/hubspot/quotes/created",
        "payload": [
          {
            "name": "quoteId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_title",
            "type": "string",
            "selector": [
              "property",
              "hs_title",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "quote.updated",
        "path": "/webhooks/hubspot/quotes/updated",
        "payload": [
          {
            "name": "quoteId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_title",
            "type": "string",
            "selector": [
              "property",
              "hs_title",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "calls",
    "meta": {
      "short": "Calls",
      "description": "Manage call engagements logged in the CRM."
    },
    "endpoint": {
      "value": "/crm/v3/objects/calls",
      "placeholders": []
    },
    "fields": [
      {
        "name": "hs_call_title",
        "type": "string",
        "selector": [
          "properties",
          "hs_call_title"
        ],
        "meta": {}
      },
      {
        "name": "hs_call_body",
        "type": "string",
        "selector": [
          "properties",
          "hs_call_body"
        ],
        "meta": {}
      },
      {
        "name": "hs_call_duration",
        "type": "string",
        "selector": [
          "properties",
          "hs_call_duration"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{callId}}",
          "placeholders": [
            {
              "name": "callId",
              "type": "String",
              "description": "The ID of the call to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_call_title\": \"{{hs_call_title}}\", \"hs_call_body\": \"{{hs_call_body}}\", \"hs_call_duration\": \"{{hs_call_duration}}\"}}",
          "placeholders": [
            {
              "name": "hs_call_title",
              "type": "String",
              "description": "Title of the call",
              "required": true
            },
            {
              "name": "hs_call_body",
              "type": "String",
              "description": "Notes or body of the call",
              "required": false
            },
            {
              "name": "hs_call_duration",
              "type": "String",
              "description": "Duration of the call",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{callId}}",
          "placeholders": [
            {
              "name": "callId",
              "type": "String",
              "description": "The ID of the call to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_call_title\": \"{{hs_call_title}}\", \"hs_call_body\": \"{{hs_call_body}}\", \"hs_call_duration\": \"{{hs_call_duration}}\"}}",
          "placeholders": [
            {
              "name": "hs_call_title",
              "type": "String",
              "description": "Title of the call",
              "required": false
            },
            {
              "name": "hs_call_body",
              "type": "String",
              "description": "Notes or body of the call",
              "required": false
            },
            {
              "name": "hs_call_duration",
              "type": "String",
              "description": "Duration of the call",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{callId}}",
          "placeholders": [
            {
              "name": "callId",
              "type": "String",
              "description": "The ID of the call to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "call.created",
        "path": "/webhooks/hubspot/calls/created",
        "payload": [
          {
            "name": "callId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_call_title",
            "type": "string",
            "selector": [
              "property",
              "hs_call_title",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "call.updated",
        "path": "/webhooks/hubspot/calls/updated",
        "payload": [
          {
            "name": "callId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_call_title",
            "type": "string",
            "selector": [
              "property",
              "hs_call_title",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "emails",
    "meta": {
      "short": "Emails",
      "description": "Manage email engagements logged in the CRM."
    },
    "endpoint": {
      "value": "/crm/v3/objects/emails",
      "placeholders": []
    },
    "fields": [
      {
        "name": "hs_email_subject",
        "type": "string",
        "selector": [
          "properties",
          "hs_email_subject"
        ],
        "meta": {}
      },
      {
        "name": "hs_email_text",
        "type": "string",
        "selector": [
          "properties",
          "hs_email_text"
        ],
        "meta": {}
      },
      {
        "name": "hs_email_direction",
        "type": "string",
        "selector": [
          "properties",
          "hs_email_direction"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{emailId}}",
          "placeholders": [
            {
              "name": "emailId",
              "type": "String",
              "description": "The ID of the email to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_email_subject\": \"{{hs_email_subject}}\", \"hs_email_text\": \"{{hs_email_text}}\", \"hs_email_direction\": \"{{hs_email_direction}}\"}}",
          "placeholders": [
            {
              "name": "hs_email_subject",
              "type": "String",
              "description": "Subject of the email",
              "required": true
            },
            {
              "name": "hs_email_text",
              "type": "String",
              "description": "Text body of the email",
              "required": false
            },
            {
              "name": "hs_email_direction",
              "type": "String",
              "description": "Direction of the email (EMAIL, INCOMING_EMAIL, etc.)",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{emailId}}",
          "placeholders": [
            {
              "name": "emailId",
              "type": "String",
              "description": "The ID of the email to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_email_subject\": \"{{hs_email_subject}}\", \"hs_email_text\": \"{{hs_email_text}}\", \"hs_email_direction\": \"{{hs_email_direction}}\"}}",
          "placeholders": [
            {
              "name": "hs_email_subject",
              "type": "String",
              "description": "Subject of the email",
              "required": false
            },
            {
              "name": "hs_email_text",
              "type": "String",
              "description": "Text body of the email",
              "required": false
            },
            {
              "name": "hs_email_direction",
              "type": "String",
              "description": "Direction of the email (EMAIL, INCOMING_EMAIL, etc.)",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{emailId}}",
          "placeholders": [
            {
              "name": "emailId",
              "type": "String",
              "description": "The ID of the email to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "email.created",
        "path": "/webhooks/hubspot/emails/created",
        "payload": [
          {
            "name": "emailId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_email_subject",
            "type": "string",
            "selector": [
              "property",
              "hs_email_subject",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "email.updated",
        "path": "/webhooks/hubspot/emails/updated",
        "payload": [
          {
            "name": "emailId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_email_subject",
            "type": "string",
            "selector": [
              "property",
              "hs_email_subject",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "meetings",
    "meta": {
      "short": "Meetings",
      "description": "Manage meeting engagements logged in the CRM."
    },
    "endpoint": {
      "value": "/crm/v3/objects/meetings",
      "placeholders": []
    },
    "fields": [
      {
        "name": "hs_meeting_title",
        "type": "string",
        "selector": [
          "properties",
          "hs_meeting_title"
        ],
        "meta": {}
      },
      {
        "name": "hs_meeting_body",
        "type": "string",
        "selector": [
          "properties",
          "hs_meeting_body"
        ],
        "meta": {}
      },
      {
        "name": "hs_meeting_start_time",
        "type": "string",
        "selector": [
          "properties",
          "hs_meeting_start_time"
        ],
        "meta": {}
      },
      {
        "name": "hs_meeting_end_time",
        "type": "string",
        "selector": [
          "properties",
          "hs_meeting_end_time"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{meetingId}}",
          "placeholders": [
            {
              "name": "meetingId",
              "type": "String",
              "description": "The ID of the meeting to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_meeting_title\": \"{{hs_meeting_title}}\", \"hs_meeting_body\": \"{{hs_meeting_body}}\", \"hs_meeting_start_time\": \"{{hs_meeting_start_time}}\", \"hs_meeting_end_time\": \"{{hs_meeting_end_time}}\"}}",
          "placeholders": [
            {
              "name": "hs_meeting_title",
              "type": "String",
              "description": "Title of the meeting",
              "required": true
            },
            {
              "name": "hs_meeting_body",
              "type": "String",
              "description": "Agenda or notes for the meeting",
              "required": false
            },
            {
              "name": "hs_meeting_start_time",
              "type": "String",
              "description": "Start time of the meeting",
              "required": false
            },
            {
              "name": "hs_meeting_end_time",
              "type": "String",
              "description": "End time of the meeting",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{meetingId}}",
          "placeholders": [
            {
              "name": "meetingId",
              "type": "String",
              "description": "The ID of the meeting to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_meeting_title\": \"{{hs_meeting_title}}\", \"hs_meeting_body\": \"{{hs_meeting_body}}\", \"hs_meeting_start_time\": \"{{hs_meeting_start_time}}\", \"hs_meeting_end_time\": \"{{hs_meeting_end_time}}\"}}",
          "placeholders": [
            {
              "name": "hs_meeting_title",
              "type": "String",
              "description": "Title of the meeting",
              "required": false
            },
            {
              "name": "hs_meeting_body",
              "type": "String",
              "description": "Agenda or notes for the meeting",
              "required": false
            },
            {
              "name": "hs_meeting_start_time",
              "type": "String",
              "description": "Start time of the meeting",
              "required": false
            },
            {
              "name": "hs_meeting_end_time",
              "type": "String",
              "description": "End time of the meeting",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{meetingId}}",
          "placeholders": [
            {
              "name": "meetingId",
              "type": "String",
              "description": "The ID of the meeting to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "meeting.created",
        "path": "/webhooks/hubspot/meetings/created",
        "payload": [
          {
            "name": "meetingId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_meeting_title",
            "type": "string",
            "selector": [
              "property",
              "hs_meeting_title",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "meeting.updated",
        "path": "/webhooks/hubspot/meetings/updated",
        "payload": [
          {
            "name": "meetingId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_meeting_title",
            "type": "string",
            "selector": [
              "property",
              "hs_meeting_title",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "notes",
    "meta": {
      "short": "Notes",
      "description": "Manage notes added to CRM records."
    },
    "endpoint": {
      "value": "/crm/v3/objects/notes",
      "placeholders": []
    },
    "fields": [
      {
        "name": "hs_note_body",
        "type": "string",
        "selector": [
          "properties",
          "hs_note_body"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{noteId}}",
          "placeholders": [
            {
              "name": "noteId",
              "type": "String",
              "description": "The ID of the note to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_note_body\": \"{{hs_note_body}}\"}}",
          "placeholders": [
            {
              "name": "hs_note_body",
              "type": "String",
              "description": "Body text of the note",
              "required": true
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{noteId}}",
          "placeholders": [
            {
              "name": "noteId",
              "type": "String",
              "description": "The ID of the note to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_note_body\": \"{{hs_note_body}}\"}}",
          "placeholders": [
            {
              "name": "hs_note_body",
              "type": "String",
              "description": "Body text of the note",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{noteId}}",
          "placeholders": [
            {
              "name": "noteId",
              "type": "String",
              "description": "The ID of the note to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "note.created",
        "path": "/webhooks/hubspot/notes/created",
        "payload": [
          {
            "name": "noteId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_note_body",
            "type": "string",
            "selector": [
              "property",
              "hs_note_body",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "note.updated",
        "path": "/webhooks/hubspot/notes/updated",
        "payload": [
          {
            "name": "noteId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_note_body",
            "type": "string",
            "selector": [
              "property",
              "hs_note_body",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  },
  {
    "handle": "tasks",
    "meta": {
      "short": "Tasks",
      "description": "Manage tasks assigned to CRM users."
    },
    "endpoint": {
      "value": "/crm/v3/objects/tasks",
      "placeholders": []
    },
    "fields": [
      {
        "name": "hs_task_subject",
        "type": "string",
        "selector": [
          "properties",
          "hs_task_subject"
        ],
        "meta": {}
      },
      {
        "name": "hs_task_body",
        "type": "string",
        "selector": [
          "properties",
          "hs_task_body"
        ],
        "meta": {}
      },
      {
        "name": "hs_task_status",
        "type": "string",
        "selector": [
          "properties",
          "hs_task_status"
        ],
        "meta": {}
      },
      {
        "name": "hs_task_priority",
        "type": "string",
        "selector": [
          "properties",
          "hs_task_priority"
        ],
        "meta": {}
      }
    ],
    "operations": {
      "list": {
        "method": "GET",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {},
        "queryParams": {
          "limit": "100"
        },
        "bodyTemplate": null
      },
      "read": {
        "method": "GET",
        "path": {
          "value": "/{{taskId}}",
          "placeholders": [
            {
              "name": "taskId",
              "type": "String",
              "description": "The ID of the task to retrieve",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      },
      "create": {
        "method": "POST",
        "path": {
          "value": "",
          "placeholders": []
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_task_subject\": \"{{hs_task_subject}}\", \"hs_task_body\": \"{{hs_task_body}}\", \"hs_task_status\": \"{{hs_task_status}}\", \"hs_task_priority\": \"{{hs_task_priority}}\"}}",
          "placeholders": [
            {
              "name": "hs_task_subject",
              "type": "String",
              "description": "Subject of the task",
              "required": true
            },
            {
              "name": "hs_task_body",
              "type": "String",
              "description": "Description or body of the task",
              "required": false
            },
            {
              "name": "hs_task_status",
              "type": "String",
              "description": "Status of the task",
              "required": false
            },
            {
              "name": "hs_task_priority",
              "type": "String",
              "description": "Priority of the task",
              "required": false
            }
          ]
        }
      },
      "update": {
        "method": "PATCH",
        "path": {
          "value": "/{{taskId}}",
          "placeholders": [
            {
              "name": "taskId",
              "type": "String",
              "description": "The ID of the task to update",
              "required": true
            }
          ]
        },
        "headers": {
          "Content-Type": "application/json"
        },
        "queryParams": {},
        "bodyTemplate": {
          "value": "{\"properties\": {\"hs_task_subject\": \"{{hs_task_subject}}\", \"hs_task_body\": \"{{hs_task_body}}\", \"hs_task_status\": \"{{hs_task_status}}\", \"hs_task_priority\": \"{{hs_task_priority}}\"}}",
          "placeholders": [
            {
              "name": "hs_task_subject",
              "type": "String",
              "description": "Subject of the task",
              "required": false
            },
            {
              "name": "hs_task_body",
              "type": "String",
              "description": "Description or body of the task",
              "required": false
            },
            {
              "name": "hs_task_status",
              "type": "String",
              "description": "Status of the task",
              "required": false
            },
            {
              "name": "hs_task_priority",
              "type": "String",
              "description": "Priority of the task",
              "required": false
            }
          ]
        }
      },
      "delete": {
        "method": "DELETE",
        "path": {
          "value": "/{{taskId}}",
          "placeholders": [
            {
              "name": "taskId",
              "type": "String",
              "description": "The ID of the task to delete",
              "required": true
            }
          ]
        },
        "headers": {},
        "queryParams": {},
        "bodyTemplate": null
      }
    },
    "webhooks": [
      {
        "event": "task.created",
        "path": "/webhooks/hubspot/tasks/created",
        "payload": [
          {
            "name": "taskId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_task_subject",
            "type": "string",
            "selector": [
              "property",
              "hs_task_subject",
              "value"
            ],
            "meta": {}
          }
        ]
      },
      {
        "event": "task.updated",
        "path": "/webhooks/hubspot/tasks/updated",
        "payload": [
          {
            "name": "taskId",
            "type": "string",
            "selector": [
              "objectId"
            ],
            "meta": {}
          },
          {
            "name": "hs_task_subject",
            "type": "string",
            "selector": [
              "property",
              "hs_task_subject",
              "value"
            ],
            "meta": {}
          }
        ]
      }
    ]
  }
]

```

<p align="center"><a class="button primary" data-icon="square-caret-right">Try @Human</a><a class="button primary" data-icon="check">Buy @Human Subscription</a><a class="button primary" data-icon="comments">Join @Human Community</a></p>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.planetcrust.com/human-connections/hubspot/hubspot.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
