HubSpot
This page provides information for connecting Appsmith to HubSpot and for reading and writing data in your applications.
Connection parameters
The following section is a reference guide that provides a complete description of all the parameters to connect to a HubSpot database.
Authentication Type
- Bearer Token: An access token that authenticates your queries to HubSpot. For more information on finding your access token, follow HubSpot's Private App integration guide.
Query HubSpot
The following section is a reference guide that provides a description of the read and write operation commands with their parameters to create HubSpot queries.
HubDB
The following sections describe the parameters for connecting to HubDB type queries.
Get published tables
The HubDB - get published tables command fetches information for the HubDB tables associated with your HubSpot account. The following is a list of all the fields available for HubDB - get published tables:
Sort
name
or creation time (createdAt
). Requires a single field.Next Page Token
{{ GetRowsQuery.data.paging?.next.after || "" }}
Limit
Created at
YYYY-MM-DDThh:mm:ss.sZ
.Created after
YYYY-MM-DDThh:mm:ss.sZ
.Created before
YYYY-MM-DDThh:mm:ss.sZ
.Updated at
YYYY-MM-DDThh:mm:ss.sZ
.Updated after
YYYY-MM-DDThh:mm:ss.sZ
.Updated before
YYYY-MM-DDThh:mm:ss.sZ
.Archive
true
, the query only returns table data for tables that are archived.Create table
The HubDB - create table command creates a new HubDB table. The following is a list of all the fields available for HubDB - create table:
Name
Label
Use for pages
true
, allows the new table to be used for creating dynamic website pages.Columns
["hello", "world", "apple"]
Allow Public API access
true
, allows the table to be read via public API without authorization.Allow child tables
true
, allows the creation of related child tables.Allow child table pages
true
, allows the creation of multi-level dynamic pages referencing the child table.Foreign table ID
Foreign table ID
Dynamic meta tags
id
of 3
, use: { "DESCRIPTION": 3 }
Get details of a published table
The HubDB - get details of a published table command fetches data about a HubDB table. The following is a list of all the fields available for HubDB - get details of a published table:
Archived
true
, the query includes data for tables that are archived.Include foreign IDs
true
, the details for related child/foreign tables are included in the results.Table ID or name
ID
value.Archive table
The HubDB - archive table archives a HubDB table. The following is a list of all the fields available for HubDB - archive table:
Table ID or name
ID
value.Update existing table
The HubDB - update existing table command fetches rows from a HubDB table. The following is a list of all the fields available for HubDB - update existing table:
Archived
true
, the query returns data only for tables that are archived.Include foreign IDs
true
, the details for related child/foreign tables are included in the results.Table ID or name
ID
value.Name
Label
Use for pages
true
, allows the new table to be used for creating dynamic website pages.Columns
["hello", "world", "apple"]
Allow Public API access
true
, allows the table to be read via public API without authorization.Allow child tables
true
, allows the creation of related child tables.Allow child table pages
true
, allows the creation of multi-level dynamic pages referencing the child table.Foreign table ID
Foreign table ID
Dynamic meta tags
id
of 3
, use: { "DESCRIPTION": 3 }
Clone table
The HubDB - clone table command clones an existing HubDB table. The following is a list of all the fields available for HubDB - clone table:
Table ID or name
ID
value.