# AutomationSequenceById Retrieve details for a sequence Retrieve details of a specific sequence by its ID. - Catalog: `Sequences` - 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 `AutomationSequenceById`. 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 | |---|:---:|:---:|:---:|---| | `sequenceId` | `` | ☑ | | | | `userId` | `` | ☑ | | | ## Columns of Table Function The columns of the table function `AutomationSequenceById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `createdAt` | `datetime` | Created at | ☐ | The date and time when the sequence was created. | | `folderId` | `varchar2` | Folder ID | ☐ | The identifier of the folder containing the sequence. | | `id` | `varchar2` | ID | ☐ | The unique identifier for the sequence. | | `name` | `varchar2` | Name | ☐ | The name of the sequence. | | `settings_createdAt` | `datetime` | | ☐ | The timestamp of when the sequence settings were created. | | `settings_eligibleFollowUpDays` | `varchar2` | | ☐ | Specifies the days on which follow-up actions are allowed. | | `settings_id` | `varchar2` | | ☐ | The unique identifier for the sequence settings. | | `settings_individualTaskRemindersEnabled` | `char` | | ☐ | Indicates whether individual task reminders are enabled. | | `settings_sellingStrategy` | `varchar2` | | ☐ | (deprecated) Defines the unenrollment strategy, with accepted values being ACCOUNT_BASED or LEAD_BASED. If ACCOUNT_BASED is used, all contacts associated with the same company will be unenrolled if one contact meets any of the unenrollment criteria. | | `settings_sendWindowEndMinute` | `int32` | | ☐ | Indicates the end minute of the time window during which automated emails can be sent. | | `settings_sendWindowStartMinute` | `int32` | | ☐ | Indicates the start minute of the time window during which automated emails can be sent. | | `settings_taskReminderMinute` | `int32` | | ☐ | Specifies the minute of day at which task reminders are triggered. | | `settings_updatedAt` | `datetime` | | ☐ | The timestamp of when the sequence settings were last updated. | | `updatedAt` | `datetime` | Updated at | ☐ | The date and time when the sequence was last updated. | | `userId` | `varchar2` | User ID | ☐ | The ID of the user associated with the sequence. |