Deals: HubSpot Deals |
ListRead a page of deals. Control what is returned via the `properties` query param.
Catalog: Deals3
Schema: Basic
Label: Deals
Retrieve: true
Insert: true
Update: false
Delete: false
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function Deals. 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 |
---|---|---|---|---|
after |
string |
☐ |
|
The paging cursor token of the last successfully read resource will be returned as the `paging.next.after` JSON property of a paged response containing more results. |
archived |
boolean |
☐ |
|
Whether to return only results that have been archived. |
Columns of Table Function
The columns of the table function Deals are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert.
Name |
Data Type |
Label |
Required |
Documentation |
---|---|---|---|---|
archived |
boolean |
Archived |
☐ |
|
archivedAt |
datetime |
Archived at |
☐ |
|
associations |
string |
Associations |
☐ |
|
createdAt |
datetime |
Created at |
☐ |
|
id |
string |
ID |
☐ |
|
prop_amount_in_home_currency |
decimal |
Amount in Company Currency |
☐ |
|
prop_amount |
decimal |
Amount |
☐ |
|
prop_closed_lost_reason |
string |
Closed Lost Reason |
☐ |
|
prop_closed_won_reason |
string |
Closed Won Reason |
☐ |
|
prop_closedate |
datetime |
Close Date |
☐ |
|
prop_createdate |
datetime |
Created at |
☐ |
|
prop_days_to_close |
decimal |
Days to Close |
☐ |
|
prop_dealname |
string |
Deal Name |
☐ |
|
prop_dealstage |
string |
Deal Stage |
☐ |
|
prop_dealtype |
string |
Deal Type |
☐ |
|
prop_description |
string |
Description |
☐ |
|
prop_engagements_last_meeting_booked_campaign |
string |
Last Meeting Booked Campaign |
☐ |
|
prop_engagements_last_meeting_booked_medium |
string |
Last Meeting Booked Medium |
☐ |
|
prop_engagements_last_meeting_booked_source |
string |
Last Meeting Booked Source |
☐ |
|
prop_engagements_last_meeting_booked |
datetime |
Last Meeting Booked |
☐ |
|
prop_hs_acv |
decimal |
Annual Contract Value |
☐ |
|
prop_hs_all_accessible_team_ids |
string |
All Accessible Team IDs |
☐ |
|
prop_hs_all_collaborator_owner_ids |
string |
All Collaborator Owner IDs |
☐ |
|
prop_hs_all_deal_split_owner_ids |
string |
All Deal Split Owner IDs |
☐ |
|
prop_hs_all_owner_ids |
string |
All Owner IDs |
☐ |
|
prop_hs_all_team_ids |
string |
All Team IDs |
☐ |
|
prop_hs_analytics_latest_source_company |
string |
Analytics Latest Source Company |
☐ |
|
prop_hs_analytics_latest_source_contact |
string |
Analytics Latest Source Contact |
☐ |
|
prop_hs_analytics_latest_source_data_1_company |
string |
Analytics Latest Source Data 1 Company |
☐ |
|
prop_hs_analytics_latest_source_data_1_contact |
string |
Analytics Latest Source Data 1 Contact |
☐ |
|
prop_hs_analytics_latest_source_data_1 |
string |
Analytics Latest Source Data 1 |
☐ |
|
prop_hs_analytics_latest_source_data_2_company |
string |
Analytics Latest Source Data 2 Company |
☐ |
|
prop_hs_analytics_latest_source_data_2_contact |
string |
Analytics Latest Source Data 2 Contact |
☐ |
|
prop_hs_analytics_latest_source_data_2 |
string |
Analytics Latest Source Data 2 |
☐ |
|
prop_hs_analytics_latest_source_timestamp_company |
datetime |
Analytics Latest Source Timestamp Company |
☐ |
|
prop_hs_analytics_latest_source_timestamp_contact |
datetime |
Analytics Latest Source Timestamp Contact |
☐ |
|
prop_hs_analytics_latest_source_timestamp |
datetime |
Analytics Latest Source Timestamp |
☐ |
|
prop_hs_analytics_latest_source |
string |
Analytics Latest Source |
☐ |
|
prop_hs_analytics_source_data_1 |
string |
Analytics Source Data 1 |
☐ |
|
prop_hs_analytics_source_data_2 |
string |
Analytics Source Data 2 |
☐ |
|
prop_hs_analytics_source |
string |
Analytics Source |
☐ |
|
prop_hs_arr |
decimal |
Annual Recurring Revenues |
☐ |
|
prop_hs_closed_amount_in_home_currency |
decimal |
Closed Amount in Company Currency |
☐ |
|
prop_hs_closed_amount |
decimal |
Closed Amount |
☐ |
|
prop_hs_closed_deal_close_date |
decimal |
{res:itgen_hubspot_prop_hs_closed_deal_close_date} |
☐ |
|
prop_hs_closed_deal_create_date |
decimal |
{res:itgen_hubspot_prop_hs_closed_deal_create_date} |
☐ |
|
prop_hs_closed_won_count |
decimal |
Closed Won Count |
☐ |
|
prop_hs_closed_won_date |
datetime |
Closed Won Date |
☐ |
|
prop_hs_created_by_user_id |
decimal |
Created by User ID |
☐ |
|
prop_hs_createdate |
datetime |
Created at |
☐ |
|
prop_hs_date_entered_appointmentscheduled |
datetime |
Date Entered Appointment Scheduled |
☐ |
|
prop_hs_date_entered_closedlost |
datetime |
Date Entered Closed Lost |
☐ |
|
prop_hs_date_entered_closedwon |
datetime |
Date Entered Closed Won |
☐ |
|
prop_hs_date_entered_contractsent |
datetime |
Date Entered Contract Sent |
☐ |
|
prop_hs_date_entered_decisionmakerboughtin |
datetime |
Date Entered Decisionmaker Bought-in |
☐ |
|
prop_hs_date_entered_presentationscheduled |
datetime |
Date Entered Presentation Scheduled |
☐ |
|
prop_hs_date_entered_qualifiedtobuy |
datetime |
Date Entered Qualified to Buy |
☐ |
|
prop_hs_date_exited_appointmentscheduled |
datetime |
Date Exited Appointment Scheduled |
☐ |
|
prop_hs_date_exited_closedlost |
datetime |
Date Exited Closed Lost |
☐ |
|
prop_hs_date_exited_closedwon |
datetime |
Date Exited Closed Won |
☐ |
|
prop_hs_date_exited_contractsent |
datetime |
Date Exited Contract Sent |
☐ |
|
prop_hs_date_exited_decisionmakerboughtin |
datetime |
Date Exited Decisionmaker Bought-in |
☐ |
|
prop_hs_date_exited_presentationscheduled |
datetime |
Date Exited Presentation Scheduled |
☐ |
|
prop_hs_date_exited_qualifiedtobuy |
datetime |
Date Exited Qualified to Buy |
☐ |
|
prop_hs_days_to_close_raw |
decimal |
{res:itgen_hubspot_prop_hs_days_to_close_raw} |
☐ |
|
prop_hs_deal_amount_calculation_preference |
string |
Deal Amount Calculation Preference |
☐ |
|
prop_hs_deal_stage_probability_shadow |
decimal |
Deal Stage Probability Shadow |
☐ |
|
prop_hs_deal_stage_probability |
decimal |
Deal Stage Probability |
☐ |
|
prop_hs_exchange_rate |
decimal |
Exchange Rate |
☐ |
|
prop_hs_forecast_amount |
decimal |
Forecast Amount |
☐ |
|
prop_hs_forecast_probability |
decimal |
Forecast Probability |
☐ |
|
prop_hs_has_empty_conditional_stage_properties |
boolean |
{res:itgen_hubspot_prop_hs_has_empty_conditional_stage_properties} |
☐ |
|
prop_hs_is_closed_count |
decimal |
{res:itgen_hubspot_prop_hs_is_closed_count} |
☐ |
|
prop_hs_is_closed_lost |
boolean |
{res:itgen_hubspot_prop_hs_is_closed_lost} |
☐ |
|
prop_hs_is_closed_won |
boolean |
Is Closed Won |
☐ |
|
prop_hs_is_closed |
boolean |
Is Closed |
☐ |
|
prop_hs_is_in_first_deal_stage |
boolean |
{res:itgen_hubspot_prop_hs_is_in_first_deal_stage} |
☐ |
|
prop_hs_is_open_count |
decimal |
{res:itgen_hubspot_prop_hs_is_open_count} |
☐ |
|
prop_hs_lastmodifieddate |
datetime |
Last Modified Date |
☐ |
|
prop_hs_latest_approval_status_approval_id |
decimal |
{res:itgen_hubspot_prop_hs_latest_approval_status_approval_id} |
☐ |
|
prop_hs_latest_approval_status |
string |
{res:itgen_hubspot_prop_hs_latest_approval_status} |
☐ |
|
prop_hs_latest_meeting_activity |
datetime |
Latest Meeting Activity |
☐ |
|
prop_hs_likelihood_to_close |
decimal |
Likelihood to Close |
☐ |
|
prop_hs_line_item_global_term_hs_discount_percentage_enabled |
boolean |
Line Item Globel Term Discount Percentage Enabled |
☐ |
|
prop_hs_line_item_global_term_hs_discount_percentage |
string |
Line Item Globel Term Discount Percentage |
☐ |
|
prop_hs_line_item_global_term_hs_recurring_billing_period_enabled |
boolean |
Line Item Global Term Recurring Billing Period Enabled |
☐ |
|
prop_hs_line_item_global_term_hs_recurring_billing_period |
string |
Line Item Global Term Recurring Billing Period |
☐ |
|
prop_hs_line_item_global_term_hs_recurring_billing_start_date_enabled |
boolean |
Line Item Global Term Recurring Billing Start Date Enabled |
☐ |
|
prop_hs_line_item_global_term_hs_recurring_billing_start_date |
string |
Line Item Global Term Recurring Billing Start Date |
☐ |
|
prop_hs_line_item_global_term_recurringbillingfrequency_enabled |
boolean |
Line Item Global Term Billing Frequency Enabled |
☐ |
|
prop_hs_line_item_global_term_recurringbillingfrequency |
string |
Line Item Global Term Billing Frequency |
☐ |
|
prop_hs_manual_forecast_category |
string |
Manual Forecast Category |
☐ |
|
prop_hs_merged_object_ids |
string |
Merged Object IDs |
☐ |
|
prop_hs_mrr |
decimal |
Monthly Recurring Revenues |
☐ |
|
prop_hs_next_step_updated_at |
datetime |
{res:itgen_hubspot_prop_hs_next_step_updated_at} |
☐ |
|
prop_hs_next_step |
string |
Next Step |
☐ |
|
prop_hs_notes_next_activity_type |
string |
{res:itgen_hubspot_prop_hs_notes_next_activity_type} |
☐ |
|
prop_hs_num_of_associated_line_items |
decimal |
Number of Associated Line Items |
☐ |
|
prop_hs_num_target_accounts |
decimal |
Number of Target Accounts |
☐ |
|
prop_hs_object_id |
decimal |
Object ID |
☐ |
|
prop_hs_object_source_detail_1 |
string |
{res:itgen_hubspot_prop_hs_object_source_detail_1} |
☐ |
|
prop_hs_object_source_detail_2 |
string |
{res:itgen_hubspot_prop_hs_object_source_detail_2} |
☐ |
|
prop_hs_object_source_detail_3 |
string |
{res:itgen_hubspot_prop_hs_object_source_detail_3} |
☐ |
|
prop_hs_object_source_id |
string |
{res:itgen_hubspot_prop_hs_object_source_id} |
☐ |
|
prop_hs_object_source_label |
string |
{res:itgen_hubspot_prop_hs_object_source_label} |
☐ |
|
prop_hs_object_source_user_id |
decimal |
{res:itgen_hubspot_prop_hs_object_source_user_id} |
☐ |
|
prop_hs_object_source |
string |
{res:itgen_hubspot_prop_hs_object_source} |
☐ |
|
prop_hs_open_deal_create_date |
decimal |
{res:itgen_hubspot_prop_hs_open_deal_create_date} |
☐ |
|
prop_hs_pinned_engagement_id |
decimal |
Pinned Engagement ID |
☐ |
|
prop_hs_predicted_amount_in_home_currency |
decimal |
Predicted Amount in Company Currency |
☐ |
|
prop_hs_predicted_amount |
decimal |
Predicted Amount |
☐ |
|
prop_hs_priority |
string |
Priority |
☐ |
|
prop_hs_projected_amount_in_home_currency |
decimal |
Projected Amount in Company Currency |
☐ |
|
prop_hs_projected_amount |
decimal |
Projected Amount |
☐ |
|
prop_hs_read_only |
boolean |
Read-only |
☐ |
|
prop_hs_sales_email_last_replied |
datetime |
Sales Email Last Replied |
☐ |
|
prop_hs_tcv |
decimal |
Total Contract Value |
☐ |
|
prop_hs_time_in_appointmentscheduled |
decimal |
Time in Appointment Scheduled |
☐ |
|
prop_hs_time_in_closedlost |
decimal |
Time in Closed Lost |
☐ |
|
prop_hs_time_in_closedwon |
decimal |
Time in Closed Won |
☐ |
|
prop_hs_time_in_contractsent |
decimal |
Time in Contract Sent |
☐ |
|
prop_hs_time_in_decisionmakerboughtin |
decimal |
Time in Decisionmaker Bought-in |
☐ |
|
prop_hs_time_in_presentationscheduled |
decimal |
Time in Presentation Scheduled |
☐ |
|
prop_hs_time_in_qualifiedtobuy |
decimal |
Time in Qualified to Buy |
☐ |
|
prop_hs_unique_creation_key |
string |
Unique Creation Key |
☐ |
|
prop_hs_updated_by_user_id |
decimal |
Updated by User ID |
☐ |
|
prop_hs_user_ids_of_all_notification_followers |
string |
User IDs of All Notification Followers |
☐ |
|
prop_hs_user_ids_of_all_notification_unfollowers |
string |
User IDs of All Notification Unfollowers |
☐ |
|
prop_hs_user_ids_of_all_owners |
string |
User IDs of All Owners |
☐ |
|
prop_hs_was_imported |
boolean |
Was Imported |
☐ |
|
prop_hubspot_owner_assigneddate |
datetime |
Owner Assigned Date |
☐ |
|
prop_hubspot_owner_id |
string |
Owner ID |
☐ |
|
prop_hubspot_team_id |
string |
Team ID |
☐ |
|
prop_notes_last_contacted |
datetime |
Notes Last Contacted |
☐ |
|
prop_notes_last_updated |
datetime |
Notes Last Updated |
☐ |
|
prop_notes_next_activity_date |
datetime |
Notes Next Activity Date |
☐ |
|
prop_num_associated_contacts |
decimal |
Number of Associated Contacts |
☐ |
|
prop_num_contacted_notes |
decimal |
Number of Contacted Notes |
☐ |
|
prop_num_notes |
decimal |
Number of Notes |
☐ |
|
prop_pipeline |
string |
Pipeline |
☐ |
|
updatedAt |
datetime |
Updated at |
☐ |
|
18-12-2024 20:09 Version 24.1.33-BETA+5180