AutomationFlowById |
Retrieve a workflowRetrieve the details of a specific automation flow using its unique flow ID.
Catalog: Automation
Schema: Basic
This is a read-only table function. The HubSpot API may not support changing the data or the Invantive UniversalSQL driver for HubSpot does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the HubSpot API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function AutomationFlowById. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
|---|---|---|---|---|
flowId |
string |
☑ |
|
|
Columns of Table Function
The columns of the table function AutomationFlowById are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
canEnrollFromSalesforce |
boolean |
|
☐ |
|
createdAt |
datetime |
Created at |
☐ |
|
crmObjectCreationStatus |
string |
|
☐ |
|
customProperties |
string |
|
☐ |
|
description |
string |
Description |
☐ |
|
enrollmentCriteria_listFilterBranch_filterBranchOperator |
string |
|
☐ |
Defines the logical operator used to combine multiple filter branches. |
enrollmentCriteria_listFilterBranch_filterBranchType |
string |
|
☐ |
Indicates the type of filter branch, defaulting to OR. |
enrollmentCriteria_shouldReEnroll |
boolean |
|
☐ |
Determines if objects should be re-enrolled when they meet the criteria again. |
enrollmentCriteria_type |
string |
|
☐ |
Specifies the type of enrollment criteria, which defaults to 'LIST_BASED'. |
enrollmentCriteria_unEnrollObjectsNotMeetingCriteria |
boolean |
|
☐ |
Indicates whether objects not meeting the criteria should be unenrolled. |
enrollmentSchedule_timeOfDay_hour |
int32 |
|
☐ |
The hour component of the time, represented as an integer. |
enrollmentSchedule_timeOfDay_minute |
int32 |
|
☐ |
The minute component of the time, represented as an integer. |
enrollmentSchedule_type |
string |
|
☐ |
Specifies the type of enrollment schedule, which is 'DAILY'. |
eventAnchor_contactProperty |
string |
|
☐ |
Specifies the contact property associated with the anchor. |
eventAnchor_type |
string |
|
☐ |
Indicates the type of the contact property anchor, which defaults to CONTACT_PROPERTY_ANCHOR. |
flowType |
string |
|
☐ |
|
goalFilterBranch_filterBranchOperator |
string |
|
☐ |
Defines the logical operator used to combine multiple filter branches. |
goalFilterBranch_filterBranchType |
string |
|
☐ |
Indicates the type of filter branch, defaulting to OR. |
id |
string |
ID |
☐ |
|
isEnabled |
boolean |
|
☐ |
|
name |
string |
Name |
☐ |
|
nextAvailableActionId |
string |
|
☐ |
|
objectTypeId |
string |
Ojbect Type ID |
☐ |
|
revisionId |
string |
Revision ID |
☐ |
|
startActionId |
string |
|
☐ |
|
suppressionFilterBranch_filterBranchOperator |
string |
|
☐ |
Defines the logical operator used to combine multiple filter branches. |
suppressionFilterBranch_filterBranchType |
string |
|
☐ |
Indicates the type of filter branch, defaulting to OR. |
suppressionListIds |
string |
|
☐ |
|
type |
string |
Type |
☐ |
|
unEnrollmentSetting_type |
string |
|
☐ |
Specifies the type of unenrollment setting, with possible values being ALL or SELECTIVE. |
updatedAt |
datetime |
Updated at |
☐ |
|
uuid |
string |
|
☐ |
|
HubSpot API Data Model