HubSpot HubDB icon

HubSpot HubDB

Interact with HubSpot HubDB API v3

Draft Table → Update

AI-generated

Overview

This node interacts with the HubSpot HubDB API v3, specifically allowing users to update a Draft Table resource. It is useful for scenarios where you need to modify the structure or metadata of a draft table in HubSpot, such as changing the table's name, label, or its columns' properties before publishing the table. Practical examples include updating column types, adding new columns, or renaming the draft table to reflect new data requirements.

Use Case Examples

  1. Updating the name and label of a draft table to better describe its content.
  2. Adding or modifying columns in a draft table, such as changing a column's type from TEXT to NUMBER or adding options for SELECT type columns.

Properties

Name Meaning
Table ID The unique identifier of the draft table to update, required to specify which table to modify.
Additional Fields Optional fields to update the draft table's metadata, including its name and label.
Columns A collection of columns to update or add in the draft table. Each column can have a name, label, type, and options if applicable.

Output

JSON

  • json - The JSON output contains the response from the HubSpot HubDB API after updating the draft table, including updated table details and column configurations.

Dependencies

  • Requires an API key credential for HubSpot HubDB API v3 authentication.

Troubleshooting

  • Ensure the Table ID is correct and corresponds to an existing draft table in HubSpot; otherwise, the update will fail.
  • Verify that the column names are unique and valid according to HubSpot's HubDB requirements to avoid errors.
  • If using SELECT or MULTISELECT column types, ensure the options are provided as a comma-separated list without syntax errors.
  • Common error messages may include authentication failures if the API key is invalid or missing, or validation errors if required fields are missing or incorrectly formatted.

Links

Discussion