- If using Matillion Full SaaS: The component will use the cloud credentials associated with your environment to access resources.
- If using Hybrid SaaS: By default the component will inherit the agent’s execution role (service account role). However, if there are cloud credentials associated to your environment, these will overwrite the role.
Properties
Reference material is provided below for the Connect, Configure, Destination, and Advanced Settings properties.A human-readable name for the component.
Connect
Choose between OAuth and Private App Token for authenticating this component.
Choose your OAuth connection from the drop-down menu.Click Manage to navigate to the OAuth connections list to review OAuth connections and to add new connections. Read OAuth to learn how to create an OAuth connection.
This parameter is only available when you choose API Key as the authentication method.Choose the secret definition that represents your credentials for this connector.If you have not already saved your credentials for this connector as a secret definition, click Add secret to create a secret definition representing these credentials. Read Secrets and secret definitions for details about creating a secret definition.Read HubSpot authentication guide to learn how to obtain a Private App token.
Connection Options = column editor
- Parameter: A JDBC parameter supported by the database driver. The available parameters are explained in data model. Manual setup is not usually required, since sensible defaults are assumed.
- Value: A value for the given parameter.
- For more information about configuring the connection options, read the section Data model.
- To make sure you’re using the latest API supported by HubSpot, set the “Schema” connection option to “HubSpotV4”. By default, the component uses “Schema=HubSpot”, which references the older, V2 API. HubSpot recommends the CRM V4 API for improved performance.
Configure
- Basic: Configure data selection using the Data Source, Data Selection, Data Source Filter, Combine Filters, and Limit properties.
- Advanced: Write your own SQL query using the SQL Query property.
Write an SQL query to retrieve your data when Mode is set to Advanced.
Select the data source to query from. Available when Mode is set to Basic.
Select the columns to include from the data source. Available when Mode is set to Basic.
Filter the rows returned from the data source. Available when Mode is set to Basic.
Choose how to combine multiple filters. Select AND to return rows matching all filters, or OR to return rows matching any filter. Available when Mode is set to Basic.
The maximum number of rows to return from the data source. Leave blank to return all rows. Available when Mode is set to Basic.
Destination
Select your cloud data warehouse.- Snowflake
- Databricks
- Amazon Redshift
- Standard: The data will be staged in your storage location before being loaded into a table. This is the only setting currently available.
The Snowflake warehouse used to run the queries. The special value
[Environment Default] uses the warehouse defined in the environment. Read Overview of Warehouses to learn more.The Snowflake database. The special value
[Environment Default] uses the database defined in the environment. Read Databases, Tables and Views - Overview to learn more.The Snowflake schema. The special value
[Environment Default] uses the schema defined in the environment. Read Database, Schema, and Share DDL to learn more.The name of the table to be created in your Snowflake database. This table will be recreated and will drop any existing table of the same name.You can use a Table Input component in a transformation pipeline to access and transform this data after it has been loaded.
Select one or more columns to be designated as the table’s primary key.
Select a managed stage. The special value, [Custom], will create a stage “on the fly” for use solely within this component.
Choose where the data is staged before being loaded into your Snowflake table using the drop-down menu.
- Existing Amazon S3 Location: Activates the S3 Staging Area property, allowing users to specify a custom staging area on Amazon S3. The Stage Authentication property is also activated, letting users select a method of authenticating the data staging.
- Existing Azure Blob Storage Location: Activates the Storage Account and Blob Container properties, allowing users to specify a custom staging location on Azure. The Stage Authentication property is also activated, letting users select a method of authenticating the data staging.
- Existing Google Cloud Storage Location: Activates the Storage Integration and GCS Staging Area properties, allowing users to specify a custom staging area within Google Cloud Storage.
- Snowflake Managed: Create and use a temporary internal stage on Snowflake for staging the data. This stage, along with the staged data, will cease to exist after loading is complete. This is the default setting.
Select an authentication method for data staging. Only available when Stage Platform is set to either Existing Amazon S3 Location or Existing Azure Blob Storage Location.
- Credentials: Uses the credentials configured in the environment. If no credentials have been configured, an error will occur.
- Storage Integration: Use a Snowflake storage integration to authentication data staging.
Select a Snowflake storage integration from the drop-down list. Storage integrations are required to permit Snowflake to read data from and write to your cloud storage location and must be set up in advance of selection.
Select an S3 bucket for temporary storage. Ensure your access credentials have S3 access and permission to write to the bucket. The temporary objects created in this bucket will be removed again after the load completes.
Select a storage account with your desired blob container to be used for staging the data. For more information, read Storage account overview.
Select a Blob container to be used for staging the data. For more information, read Introduction to Azure Blob storage.
The URL and path of the target Google Cloud Storage bucket to be used for staging the queried data.
Advanced Settings
- Snowflake
- Databricks
- Amazon Redshift
- Clean Staged Files: Destroy staged files after loading data. Default is On.
- String Null is Null: Converts any strings equal to null into a null value. This is case-sensitive and only works with entirely lower-case strings. Default is Off.
- Recreate Target Table: Choose whether the component recreates its target table before the data load. If Off, the existing table will be used. Default is On.
- File Prefix: Give staged file names a prefix of your choice. Default is empty (no prefix).
- Trim String Columns: Remove leading and trailing characters from a string column. Default is On.
- Compression Type: Set the compression type to either gzip (default) or None.
Decide how the files are encrypted inside the S3 bucket. This property is available when using an existing Amazon S3 location for staging.
- None: No encryption.
- SSE KMS: Encrypt the data according to a key stored on KMS. Read AWS Key Management Service (AWS KMS) to learn more.
- SSE S3: Encrypt the data according to a key stored on an S3 bucket. Read Using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) to learn more.
The ID of the KMS encryption key you have chosen to use in the Encryption property.
Choose whether to automatically log debug information about your load. These logs can be found in the task history and should be included in support requests concerning the component. Turning this on will override any debugging connection options.
The level of verbosity with which your debug information is logged. Levels above 1 can log huge amounts of data and result in slower execution. These logs can be found in the Message field of the task details after pipeline execution and should be included in support requests concerning the component.
- Will log the query, the number of rows returned by it, the start of execution and the time taken, and any errors.
- Will log everything included in Level 1, plus cache queries and additional information about the request, if applicable.
- Will additionally log the body of the request and the response.
- Will additionally log transport-level communication with the data source. This includes SSL negotiation.
- Will additionally log communication with the data source, as well as additional details that may be helpful in troubleshooting problems. This includes interface commands.
Data model
The JDBC driver for this component models HubSpot APIs as relational tables, views, and stored procedures, which are documented in the data model. You’ll also find API limitations and requirements. The connection optionSupportEnhancedSQL is set to true by default and typically circumvents most API limitations.
This connector also allows you to query system tables in Advanced mode. To see the available system tables in the data model, read the System Tables section of the data model. For more information about using system tables, read our System tables guide.

