Volver al catálogo

HubSpot

hubspot

HubSpot is an inbound marketing, sales, and customer service platform integrating CRM, email automation, and analytics to facilitate lead nurturing and seamless customer experiences

Acciones
304
Triggers
2
Autenticación
—
OAuth gestionado
Sí
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (304)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Add asset associationHUBSPOT_ADD_ASSET_ASSOCIATIONAcción

Associates an existing asset ('form', 'object list', or 'external web url') with a specified hubspot marketing campaign.

Parámetros de entrada

  • assetIdstringObligatorio

    The unique identifier of the asset to be associated with the campaign. This ID is specific to the `assetType` (e.g., a form ID, list ID, or external URL ID).

  • assetTypestringObligatorio

    Type of asset to associate with the campaign. Supported types: 'FORM', 'OBJECT_LIST' (Static List), 'EXTERNAL_WEB_URL' (External Website Page).

  • campaignGuidstringObligatorio

    The unique identifier (UUID) of the HubSpot campaign to which the asset will be associated.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response, often detailing the asset's association with the campaign or confirming the success of the operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Add token to event templateHUBSPOT_ADD_TOKEN_TO_EVENT_TEMPLATEAcción

Adds a new custom data token to an existing event template for a specified hubspot application, optionally populating a crm object property if objectpropertyname is provided.

Parámetros de entrada

  • namestringObligatorio

    The internal name of the token, used for referencing it within templates. Must be unique for this event template. Allowed characters: alphanumeric, periods (.), dashes (-), or underscores (_).

  • typestringObligatorioenum

    The data type of the token. Determines how the token's value is stored and validated.

    dateenumerationnumberstring
  • appIdintegerObligatorio

    Numeric identifier of the target application associated with the event template. Provided in the URL path.

  • labelstringObligatorio

    The user-facing label for the token. This label is used for list segmentation and in reporting.

  • optionsobject[]

    A list of options for the token, required and applicable only if the token `type` is 'enumeration'. Each option must have a 'label' and a 'value'.

  • createdAtstringdate-time

    The creation date and time of the event template token in ISO 8601 format (e.g., '2023-01-15T10:30:00Z'). This field is nullable and will be null if the template was created before February 18th, 2020.

  • updatedAtstringdate-time

    The date and time the event template token was last updated, in ISO 8601 format (e.g., '2023-01-16T14:45:00Z'). This field is nullable and will be null if the template was updated before February 18th, 2020.

  • eventTemplateIdstringObligatorio

    Unique identifier of the event template. Provided in the URL path.

  • objectPropertyNamestring

    The name of an existing CRM object property (e.g., 'dealstage', 'lifecyclestage'). If provided, this token will populate the specified CRM object property associated with the event. This allows for building or updating CRM objects through the Timeline API.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full details of the newly created event template token.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive emailHUBSPOT_ARCHIVEAcción

Archives the hubspot email specified by `emailid` by moving it to the recycling bin, making it inaccessible unless restored.

Parámetros de entrada

  • emailIdstringObligatorio

    Identifier of the email to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive a batch of emails by IDHUBSPOT_ARCHIVE_A_BATCH_OF_EMAILS_BY_IDAcción

Archives multiple hubspot crm emails by id; ids must exist as archiving is irreversible.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of input objects, each specifying the ID of an email to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch archive operation. The content may vary, typically providing status information for the archived emails or details of any errors encountered during the process.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive a batch of quotes by idHUBSPOT_ARCHIVE_A_BATCH_OF_QUOTES_BY_IDAcción

Archives a batch of existing, non-archived quotes by their ids; this action is irreversible and useful for managing outdated or irrelevant quotes.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, where each object contains the ID of a quote to be archived.

Parámetros de salida

  • dataobjectObligatorio

    Status of the batch archive operation; a 204 No Content response (empty dictionary or success indicator) is typical for success, while partial successes or failures may include detailed statuses for each quote.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of companies by idHUBSPOT_ARCHIVE_BATCH_OF_COMPANIES_BY_IDAcción

Archives a batch of companies by their unique ids; targeted companies must exist, not be previously archived, and this api operation is irreversible.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of company objects, where each object contains the 'id' of a company to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch archive operation. If all operations are successful (HTTP 200), this may be empty or provide a success confirmation. In case of partial success or failures (HTTP 207 Multi-Status), it typically includes details on the status of each archival attempt.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of contacts by idHUBSPOT_ARCHIVE_BATCH_OF_CONTACTS_BY_IDAcción

Archives a batch of existing contacts by their hubspot crm ids, rendering them inactive; this action is irreversible via the api and requires manual restoration or a separate unarchive endpoint.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact objects, each specifying the ID of the contact to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data from the API. Typically, a successful request to this endpoint returns a 204 No Content response if the batch archive was successful, meaning this field might be empty or not present for successful operations. If there are errors, this field may contain details about them.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of deals by idHUBSPOT_ARCHIVE_BATCH_OF_DEALS_BY_IDAcción

Archives a batch of existing deals by their unique hubspot ids, removing them from active views and reports (soft delete); archived deals may be restorable.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of deals to archive, each specified by its unique 'id'.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the batch archive operation. The structure of this dictionary can vary. Note that a fully successful batch archive often results in a 204 No Content HTTP status, meaning no response body is returned and this field may not be populated.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of feedback submissions by idHUBSPOT_ARCHIVE_BATCH_OF_FEEDBACK_SUBMISSIONS_BY_IDAcción

Asynchronously archives a batch of hubspot feedback submissions using their unique ids, which must correspond to valid and existing submissions; the operation is queued, and submissions are moved from active views without being deleted.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, where each object contains the 'id' of a feedback submission to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing details of the batch archive request's acceptance. Since the operation is asynchronous, this response typically confirms that the batch archival task has been queued for processing, potentially including a status like 'PENDING' or a job identifier.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of line items by idHUBSPOT_ARCHIVE_BATCH_OF_LINE_ITEMS_BY_IDAcción

Archives a batch of existing line items by their unique ids in hubspot crm; this operation is irreversible via the api.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, where each object contains the 'id' of a line item to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that may contain results or errors if the API provides a response body. For successful 204 No Content responses, this field is typically absent or the response body is empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of objects by idHUBSPOT_ARCHIVE_BATCH_OF_OBJECTS_BY_IDAcción

Archives a batch of existing, non-archived crm objects of a specified `objecttype` by their ids, effectively hiding them from active use.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of input objects, where each object contains the 'id' of a CRM record to be archived.

  • objectTypestringObligatorio

    The type of CRM object to archive (e.g., 'contacts', 'companies', 'deals', 'tickets').

Parámetros de salida

  • dataobjectObligatorio

    Details from the batch archive operation; may be empty for a successful operation (HTTP 204) or contain individual error/status information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of propertiesHUBSPOT_ARCHIVE_BATCH_OF_PROPERTIESAcción

Archives a batch of properties by their internal names for a specified hubspot crm object type; this operation is idempotent and safe to retry.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of properties to archive, each specified by its internal `name`.

  • objectTypestringObligatorio

    The HubSpot CRM object type for which properties are being archived.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing data returned by the batch archive operation; structure and content may vary.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch of tickets by idHUBSPOT_ARCHIVE_BATCH_OF_TICKETS_BY_IDAcción

Archives a batch of existing, unarchived hubspot crm tickets by their unique ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of tickets to archive, each identified by its ID.

Parámetros de salida

  • dataobjectObligatorio

    Details about the batch archive operation; specific contents may vary but reflect the outcome.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive batch products by idHUBSPOT_ARCHIVE_BATCH_PRODUCTS_BY_IDAcción

Archives a batch of existing, unarchived hubspot products by their ids; this action is irreversible via the api.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of products to be archived, each specified by its unique 'id'.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive companyHUBSPOT_ARCHIVE_COMPANYAcción

Archives an existing company in hubspot crm by its `companyid`, moving it to a recycling bin from which it can be restored, rather than permanently deleting it.

Parámetros de entrada

  • companyIdstringObligatorio

    The system-generated unique identifier for the company to archive, obtainable from other HubSpot API endpoints.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive contact by idHUBSPOT_ARCHIVE_CONTACT_BY_IDAcción

Archives a contact in hubspot crm by its id, moving it to the recycling bin; this is generally irreversible via api and removes the contact from active use.

Parámetros de entrada

  • contactIdstringObligatorio

    Unique HubSpot CRM identifier (typically numeric or UUID) for the contact to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive a CRM object by IDHUBSPOT_ARCHIVE_CRM_OBJECT_BY_IDAcción

Archives a specific hubspot crm object by its type and id, moving it to the recycling bin; this action is irreversible via the api but objects can often be restored via the hubspot ui.

Parámetros de entrada

  • objectIdstringObligatorio

    The unique identifier for the CRM object to be archived. This ID must correspond to an existing object of the specified `objectType`. The format is typically a string of numbers or a UUID. Ensure the correct ID is provided as this operation is irreversible via the API.

  • objectTypestringObligatorio

    The type of CRM object to be archived. This value is case-sensitive, must be a valid HubSpot CRM object type (e.g., contacts, companies, deals, quotes), and should be provided in lowercase plural form (e.g., 'contacts', not 'Contact').

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive emailsHUBSPOT_ARCHIVE_EMAILSAcción

Archives multiple hubspot emails by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of email objects to be archived.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive feedback submissionHUBSPOT_ARCHIVE_FEEDBACK_SUBMISSIONAcción

Archives an existing, non-archived feedback submission in hubspot crm by its id, moving it to the recycling bin (not permanently deleting it).

Parámetros de entrada

  • feedbackSubmissionIdstringObligatorio

    The unique identifier of an existing Feedback Submission in HubSpot CRM to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that may contain data related to the outcome of the archive operation. For successful archive operations (which typically return an HTTP 204 No Content status), this field might be empty or not applicable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive line item by idHUBSPOT_ARCHIVE_LINE_ITEM_BY_IDAcción

Archives a specific hubspot line item by its id, moving it to a recoverable state.

Parámetros de entrada

  • lineItemIdstringObligatorio

    The unique identifier of the existing line item in HubSpot CRM to be archived.

Parámetros de salida

  • dataobjectObligatorio

    Usually an empty dictionary upon successful archival.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive productHUBSPOT_ARCHIVE_PRODUCTAcción

Archives a hubspot product by its id.

Parámetros de entrada

  • productIdstringObligatorio

    Unique HubSpot identifier for the product to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive product by product IDHUBSPOT_ARCHIVE_PRODUCT_BY_PRODUCT_IDAcción

Archives an existing product in hubspot crm by its `productid`, moving it to an archived state (irreversible via api) to remove it from active use while retaining its data.

Parámetros de entrada

  • productIdstringObligatorio

    The unique identifier of an existing product in your HubSpot product catalog to be archived.

Parámetros de salida

  • dataobject

    Response data from the API; typically empty for a successful archival (204 No Content), but may contain details in case of an error.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive productsHUBSPOT_ARCHIVE_PRODUCTSAcción

Archives multiple hubspot products by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of product objects to be archived.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive property by object type and nameHUBSPOT_ARCHIVE_PROPERTY_BY_OBJECT_TYPE_AND_NAMEAcción

Archives a specified crm property by its object type and name, moving it to the recycling bin; note that some default hubspot properties cannot be archived.

Parámetros de entrada

  • objectTypestringObligatorio

    The case-sensitive type of CRM object (e.g., 'contacts', 'companies') for which the property is being archived; must match an existing object type.

  • propertyNamestringObligatorio

    The case-sensitive internal name of the property to archive (e.g., 'custom_field_1', 'annual_revenue').

Parámetros de salida

  • dataobjectObligatorio

    Empty dictionary, as the API returns 204 No Content on successful archival.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive property groupHUBSPOT_ARCHIVE_PROPERTY_GROUPAcción

Archives a hubspot property group, making it inactive and hidden (not permanently deleted, allowing potential restoration) with immediate effect on its crm visibility and usability.

Parámetros de entrada

  • groupNamestringObligatorio

    The unique internal name of the property group you want to archive. This name is case-sensitive and must exactly match an existing property group's name within the specified `objectType`.

  • objectTypestringObligatorio

    The specific CRM object type (e.g., 'contacts', 'companies', 'deals', or custom object types) that the property group belongs to. This value must be in lowercase and match an existing object type definition in your HubSpot account.

Parámetros de salida

  • dataobjectObligatorio

    Contains API response data; typically empty for a successful archive operation (HTTP 204 No Content response).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive quote object by idHUBSPOT_ARCHIVE_QUOTE_OBJECT_BY_IDAcción

Archives a hubspot quote object by id to the recycling bin; this is api-irreversible and may need manual restoration.

Parámetros de entrada

  • quoteIdstringObligatorio

    The unique identifier (ID) of an existing Quote object in HubSpot CRM to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive ticketHUBSPOT_ARCHIVE_TICKETAcción

Archives a hubspot ticket by its id.

Parámetros de entrada

  • ticketIdstringObligatorio

    Unique HubSpot identifier for the ticket to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive ticket by idHUBSPOT_ARCHIVE_TICKET_BY_IDAcción

Archives an existing hubspot ticket by its id, moving it to the recycling bin; this is a permanent operation not undoable via the api.

Parámetros de entrada

  • ticketIdstringObligatorio

    The unique identifier of an existing HubSpot ticket to be archived.

Parámetros de salida

  • dataobject

    The response data. For a successful ticket archival (HTTP 204 No Content), this dictionary will typically be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive ticketsHUBSPOT_ARCHIVE_TICKETSAcción

Archives multiple hubspot tickets by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of ticket objects to be archived.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Audit pipeline changes by idHUBSPOT_AUDIT_PIPELINE_CHANGES_BY_IDAcción

Retrieves a reverse chronological audit log of all changes for a specific, existing hubspot crm pipeline, which is identified by its `pipelineid` and a valid `objecttype` that supports pipelines (e.g., 'deals', 'tickets').

Parámetros de entrada

  • objectTypestringObligatorio

    The HubSpot CRM object type that has pipelines (e.g., 'deals', 'tickets'); determines the pipeline's context. Must be a valid, case-sensitive object type.

  • pipelineIdstringObligatorio

    The unique identifier of an existing pipeline within the specified `objectType` for which to retrieve the audit history.

Parámetros de salida

  • dataobjectObligatorio

    Details all changes (mutations) to the pipeline in reverse chronological order.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch read companies by propertiesHUBSPOT_BATCH_READ_COMPANIES_BY_PROPERTIESAcción

Batch-retrieves hubspot company records by their ids, allowing custom id properties, specific properties to fetch, and historical data.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of company identifiers to retrieve. Each `id` within an input object corresponds to the value of the property specified in `idProperty`.

  • archivedboolean

    If true, returns only archived company records; otherwise (default), returns active, non-archived companies.

  • idPropertystring

    Property name to use as the unique identifier for companies in `inputs`. If not provided, HubSpot's default company ID (`hs_object_id`) is used.

  • propertiesstring[]Obligatorio

    List of company property names to retrieve. If omitted, a default set of properties is returned.

  • propertiesWithHistorystring[]Obligatorio

    List of company property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary of batch read results: keys are requested company IDs, values are company objects with their properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read Batch EmailsHUBSPOT_BATCH_READ_EMAILS_ACTIONAcción

Retrieves a batch of hubspot email objects by their internal ids or values of a specified unique property, allowing targeted property selection, including historical data.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, where each object specifies an email to be retrieved. Each object must contain an `id` field identifying the email.

  • archivedboolean

    Whether to include archived emails in the results. If `True`, only archived emails are returned; if `False`, archived emails are excluded.

  • idPropertystring

    The name of a unique property to be used for identifying the emails specified in the `inputs` list. If omitted, the system defaults to using the HubSpot email ID (`hs_object_id` or `id`). When specified, ensure the `id` values within the `inputs` list correspond to the values of this unique property for the respective emails.

  • propertiesstring[]Obligatorio

    Email property internal names to return for each email; if omitted, default properties are returned. Specifying properties can optimize response size and processing.

  • propertiesWithHistorystring[]Obligatorio

    Email property internal names for which all historical values should be retrieved; requesting history for many properties can impact performance.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary where keys are the input identifiers (the `id` from each item in the `inputs` list) and values are the corresponding email objects. Each email object includes the properties specified in the request. If an email ID is not found or an error occurs for a specific email, it might be absent from the results or handled as per HubSpot's batch API error reporting.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Batch update quotesHUBSPOT_BATCH_UPDATE_QUOTESAcción

Updates multiple existing hubspot quotes in a batch; each quote is identified by its object id or a custom unique property (via `idproperty`), and only writable properties are modified.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of `InputsRequest` objects, each specifying a quote to update and its new property values.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing results of the batch update, including status for each quote (e.g., success, failure) and any updated quote information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Campaign searchHUBSPOT_CAMPAIGN_SEARCHAcción

Searches for and retrieves a paginated list of hubspot marketing campaigns.

Parámetros de entrada

  • namestring

    Filter by campaign name using a partial substring match. If omitted, no name filtering is applied.

  • sortstring

    Allowed values: `hs_name`, `createdAt`, `updatedAt`. Prefix field name with `-` for descending order. Defaults to `hs_name` if unspecified.

  • afterstring

    Pagination cursor to retrieve the next set of results, typically obtained from a previous response's 'paging' object.

  • limitinteger

    Maximum number of campaigns per page. Allowed range: 1-100. Defaults to 50 if unspecified.

  • propertiesstring[]

    List of campaign property names to return. If a property value is empty for a campaign, it is omitted from that campaign's data in the response. An empty list input may result in an empty 'properties' map in the response.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the HubSpot API. Typically includes a 'results' list of campaign objects and a 'paging' object for pagination. Campaign objects in 'results' contain the requested properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Cancel active importHUBSPOT_CANCEL_ACTIVE_IMPORTAcción

Cancels an active hubspot data import job using its `importid`; this action is irreversible, and any data already processed will remain.

Parámetros de entrada

  • importIdintegerObligatorio

    The unique identifier for the active HubSpot import job to be cancelled; must correspond to an import job currently in progress.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. Typically, this includes a confirmation or status update regarding the cancellation of the import job.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Clone marketing emailHUBSPOT_CLONE_MARKETING_EMAILAcción

Duplicates an existing hubspot marketing email, identified by its `id`, into a new draft; an optional `clonename` can be assigned to this new email copy.

Parámetros de entrada

  • idstringObligatorio

    The unique identifier of the existing marketing email to be cloned.

  • cloneNamestring

    The name for the newly cloned marketing email. If not provided, HubSpot may assign a default name (e.g., 'Copy of [Original Email Name]').

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the full object of the newly cloned marketing email, including its new ID, name, content, and other properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Configure calling extension settingsHUBSPOT_CONFIGURE_CALLING_EXTENSION_SETTINGSAcción

Configures or updates settings for a hubspot app's calling extension, including its name, ui url, iframe dimensions, `isready` status, and `supportscustomobjects` flag, for the specified `appid`.

Parámetros de entrada

  • urlstringObligatorio

    Publicly accessible HTTPS URL for the phone/calling UI, which should be built using the HubSpot Calling SDK.

  • namestringObligatorio

    Display name for the calling service in the HubSpot interface.

  • appIdintegerObligatorio

    Unique identifier for the target HubSpot app whose calling extension settings are being configured.

  • widthinteger

    Target width in pixels for the iframe embedding the calling UI.

  • heightinteger

    Target height in pixels for the iframe embedding the calling UI.

  • isReadyboolean

    If `true`, the calling service appears as an option under the 'Call' action in contact records; `false` hides it.

  • supportsCustomObjectsboolean

    Specifies if the service is compatible with HubSpot's engagement v2 service and custom objects.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the updated settings of the configured calling extension, confirming the changes applied.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create emailHUBSPOT_CREATEAcción

Creates a new email engagement record in hubspot, requiring portal-specific `properties` (e.g., `hs timestamp` as a utc millisecond timestamp), and that association `to id`s and `associationtypeid`s are valid and existing.

Parámetros de entrada

  • propertiesobjectObligatorio

    A dictionary of key-value pairs representing the properties of the email. Essential properties include `hs_email_subject`, `hs_email_html` (for the email body), `hs_timestamp` (UTC millisecond timestamp of when the email was sent or will be sent), and potentially `hubspot_owner_id`, `hs_email_direction`, `hs_email_status`.

  • associationsobject[]Obligatorio

    A list of associations to link this email with other CRM objects. Each association specifies the target object's ID (`to_id`) and the nature of the relationship (`types`).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties of the newly created email object, including its unique ID (e.g., `id`) and other attributes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a batch of campaignsHUBSPOT_CREATE_A_BATCH_OF_CAMPAIGNSAcción

Creates up to 50 marketing campaigns in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of campaign objects to be created in a batch, each defining a new campaign and its properties.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a batch of companiesHUBSPOT_CREATE_A_BATCH_OF_COMPANIESAcción

Creates multiple company records in hubspot crm in a single batch operation, processing up to 100 companies per request.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of company objects to create, each defining properties and associations. Maximum of 100 companies per batch.

Parámetros de salida

  • dataobjectObligatorio

    The raw response data from the API detailing the outcome of the batch creation request. This typically includes a list of the created company objects and may also contain information about any errors encountered for companies that failed to create.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of contactsHUBSPOT_CREATE_A_BATCH_OF_CONTACTSAcción

Deprecated: use the `create batch of contacts` action instead. creates multiple hubspot contact records.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact creation requests. Each object in the list defines the properties and associations for a single new contact. Up to 100 contacts can be created in a single batch request. For example: [ { "associations": [ { "types": [ { "associationCategory": "HUBSPOT_DEFINED", "associationTypeId": 1 } ], "to": { "id": "25496222837" } } ], "properties": { "email": "new.contact@example.com", "firstname": "John", "lastname": "Doe", "company": "Example Corp" } } ]

Parámetros de salida

  • dataobjectObligatorio

    The response from the HubSpot API. This typically includes a 'status' field (e.g., 'COMPLETE'), a 'results' list with details for each created contact, and 'startedAt'/'completedAt' timestamps. If errors occurred, 'errors' may also be present.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a batch of emailsHUBSPOT_CREATE_A_BATCH_OF_EMAILSAcción

Creates multiple email objects for record-keeping (does not send emails) within hubspot crm in a single batch, allowing properties and associations to other crm objects to be set for each email.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of email objects to create, each defining its properties and associations.

Parámetros de salida

  • dataobjectObligatorio

    Response data, including creation status and details of created email objects.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create A/B test variationHUBSPOT_CREATE_AB_TEST_VARIATIONAcción

Creates a new a/b test variation for an existing hubspot email, using its `contentid`; this action only creates the variation, it does not start the a/b test or send emails.

Parámetros de entrada

  • contentIdstringObligatorio

    The ID of the original email content to use as a template for the new variation.

  • variationNamestringObligatorio

    A unique name for the new A/B test variation.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a campaignHUBSPOT_CREATE_A_CAMPAIGNAcción

Creates a new marketing campaign in hubspot with the specified properties, returning the created campaign data including its `campaignguid`.

Parámetros de entrada

  • propertiesobjectObligatorio

    A dictionary of properties for the new campaign. Common properties include 'name', 'campaign_goal', and 'is_ab_test'.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new property groupHUBSPOT_CREATE_AND_RETURN_A_NEW_PROPERTY_GROUPAcción

Creates a new, empty property group for a specified crm object type in hubspot, requiring a unique group name for that object type; properties must be added separately.

Parámetros de entrada

  • namestringObligatorio

    The unique internal programmatic name for the property group within the specified `objectType`, used for API referencing.

  • labelstringObligatorio

    Human-readable label for the property group, displayed in the HubSpot UI.

  • objectTypestringObligatorio

    The CRM object type for which the property group will be created.

  • displayOrderinteger

    Order in which the group appears in the HubSpot UI. Positive values are sorted ascendingly; -1 places it after groups with positive `displayOrder`. If unspecified, the group is added at the end.

Parámetros de salida

  • dataobjectObligatorio

    The newly created property group object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create a new marketing emailHUBSPOT_CREATE_A_NEW_MARKETING_EMAILAcción

Creates a new marketing email in hubspot, allowing comprehensive configuration of content, recipients, sender details, a/b testing, scheduling, web version, and other settings; the internal `name` for the email is required.

Parámetros de entrada

  • namestringObligatorio

    Internal name of the email, as displayed on the HubSpot email dashboard.

  • statestringenum

    Current state of the email (e.g., DRAFT, SCHEDULED, PUBLISHED).

    AUTOMATEDAUTOMATED_DRAFTAUTOMATED_SENDINGAUTOMATED_FOR_FORMAUTOMATED_FOR_FORM_BUFFERAUTOMATED_FOR_FORM_DRAFTAUTOMATED_FOR_FORM_LEGACYBLOG_EMAIL_DRAFTBLOG_EMAIL_PUBLISHEDDRAFTDRAFT_ABDRAFT_AB_VARIANT+19
  • subjectstring

    The subject line of the marketing email.

  • archivedboolean

    True if the email is archived (typically hidden from main dashboard view).

  • campaignstring

    ID (GUID) of the associated HubSpot campaign for tracking/reporting.

  • languagestringenum

    Primary language of the email content.

    afaf-naaf-zaagqagq-cmakak-ghamam-etarar-001ar-ae+742
  • publishDatestringdate-time

    Scheduled ISO 8601 date-time for email publication or sending.

  • subcategorystring

    Email subcategory for internal organization or specific types (e.g., 'newsletter').

  • activeDomainstring

    Domain for sending the email; must be a connected and verified HubSpot sending domain.

  • rssData__urlstring

    URL of the RSS feed for email content. Must be valid and accessible if using RSS features.

  • from__replyTostring

    Primary 'From' and reply-to email address, unless `from__customReplyTo` is used.

  • sendOnPublishboolean

    True to send email immediately on publish; false to publish without sending until triggered/scheduled.

  • businessUnitIdstring

    The ID of the business unit this email is associated with, if applicable.

  • from__fromNamestring

    Sender name appearing in the 'From' field of the received email.

  • rssData__timingobject

    A dictionary specifying the timing and scheduling details for sending RSS emails (e.g., specific day/time for weekly sends).

  • testing__testIdstring

    The unique identifier for the A/B test associated with this email.

  • content__widgetsobject

    Dictionary of widgets (e.g., text, images, CTAs) and their configurations for email content.

  • feedbackSurveyIdstring

    The ID of the feedback survey linked to the email.

  • webversion__slugstring

    Custom URL slug for the email's web version (e.g., 'july-newsletter').

  • testing__abStatusstringenum

    Current A/B test status for this email (e.g., master, variant).

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__titlestring

    Browser tab title for the email's web version.

  • content__flexAreasobject

    Dictionary defining content and layout of flexible, customizable areas in the email template.

  • webversion__domainstring

    Domain for the email's web version; defaults to HubSpot domain if unspecified.

  • from__customReplyTostring

    Custom reply-to email address, overrides main 'Reply To' if set.

  • rssData__blogLayoutstring

    Specifies the layout to be used for the blog RSS email.

  • rssData__maxEntriesinteger

    The maximum number of blog posts (RSS entries) to include in a single RSS email.

  • content__smartFieldsobject

    Dictionary of smart fields for email personalization based on contact properties.

  • testing__hoursToWaitinteger

    Hours to wait for A/B test results before sending the winning version to remaining recipients.

  • to__suppressGraymailboolean

    True to not send to contacts identified by HubSpot as 'graymail' (low engagement).

  • content__templatePathstring

    Path to the email template in HubSpot Design Manager.

  • webversion__expiresAtstringdate-time

    ISO 8601 date-time when the web version expires and becomes inaccessible.

  • rssData__blogEmailTypestring

    The type of blog email, which determines send frequency (e.g., instant, daily, weekly).

  • rssData__hubspotBlogIdstring

    The ID of the HubSpot blog to be used for the RSS email.

  • to__limitSendFrequencyboolean

    True to apply HubSpot's send frequency limits, preventing over-mailing.

  • to__contactIds__excludestring[]

    List of specific contact IDs to explicitly exclude, even if in included lists.

  • to__contactIds__includestring[]

    List of specific contact IDs to include as recipients.

  • testing__abSuccessMetricstringenum

    Metric (e.g., CLICKS_BY_OPENS) to determine the A/B test winning version.

    CLICKS_BY_OPENSCLICKS_BY_DELIVEREDOPENS_BY_DELIVERED
  • content__plainTextVersionstring

    Plain text version of the email, for non-HTML clients or recipient preference.

  • content__widgetContainersobject

    Dictionary of widget containers for grouping and managing widgets in the email template.

  • rssData__rssEntryTemplatestring

    The HTML template for formatting each individual RSS entry within the email.

  • testing__abTestPercentageinteger

    Percentage of recipients in the A/B test group (e.g., 20 for 20%).

  • to__contactLists__excludestring[]

    List of contact list IDs whose members to explicitly exclude.

  • to__contactLists__includestring[]

    List of contact list IDs whose members to include as recipients.

  • webversion__redirectToUrlstring

    Custom URL for redirect if web version link is expired/deactivated.

  • rssData__blogImageMaxWidthinteger

    The maximum width for images included from the blog feed in the RSS email.

  • testing__abSamplingDefaultstringenum

    Default email version (master/variant) if A/B test is inconclusive after the test period.

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__metaDescriptionstring

    Meta description for the web version, used by search engines.

  • content__themeSettingsValuesobject

    Dictionary of theme settings values to customize email appearance.

  • testing__abSampleSizeDefaultstringenum

    Default email version (master/variant) if A/B test sample size is too small for significance.

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__redirectToPageIdstring

    ID of a HubSpot page for redirect if web version link is expired/deactivated.

  • rssData__useHeadlineAsSubjectboolean

    If true, the email subject will be automatically populated from the blog post headline for RSS emails.

  • subscriptionDetails__subscriptionIdstring

    ID of the specific subscription type (e.g., newsletter, product updates).

  • subscriptionDetails__officeLocationIdstring

    ID of the office location for CAN-SPAM compliance and personalization.

  • subscriptionDetails__preferencesGroupIdstring

    ID of the subscription preferences group for managing recipient preferences.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create association for object typeHUBSPOT_CREATE_ASSOCIATION_FOR_OBJECT_TYPEAcción

Creates the *definition* (schema) of a new association in hubspot, specifying how two crm object types relate (not an actual link between records); any provided `name` must be unique for the `fromobjecttypeid` and `toobjecttypeid` pair.

Parámetros de entrada

  • namestring

    Optional, user-defined unique name for the new association type (e.g., 'contact_to_company_custom'). If not supplied, HubSpot may generate a default.

  • objectTypestringObligatorio

    Fully qualified name (e.g., 'contacts') or object type ID (e.g., '2-12345') of the primary object schema for which the new association type is being defined.

  • toObjectTypeIdstringObligatorio

    Object type ID or fully qualified name (e.g., 'companies' or '0-2') for the 'to' side of the new association type, defining the target object in the relationship.

  • fromObjectTypeIdstringObligatorio

    Object type ID or fully qualified name (e.g., 'contacts' or '0-1') for the 'from' side of the new association type, defining the origin object in the relationship.

Parámetros de salida

  • dataobjectObligatorio

    Details of the newly created association type definition, including `fromObjectTypeId`, `toObjectTypeId`, `name`, and label.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of contactsHUBSPOT_CREATE_BATCH_OF_CONTACTSAcción

Creates up to 100 new contact records in hubspot crm, optionally associating them with existing crm objects; ensure associated object ids are valid.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact creation requests. Each object in the list defines the properties and associations for a single new contact. Up to 100 contacts can be created in a single batch request. For example: [ { "associations": [ { "types": [ { "associationCategory": "HUBSPOT_DEFINED", "associationTypeId": 1 } ], "to": { "id": "25496222837" } } ], "properties": { "email": "new.contact@example.com", "firstname": "John", "lastname": "Doe", "company": "Example Corp" } } ]

Parámetros de salida

  • dataobjectObligatorio

    The response from the HubSpot API. This typically includes a 'status' field (e.g., 'COMPLETE'), a 'results' list with details for each created contact, and 'startedAt'/'completedAt' timestamps. If errors occurred, 'errors' may also be present.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of dealsHUBSPOT_CREATE_BATCH_OF_DEALSAcción

Creates multiple deals in hubspot crm; ensure any associated object ids, deal stages, and pipeline ids specified are valid and exist within the hubspot account.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of deal objects to create, each defining its properties and associations with other CRM objects.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response, including results for each deal creation attempt.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of feedback submissionsHUBSPOT_CREATE_BATCH_OF_FEEDBACK_SUBMISSIONSAcción

Creates a batch of feedback submissions in hubspot, ideal for bulk imports; all property names, `associationtypeid`s, and association `to id`s must reference existing entities in hubspot.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of feedback submission objects to create. Each object defines the properties and associations for a new feedback submission.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch creation operation. This typically includes a list of created feedback submissions (often under a 'results' key), status information, and any errors that occurred for specific submissions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of line itemsHUBSPOT_CREATE_BATCH_OF_LINE_ITEMSAcción

Creates multiple hubspot line items in a batch, each with specified properties and associations to other existing crm objects.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of line items to create, each with its own properties and associations.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of objectsHUBSPOT_CREATE_BATCH_OF_OBJECTSAcción

Creates multiple crm objects of a specified `objecttype` (e.g., contacts, companies, deals) in a single batch operation, where each object can have its own set of properties and associations.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects to be created in batch. Each item in the list defines the properties and associations for a new object.

  • objectTypestringObligatorio

    The type of CRM object to create in batch (e.g., 'contacts', 'companies', 'deals', 'tickets', 'products', 'line_items', or a custom object ID). Must be a valid HubSpot CRM object type.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch creation. This typically includes a list of the created objects, possibly with their IDs, and any errors encountered for specific objects within the batch.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of propertiesHUBSPOT_CREATE_BATCH_OF_PROPERTIESAcción

Efficiently creates multiple crm properties in a single batch for a specified hubspot object type (e.g., 'contacts', 'companies', custom object id), ideal for schema setup or updates.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of definitions for the new properties to be created.

  • objectTypestringObligatorio

    Target HubSpot CRM object type (e.g., 'contacts', 'companies', 'deals', or custom object ID) for property creation.

Parámetros de salida

  • dataobjectObligatorio

    API response, usually a list of created properties with details, or status/error info for batch items.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of quotesHUBSPOT_CREATE_BATCH_OF_QUOTESAcción

Creates multiple hubspot crm quotes in a batch, ideal for bulk operations; provide meaningful quote details in `inputs` as property requirements can vary, and inspect response for individual quote statuses as partial success is possible.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of quote objects to be created. Each object in the list defines the properties and associations for a new quote.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create batch of ticketsHUBSPOT_CREATE_BATCH_OF_TICKETAcción

Creates multiple hubspot tickets in a batch, each with its own properties and associations; `inputs` list must not be empty, each item needs `properties`, and associations/custom properties must be validly defined using internal names for custom fields and iso 8601 for dates.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of ticket creation requests; each item defines one ticket with its properties and associations.

Parámetros de salida

  • dataobjectObligatorio

    Response from the HubSpot API, typically including 'status', 'results' (list of created tickets), 'errors', and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create campaignHUBSPOT_CREATE_CAMPAIGNAcción

Creates a new hubspot campaign.

Parámetros de entrada

  • namestringObligatorio

    Campaign name.

  • typestring

    Campaign type.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create campaignsHUBSPOT_CREATE_CAMPAIGNSAcción

Creates multiple hubspot campaigns in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of campaign objects to create.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create companyHUBSPOT_CREATE_COMPANYAcción

Creates a new hubspot company.

Parámetros de entrada

  • zipstring

    Company's postal code.

  • citystring

    City where the company is located.

  • namestring

    Company name.

  • typestring

    Type of company.

  • phonestring

    Company's primary phone number.

  • statestring

    State or region where the company is located.

  • domainstring

    Company's primary domain name.

  • addressstring

    Company street address.

  • countrystring

    Country where the company is located.

  • websitestring

    Company's website URL.

  • about_usstring

    Company description or about us information.

  • address2string

    Additional address information (suite, floor, etc.).

  • industrystring

    Industry the company operates in.

  • timezonestring

    Company's timezone.

  • is_publicstring

    Whether the company is publicly traded.

  • descriptionstring

    Brief description of the company.

  • associationsobject[]

    List of associations to create with other existing HubSpot objects.

  • founded_yearstring

    Year the company was founded.

  • annualrevenuestring

    Company's annual revenue.

  • lifecyclestagestring

    Current lifecycle stage of the company.

  • custom_propertiesobject

    Custom properties for the company.

  • numberofemployeesstring

    Number of employees in the company.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create company objectHUBSPOT_CREATE_COMPANY_OBJECTAcción

Creates a new company object in hubspot crm with specified properties and associations, returning the new company object.

Parámetros de entrada

  • zipstring

    The postal or ZIP code of the company.

  • citystring

    The city where the company is located.

  • namestring

    The name of the company.

  • typestring

    The type or category of the company.

  • phonestring

    The company's phone number.

  • statestring

    The state or region where the company is located.

  • domainstring

    The company's domain name.

  • addressstring

    The company's street address.

  • countrystring

    The country where the company is located.

  • websitestring

    The company's website URL.

  • about_usstring

    Detailed information about the company.

  • address2string

    Additional address information.

  • hs_scorestring

    The HubSpot score of the company.

  • industrystring

    The industry sector of the company.

  • timezonestring

    The timezone of the company's primary location.

  • is_publicstring

    Whether the company is publicly traded.

  • createdatestring

    The date when the company record was created.

  • descriptionstring

    A brief description of the company.

  • associationsobject[]

    Associations represent the relationships between objects and activities in the HubSpot CRM.

  • founded_yearstring

    The year the company was founded.

  • annualrevenuestring

    The annual revenue of the company.

  • twitterhandlestring

    The company's Twitter handle.

  • hs_lead_statusstring

    The lead status of the company in HubSpot.

  • lifecyclestagestring

    The lifecycle stage of the company.

  • parent_companystring

    The parent company, if applicable.

  • hubspot_owner_idstring

    The HubSpot owner ID associated with the company.

  • custom_propertiesobject

    Custom properties of the Contact object to be set. For example {`custom_property_1`: `value for custom property 1`, `custom_property_2`: `value for custom property 2`}.

  • numberofemployeesstring

    The number of employees in the company.

  • notes_last_updatedstring

    The date when the company notes were last updated.

  • hs_lastmodifieddatestring

    The date when the company record was last modified.

  • facebook_company_pagestring

    The company's Facebook page URL.

  • linkedin_company_pagestring

    The company's LinkedIn page URL.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create contactHUBSPOT_CREATE_CONTACTAcción

Creates a new hubspot contact.

Parámetros de entrada

  • faxstring

    The contact's fax number.

  • zipstring

    The contact's postal code or ZIP code.

  • citystring

    The city where the contact resides.

  • emailstring

    The primary email address of the contact. This is a unique identifier for contacts in HubSpot.

  • phonestring

    The contact's primary phone number (often a business phone).

  • photostring

    URL of the contact's photo or avatar.

  • statestring

    The state or region where the contact resides.

  • degreestring

    The contact's highest completed educational degree.

  • genderstring

    The contact's gender.

  • schoolstring

    The name of the school, college, or university the contact attended.

  • addressstring

    The contact's street address, including apartment or unit number.

  • companystring

    The name of the company the contact works for. If `associatedcompanyid` is set, this field might be auto-populated.

  • countrystring

    The country where the contact resides.

  • ip_citystring

    The city associated with the contact's IP address, often captured during their first website visit or form submission.

  • messagestring

    A free-text message or note often captured from a form submission's message field.

  • websitestring

    The URL of the contact's personal or company website.

  • industrystring

    The primary industry of the company the contact works for.

  • ip_statestring

    The state or region associated with the contact's IP address.

  • jobtitlestring

    The contact's job title.

  • lastnamestring

    The contact's last name.

  • closedatestring

    The date when the deal associated with this contact was closed. Expected format is a UTC timestamp in milliseconds.

  • firstnamestring

    The contact's first name.

  • ip_latlonstring

    The approximate latitude and longitude associated with the contact's IP address, typically in 'latitude,longitude' format.

  • num_notesstring

    The total number of notes logged on the contact's record.

  • ownernamestring

    The full name of the HubSpot user who owns this contact. Read-only.

  • senioritystring

    The contact's seniority level within their organization.

  • createdatestring

    The date and time when the contact record was created in HubSpot. This is a read-only property, typically a UTC timestamp.

  • ip_countrystring

    The country associated with the contact's IP address.

  • ip_zipcodestring

    The postal code or ZIP code associated with the contact's IP address.

  • owneremailstring

    The email address of the HubSpot user who owns this contact. Read-only, reflects the owner's primary email.

  • salutationstring

    The salutation for the contact (e.g., 'Mr.', 'Ms.', 'Dr.').

  • start_datestring

    The contact's start date, typically referring to their employment start date at their current company. Format can vary.

  • twitterbiostring

    The contact's biography from their Twitter profile.

  • work_emailstring

    The contact's work email address. This might be different from the primary `email` if that's a personal address.

  • linkedinbiostring

    The contact's biography from their LinkedIn profile.

  • mobilephonestring

    The contact's mobile phone number.

  • associationsobject[]

    List of associations to create with other existing HubSpot objects (e.g., companies, deals).

  • company_sizestring

    The size of the company the contact works for, often categorized (e.g., '1-10 employees', '501-1000 employees').

  • hubspotscorestring

    The contact's HubSpot lead score, calculated based on criteria defined in your HubSpot portal's scoring settings.

  • job_functionstring

    The contact's job function or department.

  • numemployeesstring

    The number of employees at the company the contact works for. This may differ from 'company_size' if manually entered or from a different source.

  • annualrevenuestring

    The annual revenue of the company the contact works for.

  • date_of_birthstring

    The contact's date of birth. Format can vary, but YYYY-MM-DD is common.

  • days_to_closestring

    The number of days it took to close the deal associated with this contact. This is usually calculated automatically.

  • followercountstring

    The number of followers the contact has on a specified social media platform (e.g., Twitter).

  • ip_state_codestring

    The state or region code associated with the contact's IP address (e.g., US state code).

  • total_revenuestring

    The total revenue generated from all closed-won deals associated with this contact.

  • twitterhandlestring

    The contact's Twitter username (handle), without the '@' symbol.

  • field_of_studystring

    The contact's primary field of study during their education.

  • lifecyclestagestring

    The contact's current stage in your sales and marketing funnel (e.g., 'Lead', 'Marketing Qualified Lead', 'Customer'). These stages are customizable in HubSpot.

  • marital_statusstring

    The contact's marital status.

  • graduation_datestring

    The contact's graduation date from their educational institution. Format can vary.

  • hs_all_team_idsstring

    A semicolon-separated list of all HubSpot Team IDs this contact is or has been associated with.

  • hubspot_team_idstring

    The ID of the HubSpot team that owns this contact.

  • ip_country_codestring

    The two-letter country code (ISO 3166-1 alpha-2) associated with the contact's IP address.

  • military_statusstring

    The contact's military status.

  • hs_all_owner_idsstring

    A semicolon-separated list of all HubSpot Owner IDs who have been assigned to this contact at some point.

  • hubspot_owner_idstring

    The ID of the HubSpot user who is the current owner of this contact.

  • lastmodifieddatestring

    The date and time when the contact record was last modified. This is a read-only property, UTC timestamp.

  • custom_propertiesobject

    A dictionary of custom properties to set for the contact. Keys are the internal names of your custom contact properties, and values are the data to set. Example: `{'custom_property_internal_name': 'value_for_custom_property'}`.

  • kloutscoregeneralstring

    The contact's general Klout score, if available and integrated. Klout was a service that rated social media influence.

  • notes_last_updatedstring

    The date and time when the notes on the contact record were last updated. UTC timestamp in milliseconds.

  • recent_deal_amountstring

    The amount of the most recent closed-won deal associated with this contact.

  • associatedcompanyidstring

    The ID of the primary company associated with this contact. This is a read-only property automatically updated when an association is made.

  • currentlyinworkflowstring

    Indicates whether the contact is currently active in any HubSpot workflow. Boolean value, 'true' or 'false'.

  • hs_all_contact_vidsstring

    A semicolon-separated list of all HubSpot Contact VID (Visitor ID) values associated with this contact, typically used for merging contacts.

  • hs_analytics_sourcestring

    The original source that generated the contact (e.g., 'Organic Search', 'Paid Social', 'Referrals').

  • linkedinconnectionsstring

    The number of LinkedIn connections the contact has.

  • num_contacted_notesstring

    The number of notes on the contact record that relate to being contacted (e.g., call logs, meeting notes).

  • relationship_statusstring

    The contact's self-reported relationship status.

  • twitterprofilephotostring

    URL of the contact's Twitter profile photo.

  • hs_additional_emailsstring

    A semicolon-separated list of additional email addresses for the contact.

  • hs_analytics_revenuestring

    Revenue attributed to this contact through HubSpot's analytics or e-commerce integrations. This is often a sum of closed-won deal amounts associated with the contact.

  • notes_last_contactedstring

    The date and time the contact was last contacted, based on logged activities like calls, emails, or meetings. UTC timestamp in milliseconds.

  • num_associated_dealsstring

    The total number of deals currently associated with this contact.

  • first_conversion_datestring

    The date and time of the contact's first conversion (e.g., form submission). UTC timestamp.

  • hs_analytics_last_urlstring

    The last URL on your website that the contact visited.

  • num_conversion_eventsstring

    The total number of conversion events (e.g., form submissions, CTA clicks) attributed to this contact.

  • hs_analytics_first_urlstring

    The first URL on your website that the contact visited.

  • recent_conversion_datestring

    The date and time of the contact's most recent conversion event. UTC timestamp.

  • recent_deal_close_datestring

    The close date of the most recent closed-won deal associated with this contact. UTC timestamp in milliseconds.

  • first_deal_created_datestring

    The date and time when the first deal was created for this contact. UTC timestamp.

  • hs_analytics_num_visitsstring

    The total number of sessions (visits) the contact has had on your website.

  • webinareventlastupdatedstring

    Timestamp of the last update related to a webinar event (e.g., GoToWebinar) for this contact, if integrated. UTC timestamp.

  • notes_next_activity_datestring

    The date and time of the next scheduled activity (e.g., task, meeting) with the contact. UTC timestamp in milliseconds.

  • hs_all_accessible_team_idsstring

    A semicolon-separated list of HubSpot Team IDs that have access to this contact record.

  • hs_analytics_last_referrerstring

    The last referring URL that brought the contact to your website before their most recent session.

  • hs_analytics_source_data_1string

    Additional detail for the source. For 'Organic search', this might be the search engine. For 'Paid social', this could be the social media platform.

  • hs_analytics_source_data_2string

    Further detail for the source. For 'Organic search', this might be the keyword. For 'Paid social', this could be the campaign name.

  • hubspot_owner_assigneddatestring

    The date and time when a HubSpot owner was most recently assigned to this contact. UTC timestamp in milliseconds.

  • first_conversion_event_namestring

    The name or identifier of the event that marked the contact's first conversion.

  • hs_analytics_first_referrerstring

    The first referring URL that brought the contact to your website.

  • hs_analytics_last_timestampstring

    Timestamp of the contact's last recorded interaction (e.g., last website visit, form submission). UTC timestamp.

  • hs_analytics_num_page_viewsstring

    The total number of pages viewed by the contact on your website.

  • associatedcompanylastupdatedstring

    The timestamp of the last update to the primary associated company. This is a read-only property.

  • hs_analytics_first_timestampstring

    Timestamp of the contact's first recorded interaction (e.g., first website visit). UTC timestamp.

  • num_unique_conversion_eventsstring

    The number of unique types of conversion events completed by the contact.

  • recent_conversion_event_namestring

    The name or identifier of the contact's most recent conversion event.

  • surveymonkeyeventlastupdatedstring

    Timestamp of the last update related to a SurveyMonkey event for this contact, if integrated. UTC timestamp.

  • engagements_last_meeting_bookedstring

    Timestamp of the last meeting booked with the contact through HubSpot's meetings tool.

  • hs_analytics_average_page_viewsstring

    The average number of pages viewed by the contact per session on your website, tracked by HubSpot analytics.

  • hs_all_assigned_business_unit_idsstring

    A semicolon-separated list of Business Unit IDs assigned to this contact, if using HubSpot's Business Units feature.

  • hs_analytics_last_visit_timestampstring

    Timestamp of the contact's most recent visit to your website. UTC timestamp.

  • hs_analytics_first_visit_timestampstring

    Timestamp of the contact's first visit to your website. UTC timestamp.

  • hs_analytics_num_event_completionsstring

    The total number of HubSpot custom events completed by the contact.

  • engagements_last_meeting_booked_mediumstring

    The medium (e.g., 'Meetings Tool', 'Email') through which the last meeting was booked.

  • engagements_last_meeting_booked_sourcestring

    The source (e.g., 'SALES', 'MARKETING') of the last meeting booked.

  • engagements_last_meeting_booked_campaignstring

    The HubSpot campaign ID (GUID) associated with the last meeting booked.

  • hs_analytics_last_touch_converting_campaignstring

    The HubSpot campaign ID (GUID) of the campaign that led to the contact's most recent conversion.

  • hs_analytics_first_touch_converting_campaignstring

    The HubSpot campaign ID (GUID) of the campaign that led to the contact's first conversion.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create contact object with propertiesHUBSPOT_CREATE_CONTACT_OBJECT_WITH_PROPERTIESAcción

Creates a new hubspot contact with specified properties and optional associations; requires at least one identifiable property (e.g., email) and valid `to id` for any associations.

Parámetros de entrada

  • faxstring

    The contact's fax number.

  • zipstring

    The contact's postal code or ZIP code.

  • citystring

    The city where the contact resides.

  • emailstring

    The primary email address of the contact. This is a unique identifier for contacts in HubSpot.

  • phonestring

    The contact's primary phone number (often a business phone).

  • photostring

    URL of the contact's photo or avatar.

  • statestring

    The state or region where the contact resides.

  • degreestring

    The contact's highest completed educational degree.

  • genderstring

    The contact's gender.

  • schoolstring

    The name of the school, college, or university the contact attended.

  • addressstring

    The contact's street address, including apartment or unit number.

  • companystring

    The name of the company the contact works for. If `associatedcompanyid` is set, this field might be auto-populated.

  • countrystring

    The country where the contact resides.

  • ip_citystring

    The city associated with the contact's IP address, often captured during their first website visit or form submission.

  • messagestring

    A free-text message or note often captured from a form submission's message field.

  • websitestring

    The URL of the contact's personal or company website.

  • industrystring

    The primary industry of the company the contact works for.

  • ip_statestring

    The state or region associated with the contact's IP address.

  • jobtitlestring

    The contact's job title.

  • lastnamestring

    The contact's last name.

  • closedatestring

    The date when the deal associated with this contact was closed. Expected format is a UTC timestamp in milliseconds.

  • firstnamestring

    The contact's first name.

  • ip_latlonstring

    The approximate latitude and longitude associated with the contact's IP address, typically in 'latitude,longitude' format.

  • num_notesstring

    The total number of notes logged on the contact's record.

  • ownernamestring

    The full name of the HubSpot user who owns this contact. Read-only.

  • senioritystring

    The contact's seniority level within their organization.

  • createdatestring

    The date and time when the contact record was created in HubSpot. This is a read-only property, typically a UTC timestamp.

  • ip_countrystring

    The country associated with the contact's IP address.

  • ip_zipcodestring

    The postal code or ZIP code associated with the contact's IP address.

  • owneremailstring

    The email address of the HubSpot user who owns this contact. Read-only, reflects the owner's primary email.

  • salutationstring

    The salutation for the contact (e.g., 'Mr.', 'Ms.', 'Dr.').

  • start_datestring

    The contact's start date, typically referring to their employment start date at their current company. Format can vary.

  • twitterbiostring

    The contact's biography from their Twitter profile.

  • work_emailstring

    The contact's work email address. This might be different from the primary `email` if that's a personal address.

  • linkedinbiostring

    The contact's biography from their LinkedIn profile.

  • mobilephonestring

    The contact's mobile phone number.

  • associationsobject[]

    List of associations to create with other existing HubSpot objects (e.g., companies, deals).

  • company_sizestring

    The size of the company the contact works for, often categorized (e.g., '1-10 employees', '501-1000 employees').

  • hubspotscorestring

    The contact's HubSpot lead score, calculated based on criteria defined in your HubSpot portal's scoring settings.

  • job_functionstring

    The contact's job function or department.

  • numemployeesstring

    The number of employees at the company the contact works for. This may differ from 'company_size' if manually entered or from a different source.

  • annualrevenuestring

    The annual revenue of the company the contact works for.

  • date_of_birthstring

    The contact's date of birth. Format can vary, but YYYY-MM-DD is common.

  • days_to_closestring

    The number of days it took to close the deal associated with this contact. This is usually calculated automatically.

  • followercountstring

    The number of followers the contact has on a specified social media platform (e.g., Twitter).

  • ip_state_codestring

    The state or region code associated with the contact's IP address (e.g., US state code).

  • total_revenuestring

    The total revenue generated from all closed-won deals associated with this contact.

  • twitterhandlestring

    The contact's Twitter username (handle), without the '@' symbol.

  • field_of_studystring

    The contact's primary field of study during their education.

  • lifecyclestagestring

    The contact's current stage in your sales and marketing funnel (e.g., 'Lead', 'Marketing Qualified Lead', 'Customer'). These stages are customizable in HubSpot.

  • marital_statusstring

    The contact's marital status.

  • graduation_datestring

    The contact's graduation date from their educational institution. Format can vary.

  • hs_all_team_idsstring

    A semicolon-separated list of all HubSpot Team IDs this contact is or has been associated with.

  • hubspot_team_idstring

    The ID of the HubSpot team that owns this contact.

  • ip_country_codestring

    The two-letter country code (ISO 3166-1 alpha-2) associated with the contact's IP address.

  • military_statusstring

    The contact's military status.

  • hs_all_owner_idsstring

    A semicolon-separated list of all HubSpot Owner IDs who have been assigned to this contact at some point.

  • hubspot_owner_idstring

    The ID of the HubSpot user who is the current owner of this contact.

  • lastmodifieddatestring

    The date and time when the contact record was last modified. This is a read-only property, UTC timestamp.

  • custom_propertiesobject

    A dictionary of custom properties to set for the contact. Keys are the internal names of your custom contact properties, and values are the data to set. Example: `{'custom_property_internal_name': 'value_for_custom_property'}`.

  • kloutscoregeneralstring

    The contact's general Klout score, if available and integrated. Klout was a service that rated social media influence.

  • notes_last_updatedstring

    The date and time when the notes on the contact record were last updated. UTC timestamp in milliseconds.

  • recent_deal_amountstring

    The amount of the most recent closed-won deal associated with this contact.

  • associatedcompanyidstring

    The ID of the primary company associated with this contact. This is a read-only property automatically updated when an association is made.

  • currentlyinworkflowstring

    Indicates whether the contact is currently active in any HubSpot workflow. Boolean value, 'true' or 'false'.

  • hs_all_contact_vidsstring

    A semicolon-separated list of all HubSpot Contact VID (Visitor ID) values associated with this contact, typically used for merging contacts.

  • hs_analytics_sourcestring

    The original source that generated the contact (e.g., 'Organic Search', 'Paid Social', 'Referrals').

  • linkedinconnectionsstring

    The number of LinkedIn connections the contact has.

  • num_contacted_notesstring

    The number of notes on the contact record that relate to being contacted (e.g., call logs, meeting notes).

  • relationship_statusstring

    The contact's self-reported relationship status.

  • twitterprofilephotostring

    URL of the contact's Twitter profile photo.

  • hs_additional_emailsstring

    A semicolon-separated list of additional email addresses for the contact.

  • hs_analytics_revenuestring

    Revenue attributed to this contact through HubSpot's analytics or e-commerce integrations. This is often a sum of closed-won deal amounts associated with the contact.

  • notes_last_contactedstring

    The date and time the contact was last contacted, based on logged activities like calls, emails, or meetings. UTC timestamp in milliseconds.

  • num_associated_dealsstring

    The total number of deals currently associated with this contact.

  • first_conversion_datestring

    The date and time of the contact's first conversion (e.g., form submission). UTC timestamp.

  • hs_analytics_last_urlstring

    The last URL on your website that the contact visited.

  • num_conversion_eventsstring

    The total number of conversion events (e.g., form submissions, CTA clicks) attributed to this contact.

  • hs_analytics_first_urlstring

    The first URL on your website that the contact visited.

  • recent_conversion_datestring

    The date and time of the contact's most recent conversion event. UTC timestamp.

  • recent_deal_close_datestring

    The close date of the most recent closed-won deal associated with this contact. UTC timestamp in milliseconds.

  • first_deal_created_datestring

    The date and time when the first deal was created for this contact. UTC timestamp.

  • hs_analytics_num_visitsstring

    The total number of sessions (visits) the contact has had on your website.

  • webinareventlastupdatedstring

    Timestamp of the last update related to a webinar event (e.g., GoToWebinar) for this contact, if integrated. UTC timestamp.

  • notes_next_activity_datestring

    The date and time of the next scheduled activity (e.g., task, meeting) with the contact. UTC timestamp in milliseconds.

  • hs_all_accessible_team_idsstring

    A semicolon-separated list of HubSpot Team IDs that have access to this contact record.

  • hs_analytics_last_referrerstring

    The last referring URL that brought the contact to your website before their most recent session.

  • hs_analytics_source_data_1string

    Additional detail for the source. For 'Organic search', this might be the search engine. For 'Paid social', this could be the social media platform.

  • hs_analytics_source_data_2string

    Further detail for the source. For 'Organic search', this might be the keyword. For 'Paid social', this could be the campaign name.

  • hubspot_owner_assigneddatestring

    The date and time when a HubSpot owner was most recently assigned to this contact. UTC timestamp in milliseconds.

  • first_conversion_event_namestring

    The name or identifier of the event that marked the contact's first conversion.

  • hs_analytics_first_referrerstring

    The first referring URL that brought the contact to your website.

  • hs_analytics_last_timestampstring

    Timestamp of the contact's last recorded interaction (e.g., last website visit, form submission). UTC timestamp.

  • hs_analytics_num_page_viewsstring

    The total number of pages viewed by the contact on your website.

  • associatedcompanylastupdatedstring

    The timestamp of the last update to the primary associated company. This is a read-only property.

  • hs_analytics_first_timestampstring

    Timestamp of the contact's first recorded interaction (e.g., first website visit). UTC timestamp.

  • num_unique_conversion_eventsstring

    The number of unique types of conversion events completed by the contact.

  • recent_conversion_event_namestring

    The name or identifier of the contact's most recent conversion event.

  • surveymonkeyeventlastupdatedstring

    Timestamp of the last update related to a SurveyMonkey event for this contact, if integrated. UTC timestamp.

  • engagements_last_meeting_bookedstring

    Timestamp of the last meeting booked with the contact through HubSpot's meetings tool.

  • hs_analytics_average_page_viewsstring

    The average number of pages viewed by the contact per session on your website, tracked by HubSpot analytics.

  • hs_all_assigned_business_unit_idsstring

    A semicolon-separated list of Business Unit IDs assigned to this contact, if using HubSpot's Business Units feature.

  • hs_analytics_last_visit_timestampstring

    Timestamp of the contact's most recent visit to your website. UTC timestamp.

  • hs_analytics_first_visit_timestampstring

    Timestamp of the contact's first visit to your website. UTC timestamp.

  • hs_analytics_num_event_completionsstring

    The total number of HubSpot custom events completed by the contact.

  • engagements_last_meeting_booked_mediumstring

    The medium (e.g., 'Meetings Tool', 'Email') through which the last meeting was booked.

  • engagements_last_meeting_booked_sourcestring

    The source (e.g., 'SALES', 'MARKETING') of the last meeting booked.

  • engagements_last_meeting_booked_campaignstring

    The HubSpot campaign ID (GUID) associated with the last meeting booked.

  • hs_analytics_last_touch_converting_campaignstring

    The HubSpot campaign ID (GUID) of the campaign that led to the contact's most recent conversion.

  • hs_analytics_first_touch_converting_campaignstring

    The HubSpot campaign ID (GUID) of the campaign that led to the contact's first conversion.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create CRM object with propertiesHUBSPOT_CREATE_CRM_OBJECT_WITH_PROPERTIESAcción

Creates a new hubspot crm object (e.g., contact, company, custom object) with specified `properties` (using valid internal names) and `associations` (to existing objects via valid type ids).

Parámetros de entrada

  • objectTypestringObligatorio

    Type of CRM object to create (e.g., 'contacts', 'companies', 'deals', or custom object schema ID like 'p12345678').

  • propertiesobjectObligatorio

    Key-value pairs for the object's properties. Keys must be internal HubSpot property names valid for the `objectType` (e.g., 'email', 'firstname'), and values are the data to set.

  • associationsobject[]Obligatorio

    List of associations to create between the new object and existing CRM objects, using `to_id` and `types`.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with properties and data of the created CRM object, including its unique ID and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create dealHUBSPOT_CREATE_DEALAcción

Creates a new hubspot deal.

Parámetros de entrada

  • amountstring

    Total monetary value of the deal.

  • hs_acvstring

    Annual Contract Value (ACV) (HubSpot-calculated).

  • hs_arrstring

    Annual Recurring Revenue (ARR) (HubSpot-calculated).

  • hs_mrrstring

    Monthly Recurring Revenue (MRR) (HubSpot-calculated).

  • hs_tcvstring

    Total Contract Value (TCV) (HubSpot-calculated).

  • dealnamestring

    Descriptive name or title of the deal.

  • dealtypestring

    Type of deal (e.g., 'newbusiness', 'existingbusiness').

  • pipelinestring

    ID of the sales pipeline for this deal (required).

  • closedatestring

    Date (YYYY-MM-DD) or datetime (ISO 8601) when the deal closed or is expected to close.

  • dealstagestring

    ID of the deal's current stage in its pipeline.

  • createdatestring

    Date/time deal was created (read-only, HubSpot-set).

  • descriptionstring

    Detailed text description of the deal.

  • hs_campaignstring

    GUID of the HubSpot campaign that generated this deal.

  • hs_prioritystring

    Priority level (e.g., 'high', 'medium', 'low').

  • associationsobject[]

    Associations to create between the new deal and other CRM objects (e.g., contact, company).

  • hs_is_closedstring

    Indicates if deal is closed ('true'/'false'; read-only, from deal stage properties).

  • hs_next_stepstring

    Next planned step for this deal.

  • hs_object_idstring

    Unique ID of the deal object (read-only, HubSpot-assigned).

  • days_to_closestring

    Days between creation and close (read-only, HubSpot-calculated).

  • hs_createdatestring

    Specific date/time deal record created (ISO 8601, read-only, HubSpot-set).

  • hs_all_team_idsstring

    Semicolon-separated list of all associated team IDs (owner's primary, additional teams; typically read-only).

  • hs_all_owner_idsstring

    Semicolon-separated list of all owner IDs (primary, co-owners).

  • hs_closed_amountstring

    Actual amount when deal closed (HubSpot-calculated).

  • hubspot_owner_idstring

    ID of the HubSpot user owning the deal; may be auto-assigned if unspecified.

  • closed_won_reasonstring

    Reason why the deal was won.

  • custom_propertiesobject

    Custom properties for the deal. Keys are internal property names, values are the values to set. E.g., `{'internal_name_1': 'value1'}`.

  • closed_lost_reasonstring

    Reason why the deal was lost.

  • deal_currency_codestring

    Currency code (e.g., USD) for deal amount; defaults to company's home currency.

  • hs_forecast_amountstring

    Forecasted amount ('Amount' * 'hs_deal_stage_probability'; HubSpot-calculated).

  • hs_analytics_sourcestring

    Original deal source per HubSpot analytics (e.g., 'Organic Search'; typically read-only).

  • hs_lastmodifieddatestring

    Date/time deal last modified (ISO 8601, read-only, HubSpot-updated).

  • hs_projected_amountstring

    Projected deal amount (manually set or calculated).

  • amount_in_home_currencystring

    Deal's value in company's home currency (read-only, HubSpot-calculated).

  • hs_forecast_probabilitystring

    Sales forecasting probability; may differ from 'hs_deal_stage_probability'.

  • hs_deal_stage_probabilitystring

    Win probability (decimal, e.g., 0.5) based on current stage; typically stage-defined.

  • hs_all_accessible_team_idsstring

    Semicolon-separated list of team IDs with access (typically read-only).

  • engagements_last_meeting_bookedstring

    Date/time of last booked meeting for this deal (typically read-only).

  • hs_all_assigned_business_unit_idsstring

    Semicolon-separated list of assigned business unit IDs (for Business Units add-on).

  • hs_closed_amount_in_home_currencystring

    Closed amount in home currency (HubSpot-calculated).

  • hs_projected_amount_in_home_currencystring

    Projected amount in home currency (HubSpot-calculated).

  • engagements_last_meeting_booked_mediumstring

    Medium (e.g., 'Meetings') of last booked meeting (typically read-only).

  • engagements_last_meeting_booked_sourcestring

    Source (e.g., 'Calendar') of last booked meeting (typically read-only).

  • engagements_last_meeting_booked_campaignstring

    Campaign ID for the last booked meeting (typically read-only).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with properties and details of the new deal, including standard and custom properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create emailHUBSPOT_CREATE_EMAILAcción

Creates a new hubspot email.

Parámetros de entrada

  • propertiesobjectObligatorio

    Email properties to set. Keys are HubSpot internal property names.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create emailsHUBSPOT_CREATE_EMAILSAcción

Creates multiple hubspot emails in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of email objects to create.

Parámetros de salida

  • dataobjectObligatorio

    API response with operation status and results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create event template for appHUBSPOT_CREATE_EVENT_TEMPLATE_FOR_APPAcción

Creates a new event template for a hubspot app, defining structure, custom properties (tokens), and appearance (markdown with handlebars) of custom timeline events for crm objects; this template must exist before logging corresponding events.

Parámetros de entrada

  • namestringObligatorio

    The name of the event template, unique for the app and object type.

  • appIdintegerObligatorio

    The unique identifier of the target HubSpot app.

  • tokensobject[]Obligatorio

    Defines custom properties (tokens) for the event, which can populate CRM object properties if a token's `objectPropertyName` is set.

  • objectTypestringObligatorio

    The CRM object type this event template is associated with (e.g., 'contacts', 'companies').

  • detailTemplatestring

    Optional Markdown string with Handlebars templating for rendering HTML for expanded event details on the CRM timeline, using tokens for event-specific data.

  • headerTemplatestring

    Optional Markdown string with Handlebars templating for rendering HTML for the event header on the CRM timeline, using tokens for event-specific data.

Parámetros de salida

  • dataobjectObligatorio

    Full details of the newly created event template.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create feedback submissionHUBSPOT_CREATE_FEEDBACK_SUBMISSIONAcción

Creates a new hubspot feedback submission to record customer feedback (e.g., survey responses, support interactions), optionally associating it with crm objects.

Parámetros de entrada

  • propertiesobjectObligatorio

    Properties for the feedback submission. Keys are internal names (e.g., 'hs_feedback_rating'), values must be strings. Property names must be pre-defined in your HubSpot account.

  • associationsobject[]Obligatorio

    Associations between this feedback submission and other CRM objects, specifying target object ID and association types.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created feedback submission, including its ID and creation timestamp.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create line itemHUBSPOT_CREATE_LINE_ITEMAcción

Creates a new hubspot line item.

Parámetros de entrada

  • propertiesobjectObligatorio

    Line item properties to set. Keys are HubSpot internal property names.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create line item objectHUBSPOT_CREATE_LINE_ITEM_OBJECTAcción

Creates a new hubspot line item, where `properties` must contain all keys required by the specific hubspot instance, `associations` items must link to existing crm objects via `to id`, and an empty `associations` list is permissible if the api supports unassociated line items.

Parámetros de entrada

  • propertiesobjectObligatorio

    Key-value pairs for the line item's properties (e.g., 'name', 'quantity', 'price'). Consult HubSpot documentation for all properties required by your specific instance.

  • associationsobject[]Obligatorio

    Links the new line item with other CRM objects (e.g., deals, quotes). Provide an empty list if the API supports creating unassociated line items.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create line itemsHUBSPOT_CREATE_LINE_ITEMSAcción

Creates multiple hubspot line items in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of line item objects to create.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create multiple timeline events batchHUBSPOT_CREATE_MULTIPLE_TIMELINE_EVENTS_BATCHAcción

Creates multiple immutable timeline events in a batch, ideal for bulk data imports or real-time synchronizations, using a valid event template; may update crm properties if the template is so configured.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of event objects to be created. Each object in the list must conform to the InputsRequest schema and define a single timeline event.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create new deal objectHUBSPOT_CREATE_NEW_DEAL_OBJECTAcción

Creates a new deal in hubspot crm with specified properties and associations; ensure `pipeline`, `dealstage`, and any `associations.to id` are valid existing ids, and providing `dealname` is highly recommended.

Parámetros de entrada

  • amountstring

    Total monetary value of the deal.

  • hs_acvstring

    Annual Contract Value (ACV) (HubSpot-calculated).

  • hs_arrstring

    Annual Recurring Revenue (ARR) (HubSpot-calculated).

  • hs_mrrstring

    Monthly Recurring Revenue (MRR) (HubSpot-calculated).

  • hs_tcvstring

    Total Contract Value (TCV) (HubSpot-calculated).

  • dealnamestring

    Descriptive name or title of the deal.

  • dealtypestring

    Type of deal (e.g., 'newbusiness', 'existingbusiness').

  • pipelinestring

    ID of the sales pipeline for this deal (required).

  • closedatestring

    Date (YYYY-MM-DD) or datetime (ISO 8601) when the deal closed or is expected to close.

  • dealstagestring

    ID of the deal's current stage in its pipeline.

  • createdatestring

    Date/time deal was created (read-only, HubSpot-set).

  • descriptionstring

    Detailed text description of the deal.

  • hs_campaignstring

    GUID of the HubSpot campaign that generated this deal.

  • hs_prioritystring

    Priority level (e.g., 'high', 'medium', 'low').

  • associationsobject[]

    Associations to create between the new deal and other CRM objects (e.g., contact, company).

  • hs_is_closedstring

    Indicates if deal is closed ('true'/'false'; read-only, from deal stage properties).

  • hs_next_stepstring

    Next planned step for this deal.

  • hs_object_idstring

    Unique ID of the deal object (read-only, HubSpot-assigned).

  • days_to_closestring

    Days between creation and close (read-only, HubSpot-calculated).

  • hs_createdatestring

    Specific date/time deal record created (ISO 8601, read-only, HubSpot-set).

  • hs_all_team_idsstring

    Semicolon-separated list of all associated team IDs (owner's primary, additional teams; typically read-only).

  • hs_all_owner_idsstring

    Semicolon-separated list of all owner IDs (primary, co-owners).

  • hs_closed_amountstring

    Actual amount when deal closed (HubSpot-calculated).

  • hubspot_owner_idstring

    ID of the HubSpot user owning the deal; may be auto-assigned if unspecified.

  • closed_won_reasonstring

    Reason why the deal was won.

  • custom_propertiesobject

    Custom properties for the deal. Keys are internal property names, values are the values to set. E.g., `{'internal_name_1': 'value1'}`.

  • closed_lost_reasonstring

    Reason why the deal was lost.

  • deal_currency_codestring

    Currency code (e.g., USD) for deal amount; defaults to company's home currency.

  • hs_forecast_amountstring

    Forecasted amount ('Amount' * 'hs_deal_stage_probability'; HubSpot-calculated).

  • hs_analytics_sourcestring

    Original deal source per HubSpot analytics (e.g., 'Organic Search'; typically read-only).

  • hs_lastmodifieddatestring

    Date/time deal last modified (ISO 8601, read-only, HubSpot-updated).

  • hs_projected_amountstring

    Projected deal amount (manually set or calculated).

  • amount_in_home_currencystring

    Deal's value in company's home currency (read-only, HubSpot-calculated).

  • hs_forecast_probabilitystring

    Sales forecasting probability; may differ from 'hs_deal_stage_probability'.

  • hs_deal_stage_probabilitystring

    Win probability (decimal, e.g., 0.5) based on current stage; typically stage-defined.

  • hs_all_accessible_team_idsstring

    Semicolon-separated list of team IDs with access (typically read-only).

  • engagements_last_meeting_bookedstring

    Date/time of last booked meeting for this deal (typically read-only).

  • hs_all_assigned_business_unit_idsstring

    Semicolon-separated list of assigned business unit IDs (for Business Units add-on).

  • hs_closed_amount_in_home_currencystring

    Closed amount in home currency (HubSpot-calculated).

  • hs_projected_amount_in_home_currencystring

    Projected amount in home currency (HubSpot-calculated).

  • engagements_last_meeting_booked_mediumstring

    Medium (e.g., 'Meetings') of last booked meeting (typically read-only).

  • engagements_last_meeting_booked_sourcestring

    Source (e.g., 'Calendar') of last booked meeting (typically read-only).

  • engagements_last_meeting_booked_campaignstring

    Campaign ID for the last booked meeting (typically read-only).

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with properties and details of the new deal, including standard and custom properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create new object schema with custom propertiesHUBSPOT_CREATE_NEW_OBJECT_SCHEMA_WITH_CUSTOM_PROPERTIESAcción

Creates a new custom object schema in hubspot crm with unique naming for schema and properties, defined display/required/searchable properties within the 'properties' list, provided immutable labels, and correctly configured 'enumeration' type properties (options/referencedobjecttype).

Parámetros de entrada

  • namestringObligatorio

    Unique, immutable programmatic name for the schema (used in API calls); must be unique in the account.

  • propertiesobject[]Obligatorio

    List of property definitions for this custom object schema.

  • descriptionstring

    Optional human-readable description for the custom object schema.

  • labels__pluralstring

    Plural display name used in HubSpot UI; immutable after creation.

  • labels__singularstring

    Singular display name used in HubSpot UI; immutable after creation.

  • associatedObjectsstring[]Obligatorio

    Object type IDs (e.g., 'CONTACT', 'COMPANY', 'p123456') this schema can be associated with.

  • requiredPropertiesstring[]Obligatorio

    Internal names of properties required for new records; must be defined in 'properties'.

  • searchablePropertiesstring[]

    Internal names of properties indexed for global search; must be defined in 'properties'.

  • primaryDisplayPropertystring

    Internal name of the primary identifier property; must be defined in 'properties'.

  • secondaryDisplayPropertiesstring[]

    Internal names of properties for secondary display on record pages; must be defined in 'properties'.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the details of the newly created custom object schema, including its system-generated ID (objectTypeId), fully qualified name, properties, and associations.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create or update draft versionHUBSPOT_CREATE_OR_UPDATE_DRAFT_VERSIONAcción

Creates or updates the draft version of a marketing email identified by `emailid`; if no draft exists, a new one is created from the current live version to prepare changes or a/b tests before publishing.

Parámetros de entrada

  • namestring

    Internal name of the email for HubSpot dashboard.

  • statestringenum

    Current state of the email (e.g., 'DRAFT'); typically system-managed.

    AUTOMATEDAUTOMATED_DRAFTAUTOMATED_SENDINGAUTOMATED_FOR_FORMAUTOMATED_FOR_FORM_BUFFERAUTOMATED_FOR_FORM_DRAFTAUTOMATED_FOR_FORM_LEGACYBLOG_EMAIL_DRAFTBLOG_EMAIL_PUBLISHEDDRAFTDRAFT_ABDRAFT_AB_VARIANT+19
  • emailIdstringObligatorio

    The unique identifier of the marketing email.

  • subjectstring

    The subject line of the email.

  • archivedboolean

    Indicates if the marketing email is archived.

  • campaignstring

    Associated HubSpot campaign ID for tracking/reporting.

  • languagestringenum

    Primary language of email content (e.g., 'en', 'en-us').

    afaf-naaf-zaagqagq-cmakak-ghamam-etarar-001ar-ae+742
  • publishDatestringdate-time

    Scheduled send date/time (ISO 8601). Used for scheduled emails.

  • subcategorystring

    Email subcategory for organization/reporting (e.g., 'MARKETING_EMAIL').

  • activeDomainstring

    Connected and verified sending domain in HubSpot.

  • rssData__urlstring

    External RSS feed URL. Required for external blog RSS emails.

  • from__replyTostring

    'From' email address; receives replies if `customReplyTo` is not set.

  • sendOnPublishboolean

    If true, sends email immediately on publishing, overriding `publishDate`.

  • businessUnitIdstring

    Associated business unit ID, for accounts with multiple units.

  • from__fromNamestring

    'From' name displayed to recipients.

  • rssData__timingobject

    Send timing for RSS emails. Applies if `rssData` is configured.

  • testing__testIdstring

    Unique identifier of the A/B test, if applicable.

  • content__widgetsobject

    Configuration for widgets (modules) in email content.

  • webversion__slugstring

    URL slug for the web version (e.g., 'july-newsletter').

  • testing__abStatusstringenum

    Current status of the A/B test.

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__titlestring

    Browser tab title for the web version.

  • content__flexAreasobject

    Configuration for flexible content areas in the email template.

  • webversion__domainstring

    Domain for the email web version; defaults to HubSpot domain if unspecified.

  • from__customReplyTostring

    Custom reply-to email address; overrides `replyTo`.

  • rssData__blogLayoutstring

    Layout style for blog posts in RSS email. Applies if `rssData` is configured.

  • rssData__maxEntriesinteger

    Maximum blog posts per RSS email. Applies if `rssData` is configured.

  • content__smartFieldsobject

    Smart fields and values for email personalization.

  • testing__hoursToWaitinteger

    Hours to wait for A/B test results before sending the winning version.

  • to__suppressGraymailboolean

    If true, suppresses sending to 'graymail' contacts.

  • content__templatePathstring

    Path to the email template in HubSpot Design Manager.

  • webversion__expiresAtstringdate-time

    Expiration date/time (ISO 8601) for the web version link.

  • rssData__blogEmailTypestring

    Type of RSS email (e.g., 'instant', 'daily', 'weekly'). Applies if `rssData` is configured.

  • rssData__hubspotBlogIdstring

    HubSpot-hosted blog ID for RSS-to-Email. Applies if `rssData` is configured and blog is HubSpot-hosted.

  • to__limitSendFrequencyboolean

    If true, respects contact send frequency limits.

  • to__contactIds__excludestring[]

    Specific contact IDs to exclude from recipients.

  • to__contactIds__includestring[]

    Specific contact IDs to include as recipients.

  • testing__abSuccessMetricstringenum

    Metric to determine A/B test winning version (e.g., 'CLICKS_BY_OPENS').

    CLICKS_BY_OPENSCLICKS_BY_DELIVEREDOPENS_BY_DELIVERED
  • content__plainTextVersionstring

    Plain text version of the email.

  • content__widgetContainersobject

    Configuration for widget containers in the email template.

  • rssData__rssEntryTemplatestring

    HTML template for each RSS entry. Applies if `rssData` is configured.

  • testing__abTestPercentageinteger

    Percentage of recipients in the A/B test group (e.g., 20 for 20%).

  • to__contactLists__excludestring[]

    Contact list IDs whose members will be excluded.

  • to__contactLists__includestring[]

    Contact list IDs whose members will be included as recipients.

  • webversion__redirectToUrlstring

    Custom URL to redirect to from web version link if `redirectToPageId` is not set.

  • rssData__blogImageMaxWidthinteger

    Maximum width for images imported from RSS feed blog posts. Applies if `rssData` is configured.

  • testing__abSamplingDefaultstringenum

    Default email version ('master' or 'variant') if A/B test results are inconclusive.

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__metaDescriptionstring

    Meta description for the web version (for search engines).

  • content__themeSettingsValuesobject

    Custom values for theme settings applied to the email template.

  • testing__abSampleSizeDefaultstringenum

    Default email version ('master' or 'variant') if A/B test sample size is too small.

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__redirectToPageIdstring

    HubSpot page ID to redirect to from web version link; overrides `redirectToUrl`.

  • rssData__useHeadlineAsSubjectboolean

    If true, email subject is first blog post headline. Applies if `rssData` is configured.

  • subscriptionDetails__subscriptionIdstring

    Specific subscription type ID (e.g., newsletter).

  • subscriptionDetails__officeLocationIdstring

    Company office location ID for email footer (compliance).

  • subscriptionDetails__preferencesGroupIdstring

    Associated subscription preferences group ID.

Parámetros de salida

  • dataobjectObligatorio

    Details of the created or updated draft email.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create pipeline for object typeHUBSPOT_CREATE_PIPELINE_FOR_OBJECT_TYPEAcción

Creates a new hubspot pipeline for a specified crm `objecttype` (e.g., 'deals', 'tickets'), requiring the pipeline `label` be unique for that `objecttype` and each stage `label` be unique within the pipeline.

Parámetros de entrada

  • labelstringObligatorio

    A unique label for the pipeline, used for organization in the HubSpot UI for this object type.

  • stagesobject[]Obligatorio

    A list of stage definitions for the new pipeline; each stage `label` must be unique within this pipeline.

  • objectTypestringObligatorio

    Identifier for the CRM object type (e.g., 'deals', 'tickets', or a custom object type ID) for the new pipeline, determining its context and properties in HubSpot.

  • displayOrderintegerObligatorio

    Display order for this pipeline. Pipelines for the same object type with matching `displayOrder` are sorted alphabetically by label.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full details of the newly created pipeline, including its unique ID, label, display order, and defined stages.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create pipeline stageHUBSPOT_CREATE_PIPELINE_STAGEAcción

Creates a new stage in a specified hubspot crm pipeline for a given object type, such as 'deals' or 'tickets'.

Parámetros de entrada

  • labelstringObligatorio

    User-visible name for the pipeline stage, unique within the parent pipeline.

  • metadataobjectObligatorio

    Stage-specific properties. For `deals` pipelines, `metadata` must include a `probability` key (value 0.0-1.0 in 0.1 increments). For `tickets` pipelines, an optional `ticketState` key can specify `OPEN` or `CLOSED` status.

  • objectTypestringObligatorio

    CRM object type (e.g., 'deals', 'tickets') for the new stage. Must be a valid HubSpot CRM object type supporting pipelines. Typically lowercase and plural.

  • pipelineIdstringObligatorio

    Identifier of the existing pipeline (specific to `objectType`) where the new stage will be added.

  • displayOrderintegerObligatorio

    Stage's display order in the pipeline (lower numbers first). Stages with identical `displayOrder` are sorted alphabetically by `label`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties of the newly created pipeline stage, including its ID.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create productHUBSPOT_CREATE_PRODUCTAcción

Creates a new hubspot product.

Parámetros de entrada

  • namestring

    The official name of the product.

  • pricenumber

    The selling price of the product in the default currency of the HubSpot account.

  • hs_skustring

    The Stock Keeping Unit (SKU) for the product. This should be unique across all products if used for inventory management.

  • hs_urlstring

    A direct URL link to the product's page on an e-commerce website or product information site.

  • quantityinteger

    The current quantity of the product available in inventory. This property might be relevant for physical goods.

  • hs_activeboolean

    Indicates if the product is currently active and available for sale. Set to `true` if active, `false` otherwise.

  • hs_imagesstring

    A comma-separated string of URLs for product images. The first URL is typically used as the primary image.

  • descriptionstring

    A detailed description of the product, its features, and benefits.

  • hs_archivedboolean

    Indicates if the product has been archived. Archived products are typically hidden from active lists and sales processes. Set to `true` to archive.

  • hs_featuredboolean

    Indicates if the product is marked as a featured item, which can be used to highlight it in product listings.

  • associationsobject[]

    A list of associations to create between this new product and other CRM objects. Each association specifies the target object ID and the type of relationship.

  • tax_categorystring

    The tax category or code applicable to the product, used for calculating sales tax (e.g., 'Taxable Goods', 'Non-Taxable').

  • hs_product_idstring

    An external or secondary unique identifier for the product. Useful for mapping to external systems. HubSpot does not auto-generate this.

  • hs_valid_fromstring

    The date (YYYY-MM-DD format) from which the product is considered valid or available for sale.

  • hs_product_typestring

    The general type of the product (e.g., 'Physical Good', 'Service', 'Software License').

  • hs_valid_throughstring

    The date (YYYY-MM-DD format) until which the product is considered valid or available. Leave empty if there's no expiration date.

  • custom_propertiesobject

    A dictionary of custom properties for the product. Keys are the internal names of your HubSpot custom product properties, and values are the respective property values. Example: `{"material": "Titanium", "warranty_years": "5"}`.

  • hs_product_statusstring

    The current sales or lifecycle status of the product (e.g., 'Available', 'Discontinued', 'Pre-order', 'Out of Stock').

  • hs_product_categorystring

    The primary category the product belongs to (e.g., 'Electronics', 'Apparel', 'Consulting Services').

  • hs_cost_of_goods_soldnumber

    The cost of goods sold (COGS) for the product. Used for profit margin calculations.

  • hs_product_subcategorystring

    A more specific subcategory for the product (e.g., 'Laptops' under 'Electronics').

  • hs_recurring_billing_periodstring

    The billing frequency for recurring revenue products, formatted as a PnYnMnDTnHnMnS string (e.g., P1M for 1 month, P1Y for 1 year).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing all properties of the newly created HubSpot product object, including its unique HubSpot ID.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create product batchHUBSPOT_CREATE_PRODUCT_BATCHAcción

Creates multiple products in hubspot crm in a batch, allowing unique properties and associations per product; ensure `associationcategory` and `associationtypeid` are valid, and `to id` refers to an existing crm object id when specifying associations.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of product definitions. Each item in the list represents a distinct product to be created, complete with its properties and any desired associations to other CRM objects.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create product objectHUBSPOT_CREATE_PRODUCT_OBJECTAcción

Creates a new product in hubspot with specified properties and optional associations; ensure `hs sku` is unique if provided, custom properties are pre-defined in hubspot, and any association `to id` and `associationtypeid` are valid.

Parámetros de entrada

  • namestring

    The official name of the product.

  • pricenumber

    The selling price of the product in the default currency of the HubSpot account.

  • hs_skustring

    The Stock Keeping Unit (SKU) for the product. This should be unique across all products if used for inventory management.

  • hs_urlstring

    A direct URL link to the product's page on an e-commerce website or product information site.

  • quantityinteger

    The current quantity of the product available in inventory. This property might be relevant for physical goods.

  • hs_activeboolean

    Indicates if the product is currently active and available for sale. Set to `true` if active, `false` otherwise.

  • hs_imagesstring

    A comma-separated string of URLs for product images. The first URL is typically used as the primary image.

  • descriptionstring

    A detailed description of the product, its features, and benefits.

  • hs_archivedboolean

    Indicates if the product has been archived. Archived products are typically hidden from active lists and sales processes. Set to `true` to archive.

  • hs_featuredboolean

    Indicates if the product is marked as a featured item, which can be used to highlight it in product listings.

  • associationsobject[]

    A list of associations to create between this new product and other CRM objects. Each association specifies the target object ID and the type of relationship.

  • tax_categorystring

    The tax category or code applicable to the product, used for calculating sales tax (e.g., 'Taxable Goods', 'Non-Taxable').

  • hs_product_idstring

    An external or secondary unique identifier for the product. Useful for mapping to external systems. HubSpot does not auto-generate this.

  • hs_valid_fromstring

    The date (YYYY-MM-DD format) from which the product is considered valid or available for sale.

  • hs_product_typestring

    The general type of the product (e.g., 'Physical Good', 'Service', 'Software License').

  • hs_valid_throughstring

    The date (YYYY-MM-DD format) until which the product is considered valid or available. Leave empty if there's no expiration date.

  • custom_propertiesobject

    A dictionary of custom properties for the product. Keys are the internal names of your HubSpot custom product properties, and values are the respective property values. Example: `{"material": "Titanium", "warranty_years": "5"}`.

  • hs_product_statusstring

    The current sales or lifecycle status of the product (e.g., 'Available', 'Discontinued', 'Pre-order', 'Out of Stock').

  • hs_product_categorystring

    The primary category the product belongs to (e.g., 'Electronics', 'Apparel', 'Consulting Services').

  • hs_cost_of_goods_soldnumber

    The cost of goods sold (COGS) for the product. Used for profit margin calculations.

  • hs_product_subcategorystring

    A more specific subcategory for the product (e.g., 'Laptops' under 'Electronics').

  • hs_recurring_billing_periodstring

    The billing frequency for recurring revenue products, formatted as a PnYnMnDTnHnMnS string (e.g., P1M for 1 month, P1Y for 1 year).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing all properties of the newly created HubSpot product object, including its unique HubSpot ID.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create productsHUBSPOT_CREATE_PRODUCTSAcción

Creates multiple hubspot products in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of product objects to create.

Parámetros de salida

  • dataobjectObligatorio

    API response with operation status and results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create property for specified object typeHUBSPOT_CREATE_PROPERTY_FOR_SPECIFIED_OBJECT_TYPEAcción

Creates a new custom property for a specified hubspot crm object type; ensure `groupname` refers to an existing property group for the `objecttype`.

Parámetros de entrada

  • namestringObligatorio

    Internal programmatic name (snake_case), unique within the `objectType`, used for API referencing.

  • typestringObligatorioenum

    The data type of the property.

    stringnumberdatedatetimeenumerationbool
  • labelstringObligatorio

    Human-readable label for the property shown in HubSpot UI.

  • hiddenboolean

    If true, hides property in HubSpot UI, lists, and forms. Defaults to false if not set.

  • optionsobject[]

    List of predefined options, required if `type` is 'enumeration'; each option defines a possible value.

  • fieldTypestringObligatorioenum

    Controls UI display and interaction method (e.g., text input, dropdown, checkbox).

    textareatextdatefilenumberselectradiocheckboxbooleancheckboxcalculation_equation
  • formFieldboolean

    If true, property can be used in HubSpot forms. Defaults to false if not set.

  • groupNamestringObligatorio

    Name of the property group for organization in HubSpot UI.

  • objectTypestringObligatorio

    Target HubSpot CRM object type (e.g., contacts, companies) for the new property. Case-sensitive.

  • descriptionstring

    Optional description for the property, displayed as help text in HubSpot UI.

  • displayOrderinteger

    Controls display order of properties in HubSpot UI, sorted ascending; -1 displays after positive values.

  • hasUniqueValueboolean

    If true, property's value must be unique across all records for the `objectType`. Cannot be changed to false after being set to true.

  • externalOptionsboolean

    If true, 'enumeration' options are sourced externally, requiring `referencedObjectType` (e.g., 'OWNER' for HubSpot users). Defaults to false. Only for 'enumeration' type.

  • calculationFormulastring

    Formula for calculated property, required if `fieldType` is 'calculation_equation'. Can reference other properties by their internal names.

  • referencedObjectTypestring

    For properties referencing other HubSpot objects (e.g., "OWNER" when `externalOptions` is true and `type` is "enumeration" to populate options with users). Applicable for specific property types.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with the definition and attributes of the created property.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create quote objectHUBSPOT_CREATE_QUOTE_OBJECTAcción

Creates a new quote object in hubspot crm with specified properties and associations.

Parámetros de entrada

  • propertiesobjectObligatorio

    A dictionary of key-value pairs representing the properties of the quote to be created. Property names are HubSpot internal names.

  • associationsobject[]Obligatorio

    A list of associations to create for the new quote. Each item specifies the object to associate with and the type of association.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties of the newly created quote object, including its ID.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ticketHUBSPOT_CREATE_TICKETAcción

Creates a new hubspot ticket.

Parámetros de entrada

  • contentstring

    Main body or description of the ticket, detailing the issue or request; typically required.

  • subjectstring

    Subject line or title of the ticket; typically a required field.

  • created_bystring

    ID of the HubSpot user who created the ticket.

  • createdatestring

    Date and time the ticket was created (ISO 8601 format, e.g., 'YYYY-MM-DDTHH:mm:ssZ'); HubSpot typically sets this automatically if not provided.

  • hs_tag_idsstring[]

    List of tag IDs associated with the ticket for categorization or filtering.

  • closed_datestring

    Date and time the ticket was closed (ISO 8601 format, e.g., 'YYYY-MM-DDTHH:mm:ssZ').

  • hs_pipelinestring

    ID of the pipeline this ticket belongs to; often a required field.

  • source_typestring

    Source channel through which the ticket was created (e.g., 'EMAIL', 'CHAT', 'PHONE', 'API').

  • associationsobject[]

    List defining associations between this new ticket and other existing HubSpot objects (e.g., linking to a contact or company). Each item specifies the target object ID (`to`) and the type of association (`types`).

  • time_to_closestring

    Time taken to close the ticket, often in milliseconds or ISO 8601 duration (e.g. 'PT2H30M').

  • hs_all_team_idsstring[]

    List of all team IDs associated with this ticket; usually managed by HubSpot.

  • hubspot_team_idstring

    ID of the HubSpot team this ticket is assigned to.

  • last_reply_datestring

    Date and time of the last reply (either from agent or contact) on this ticket (ISO 8601 format).

  • hs_all_owner_idsstring[]

    List of all HubSpot owner IDs associated with this ticket; usually managed by HubSpot.

  • hs_lastcontactedstring

    Date and time of the last contact associated with this ticket (ISO 8601 format).

  • hubspot_owner_idstring

    ID of the HubSpot user who owns this ticket.

  • custom_propertiesobject

    Dictionary of custom properties for the ticket: keys are internal names (e.g., `my_custom_field_name`), values are the data.

  • hs_pipeline_stagestring

    ID of the current stage of the ticket within its pipeline; often required and must belong to the specified `hs_pipeline`.

  • hs_primary_companystring

    ID of the primary company associated with this ticket.

  • hs_ticket_categorystring

    Category of the ticket (e.g., 'Technical Support', 'Billing Inquiry'); values might be HubSpot-defined or custom.

  • hs_ticket_prioritystring

    Priority of the ticket (e.g., 'HIGH', 'MEDIUM', 'LOW'); values might be HubSpot-defined or custom.

  • notes_last_updatedstring

    Timestamp of when the notes for this ticket were last updated (ISO 8601 format).

  • hs_lastmodifieddatestring

    Date and time this ticket was last modified (ISO 8601 format); HubSpot typically sets this automatically.

  • hs_assigned_team_idsstring[]

    List of team IDs specifically assigned to this ticket.

  • hs_assignment_methodstring

    Method used for assigning the ticket (e.g., 'MANUAL', 'AUTOMATIC_ROUND_ROBIN').

  • last_engagement_datestring

    Date and time of the last engagement (e.g., email, call) with this ticket (ISO 8601 format).

  • notes_last_contactedstring

    Timestamp of the last contact logged in notes associated with the ticket (ISO 8601 format).

  • hs_created_by_user_idstring

    HubSpot user ID of the person or system that created this ticket.

  • first_agent_reply_datestring

    Date and time of the first agent reply on this ticket (ISO 8601 format).

  • notes_next_activity_datestring

    Timestamp for the next scheduled activity related to this ticket's notes (ISO 8601 format).

  • hs_all_accessible_team_idsstring[]

    List of all team IDs with access to this ticket; usually managed by HubSpot.

  • hs_all_conversation_mentionsstring[]

    System-populated list of all mentions in conversations related to this ticket.

  • hs_all_associated_contact_emailsstring[]

    System-populated list of email addresses of contacts associated with this ticket.

  • hs_all_associated_contact_phonesstring[]

    System-populated list of phone numbers of contacts associated with this ticket.

  • hs_auto_generated_from_thread_idstring

    If auto-generated from a conversation, the ID of the originating thread.

  • hs_all_assigned_business_unit_idsstring[]

    List of all business unit IDs assigned to this ticket; usually managed by HubSpot.

  • hs_all_associated_contact_companiesstring[]

    System-populated list of company names or IDs for contacts linked to this ticket.

  • hs_all_associated_contact_lastnamesstring[]

    System-populated list of last names of contacts associated with this ticket.

  • hs_all_associated_contact_firstnamesstring[]

    System-populated list of first names of contacts associated with this ticket.

  • hs_all_associated_contact_mobilephonesstring[]

    System-populated list of mobile phone numbers of contacts associated with this ticket.

  • hs_conversations_originating_thread_idstring

    ID of the conversation thread from which this ticket originated.

  • hs_conversations_originating_message_idstring

    ID of the first message in the conversation that led to this ticket's creation.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing the properties of the newly created HubSpot ticket, including its ID and all set properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ticket objectHUBSPOT_CREATE_TICKET_OBJECTAcción

Creates a new ticket in hubspot with specified properties and associations; ensure custom property names, associated object ids (`to`), pipeline ids (`hs pipeline`), and stage ids (`hs pipeline stage`) are valid in your hubspot instance.

Parámetros de entrada

  • contentstring

    Main body or description of the ticket, detailing the issue or request; typically required.

  • subjectstring

    Subject line or title of the ticket; typically a required field.

  • created_bystring

    ID of the HubSpot user who created the ticket.

  • createdatestring

    Date and time the ticket was created (ISO 8601 format, e.g., 'YYYY-MM-DDTHH:mm:ssZ'); HubSpot typically sets this automatically if not provided.

  • hs_tag_idsstring[]

    List of tag IDs associated with the ticket for categorization or filtering.

  • closed_datestring

    Date and time the ticket was closed (ISO 8601 format, e.g., 'YYYY-MM-DDTHH:mm:ssZ').

  • hs_pipelinestring

    ID of the pipeline this ticket belongs to; often a required field.

  • source_typestring

    Source channel through which the ticket was created (e.g., 'EMAIL', 'CHAT', 'PHONE', 'API').

  • associationsobject[]

    List defining associations between this new ticket and other existing HubSpot objects (e.g., linking to a contact or company). Each item specifies the target object ID (`to`) and the type of association (`types`).

  • time_to_closestring

    Time taken to close the ticket, often in milliseconds or ISO 8601 duration (e.g. 'PT2H30M').

  • hs_all_team_idsstring[]

    List of all team IDs associated with this ticket; usually managed by HubSpot.

  • hubspot_team_idstring

    ID of the HubSpot team this ticket is assigned to.

  • last_reply_datestring

    Date and time of the last reply (either from agent or contact) on this ticket (ISO 8601 format).

  • hs_all_owner_idsstring[]

    List of all HubSpot owner IDs associated with this ticket; usually managed by HubSpot.

  • hs_lastcontactedstring

    Date and time of the last contact associated with this ticket (ISO 8601 format).

  • hubspot_owner_idstring

    ID of the HubSpot user who owns this ticket.

  • custom_propertiesobject

    Dictionary of custom properties for the ticket: keys are internal names (e.g., `my_custom_field_name`), values are the data.

  • hs_pipeline_stagestring

    ID of the current stage of the ticket within its pipeline; often required and must belong to the specified `hs_pipeline`.

  • hs_primary_companystring

    ID of the primary company associated with this ticket.

  • hs_ticket_categorystring

    Category of the ticket (e.g., 'Technical Support', 'Billing Inquiry'); values might be HubSpot-defined or custom.

  • hs_ticket_prioritystring

    Priority of the ticket (e.g., 'HIGH', 'MEDIUM', 'LOW'); values might be HubSpot-defined or custom.

  • notes_last_updatedstring

    Timestamp of when the notes for this ticket were last updated (ISO 8601 format).

  • hs_lastmodifieddatestring

    Date and time this ticket was last modified (ISO 8601 format); HubSpot typically sets this automatically.

  • hs_assigned_team_idsstring[]

    List of team IDs specifically assigned to this ticket.

  • hs_assignment_methodstring

    Method used for assigning the ticket (e.g., 'MANUAL', 'AUTOMATIC_ROUND_ROBIN').

  • last_engagement_datestring

    Date and time of the last engagement (e.g., email, call) with this ticket (ISO 8601 format).

  • notes_last_contactedstring

    Timestamp of the last contact logged in notes associated with the ticket (ISO 8601 format).

  • hs_created_by_user_idstring

    HubSpot user ID of the person or system that created this ticket.

  • first_agent_reply_datestring

    Date and time of the first agent reply on this ticket (ISO 8601 format).

  • notes_next_activity_datestring

    Timestamp for the next scheduled activity related to this ticket's notes (ISO 8601 format).

  • hs_all_accessible_team_idsstring[]

    List of all team IDs with access to this ticket; usually managed by HubSpot.

  • hs_all_conversation_mentionsstring[]

    System-populated list of all mentions in conversations related to this ticket.

  • hs_all_associated_contact_emailsstring[]

    System-populated list of email addresses of contacts associated with this ticket.

  • hs_all_associated_contact_phonesstring[]

    System-populated list of phone numbers of contacts associated with this ticket.

  • hs_auto_generated_from_thread_idstring

    If auto-generated from a conversation, the ID of the originating thread.

  • hs_all_assigned_business_unit_idsstring[]

    List of all business unit IDs assigned to this ticket; usually managed by HubSpot.

  • hs_all_associated_contact_companiesstring[]

    System-populated list of company names or IDs for contacts linked to this ticket.

  • hs_all_associated_contact_lastnamesstring[]

    System-populated list of last names of contacts associated with this ticket.

  • hs_all_associated_contact_firstnamesstring[]

    System-populated list of first names of contacts associated with this ticket.

  • hs_all_associated_contact_mobilephonesstring[]

    System-populated list of mobile phone numbers of contacts associated with this ticket.

  • hs_conversations_originating_thread_idstring

    ID of the conversation thread from which this ticket originated.

  • hs_conversations_originating_message_idstring

    ID of the first message in the conversation that led to this ticket's creation.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing the properties of the newly created HubSpot ticket, including its ID and all set properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create ticketsHUBSPOT_CREATE_TICKETSAcción

Creates multiple hubspot tickets in a batch, each with its own properties and associations; `inputs` list must not be empty, each item needs `properties`, and associations/custom properties must be validly defined using internal names for custom fields and iso 8601 for dates.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of ticket creation requests; each item defines one ticket with its properties and associations.

Parámetros de salida

  • dataobjectObligatorio

    Response from the HubSpot API, typically including 'status', 'results' (list of created tickets), 'errors', and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create timeline event based on templateHUBSPOT_CREATE_TIMELINE_EVENT_BASED_ON_TEMPLATEAcción

Creates an immutable custom timeline event on a crm object's record using a specified, existing event template (identified by `eventtemplateid`), optionally updating crm object properties if defined in the template; requires `email`, `utk`, or `objectid` for association.

Parámetros de entrada

  • idstring

    Optional unique event identifier; HubSpot auto-generates if omitted. Use `{{uuid}}` for uniqueness if providing an ID.

  • utkstring

    HubSpot user token (e.g., from `hubspotutk` cookie) to associate event with a contact; use if contact's email is unknown.

  • emailstring

    Email for contact-specific events; identifies existing contact, creates new, or changes email (if `objectId` provided).

  • domainstring

    Domain associated with the event, often paired with `utk` for contact event context.

  • tokensobjectObligatorio

    Key-value pairs for populating dynamic content in the event template; keys are token names from the template.

  • objectIdstring

    Unique identifier of the CRM object (e.g., company, deal) for event association; required for non-contact objects.

  • timestampstringdate-time

    ISO 8601 UTC timestamp of event occurrence; defaults to current time. Determines timeline placement.

  • eventTemplateIdstringObligatorio

    The unique identifier of the event template, which must exist in HubSpot.

  • timelineIFrame__urlstring

    URL of content to display in the iframe.

  • timelineIFrame__widthinteger

    Width of the iframe modal window (pixels).

  • timelineIFrame__heightinteger

    Height of the iframe modal window (pixels).

  • timelineIFrame__linkLabelstring

    Text for the link that opens the iframe modal with more details.

  • timelineIFrame__headerLabelstring

    Title/header for the modal window displaying iframe content.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create workflowHUBSPOT_CREATE_WORKFLOWAcción

Creates a new hubspot workflow to automate processes; ensure `enrollmentcriteria` and `actions` use properties relevant to the specified `objecttypeid`.

Parámetros de entrada

  • namestringObligatorio

    The unique name for the workflow.

  • typestringenum

    'CONTACT_FLOW' for contact-based, 'PLATFORM_FLOW' for other object types.

    CONTACT_FLOWPLATFORM_FLOW
  • actionsobject[]

    Action configurations defining workflow steps; each dictionary is an action with settings.

  • flowTypestringenum

    Category: 'WORKFLOW' for standard, 'ACTION_SET' for reusable action sets.

    WORKFLOWACTION_SETUNKNOWN
  • isEnabledboolean

    Activate workflow upon creation (true) or create disabled (false).

  • dataSourcesobject[]

    Data source configurations for conditions or personalization.

  • descriptionstring

    Explanation of the workflow's purpose and functionality.

  • timeWindowsobject[]

    Configurations for periods when workflow actions can execute.

  • blockedDatesobject[]

    Configurations for dates when workflow actions should not execute.

  • objectTypeIdstring

    HubSpot internal ID for the object type (e.g., '0-1' for Contacts, '0-2' for Companies).

  • customPropertiesobject

    Custom key-value pairs for organization or tracking.

  • enrollmentCriteriaobject

    Configuration defining criteria for object enrollment.

  • suppressionListIdsinteger[]

    HubSpot list IDs for contacts to be prevented from enrollment.

  • unEnrollmentSettingobject

    Defines if/how objects unenroll from other workflows upon enrolling in this one.

  • canEnrollFromSalesforceboolean

    Allow contacts to be enrolled directly from Salesforce.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List contacts pageHUBSPOT_CUSTOMIZABLE_CONTACTS_PAGE_RETRIEVALAcción

Deprecated: use 'list contacts page' to retrieve a paginated list of hubspot contacts.

Parámetros de entrada

  • afterstring

    Pagination token from `paging.next.after` of a previous response, used to fetch the subsequent page. Omit for the first page.

  • limitinteger

    Maximum number of contacts to return per page, controlling pagination size (default: 5).

  • archivedboolean

    Boolean flag to filter contacts by archived status: `true` returns only archived contacts; `false` (default) returns only active (non-archived) contacts.

  • propertiesstring[]

    List of contact property internal names to include in the response (e.g., "email", "firstname"). If omitted, a default set of properties is returned.

  • associationsstring[]

    List of object types (e.g., "companies", "deals") for which to retrieve associated IDs with each contact.

  • propertiesWithHistorystring[]

    List of property internal names for which to retrieve historical values (e.g., "lifecyclestage"). If no history exists for a property, only its current value is returned.

Parámetros de salida

  • dataobjectObligatorio

    The API response, typically a dictionary including a list of contacts and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive a batch of campaignsHUBSPOT_DELETE_A_BATCH_OF_CAMPAIGNSAcción

Archives a batch of up to 50 marketing campaigns, hiding them from active views rather than permanently deleting them.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of marketing campaign identifiers to be archived in batch.

Parámetros de salida

  • dataobject

    The response body. Note: This action consistently returns a 204 No Content status, indicating that the response body will be empty.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete a marketing emailHUBSPOT_DELETE_A_MARKETING_EMAILAcción

Deletes an existing marketing email, either permanently (default) or by archiving if `archived` is `true`.

Parámetros de entrada

  • emailIdstringObligatorio

    The unique identifier of the existing marketing email.

  • archivedboolean

    If `true`, archives the email for potential restoration; if `false` or omitted, the email is permanently deleted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete calling extension settingsHUBSPOT_DELETE_CALLING_EXTENSION_SETTINGSAcción

Permanently deletes the settings for a calling extension app, specified by its `appid`, rendering it unusable for all connected hubspot accounts; this operation is irreversible.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique identifier for the calling extension app to be deleted. This ID is assigned by HubSpot when the extension is created.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API. For a successful deletion, this will typically be an empty dictionary, as HubSpot often returns a 204 No Content status for DELETE operations.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete campaignHUBSPOT_DELETE_CAMPAIGNAcción

Permanently deletes a marketing campaign from hubspot using its `campaignguid`; returns a 204 no content status even if the campaign does not exist.

Parámetros de entrada

  • campaignGuidstringObligatorio

    The unique identifier (UUID) for the marketing campaign to be deleted.

Parámetros de salida

  • dataobject

    Response data, which will be an empty dictionary as the API returns a 204 No Content status for successful deletions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete contact for gdpr complianceHUBSPOT_DELETE_CONTACT_FOR_GDPR_COMPLIANCEAcción

Irreversibly deletes a hubspot contact for gdpr compliance (identified via `objectid` and `idproperty`); an email `objectid` for a non-existent contact may be blocklisted.

Parámetros de entrada

  • objectIdstringObligatorio

    The identifier (e.g., an email address or unique record ID) of the contact to be deleted for GDPR compliance, its type defined by `idProperty`.

  • idPropertystring

    The HubSpot property name (e.g., 'email') specifying the type of `objectId` used for GDPR deletion of a contact. If omitted, `objectId` is assumed to be the contact's primary unique ID.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete pipeline by idHUBSPOT_DELETE_PIPELINE_BY_IDAcción

Permanently deletes a hubspot pipeline and all its stages by `pipelineid` and `objecttype`; this is irreversible, so use validation flags to avoid errors if the pipeline is not empty.

Parámetros de entrada

  • objectTypestringObligatorio

    Type of CRM object associated with the pipeline, determining which pipeline category is affected.

  • pipelineIdstringObligatorio

    Unique identifier of the pipeline to be deleted.

  • validateReferencesBeforeDeleteboolean

    If true, HubSpot checks for existing references to this pipeline before deletion to prevent data loss or orphaned records.

  • validateDealStageUsagesBeforeDeleteboolean

    If true (for deal pipelines), HubSpot verifies if any deals use stages from this pipeline before deletion to prevent disruption.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API; typically empty for a successful (204 No Content) pipeline deletion.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete pipeline stage by idHUBSPOT_DELETE_PIPELINE_STAGE_BY_IDAcción

Permanently deletes a specific pipeline stage for an `objecttype` (e.g., 'deals', 'tickets') that supports pipelines; this operation is irreversible, so ensure no active crm records are associated with the stage to prevent data issues.

Parámetros de entrada

  • stageIdstringObligatorio

    Identifier of the pipeline stage to be deleted.

  • objectTypestringObligatorio

    The CRM object type for the pipeline (e.g., 'deals', 'tickets').

  • pipelineIdstringObligatorio

    Identifier of the pipeline (specific to the `objectType`) from which the stage will be deleted.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete schema by object typeHUBSPOT_DELETE_SCHEMA_BY_OBJECT_TYPEAcción

Permanently deletes a hubspot custom object schema, specified by its `objecttype`, after all associated crm records have been deleted.

Parámetros de entrada

  • archivedboolean

    Set to `true` to delete an already archived schema; defaults to `false` for deleting an active schema.

  • objectTypestringObligatorio

    The fully qualified name or object type ID of the custom object schema to be deleted, which must uniquely specify the schema.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that may contain information related to the outcome of the delete operation. HubSpot typically returns a 204 No Content (empty response) for successful deletions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete timeline event templateHUBSPOT_DELETE_TIMELINE_EVENT_TEMPLATEAcción

Permanently and irreversibly deletes a specific timeline event template, identified by its `eventtemplateid`, from the application `appid`.

Parámetros de entrada

  • appIdintegerObligatorio

    The numeric identifier (positive integer) for the target application within which the event template exists. The template specified by `eventTemplateId` must be part of this application.

  • eventTemplateIdstringObligatorio

    The unique identifier for the event template to be deleted. This ID must correspond to an existing template within the specified application. Typically a UUID or a system-generated string.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete video conferencing app settingsHUBSPOT_DELETE_VIDEO_CONFERENCING_APP_SETTINGSAcción

Irreversibly deletes all settings for a video conferencing application identified by its `appid` in hubspot, removing its configuration and preventing it from functioning until reconfigured; existing meetings and historical data are unaffected.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique identifier for the video conferencing application whose settings are to be deleted; assigned when the application is created in your HubSpot developer portal.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary that may contain data for errors; typically empty for successful deletions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Delete workflowHUBSPOT_DELETE_WORKFLOWAcción

Permanently deletes a hubspot workflow by its id; deleted workflows cannot be restored via the api and the id must exist.

Parámetros de entrada

  • workflow_idstringObligatorio

    The unique identifier of the HubSpot workflow to be deleted.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read crm contact by idHUBSPOT_FETCH_CONTACT_DETAILS_BY_IDAcción

Deprecated: use `read crm contact by id` instead. retrieves a hubspot crm contact by its unique internal hubspot id, allowing selection of properties, historical values, associated objects, and filtering for archived contacts.

Parámetros de entrada

  • archivedboolean

    Set to true to include only archived contacts; defaults to false (active contacts).

  • contactIdstringObligatorio

    Unique internal HubSpot CRM object ID for the contact, which must be valid and existing.

  • propertiesstring[]

    Contact property names to include in the response; if omitted, all available properties are returned.

  • associationsstring[]

    Object types (e.g., 'companies', 'deals') to include associated object IDs in the response.

  • propertiesWithHistorystring[]

    Property names for which to include current and historical values in the response.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot CRM contact, dependent on 'properties', 'propertiesWithHistory', and 'associations' request parameters.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch contact idsHUBSPOT_FETCH_CONTACT_IDSAcción

Fetches hubspot contact ids for a specified `campaignguid` (must be a valid uuid of an existing campaign) and `contacttype`, supporting date filtering and pagination.

Parámetros de entrada

  • afterstring

    A pagination cursor. Used to fetch the next set of results. Provide the 'after' value from a previous response to get subsequent pages. Example: NTI1Cg%3D%3D

  • limitinteger

    The maximum number of contact IDs to return in a single request. Default is 100.

  • endDatestring

    The end date for filtering report data, formatted as YYYY-MM-DD. If not provided, defaults to the current date.

  • startDatestring

    The start date for filtering report data, formatted as YYYY-MM-DD. If not provided, defaults to 2006-01-01.

  • contactTypestringObligatorio

    The type of contact interaction to filter by. Allowed values: 'contactFirstTouch' (contacts whose first interaction was with this campaign), 'contactLastTouch' (contacts whose last interaction before a key event was with this campaign), 'influencedContacts' (all contacts who interacted with assets of this campaign).

  • campaignGuidstringObligatorio

    The unique identifier (UUID) of the campaign for which to fetch contact IDs.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of contact IDs and any relevant pagination details. Typically includes a 'results' key with a list of contact objects/IDs and a 'paging' key for 'next' page cursor.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch import error detailsHUBSPOT_FETCH_IMPORT_ERROR_DETAILSAcción

Fetches a paginated list of read-only error details for a specific hubspot crm import, requiring a valid `importid` for a processed import.

Parámetros de entrada

  • afterstring

    Pagination token from a previous response's `paging.next.after` property to fetch the next page of error details.

  • limitinteger

    Maximum number of error records to return per page (e.g., between 1 and a HubSpot-defined maximum of 100).

  • importIdintegerObligatorio

    Identifier of the import operation for which to fetch error details; must correspond to an existing import in HubSpot.

Parámetros de salida

  • dataobjectObligatorio

    Raw API response, typically including a `results` array of import errors and a `paging` object for pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve line item by idHUBSPOT_FETCH_OBJECT_DETAILS_BY_ID_OR_PROPERTYAcción

Deprecated: use the 'retrieve line item by id' action instead.

Parámetros de entrada

  • archivedboolean

    Set to `True` to retrieve archived Line Items; `False` (default) retrieves non-archived items.

  • idPropertystring

    Name of a unique property (e.g., 'sku') to use as the identifier instead of the HubSpot ID. Must be unique across all Line Items.

  • lineItemIdstringObligatorio

    The Line Item's unique identifier (HubSpot ID or value of `idProperty` if specified).

  • propertiesstring[]

    Optional list of property names to return for the Line Item. Non-existent properties are ignored.

  • associationsstring[]

    Optional list of object types (e.g., 'deal') for which to retrieve IDs of associated objects. Ignores non-existent association types.

  • propertiesWithHistorystring[]

    Optional list of property names for which to retrieve historical values. Ignores non-existent properties or those without history.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and details of the retrieved Line Item. The structure and content will vary based on the 'properties', 'propertiesWithHistory', and 'associations' requested.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch recording settings by app IDHUBSPOT_FETCH_RECORDING_SETTINGS_BY_APP_IDAcción

Fetches call recording settings for a specified, existing hubspot calling extension app.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique identifier for an existing calling extension app.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary of recording settings for the app; structure varies based on the app's configuration.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Fetch revenueHUBSPOT_FETCH_REVENUEAcción

Fetches a revenue attribution report for a specified, existing marketing campaign, optionally using a specific attribution model and date range; if both start and end dates are given, `enddate` must not be earlier than `startdate`.

Parámetros de entrada

  • endDatestring

    End date (YYYY-MM-DD) for filtering report data; defaults to the current date if omitted.

  • startDatestring

    Start date (YYYY-MM-DD) for filtering report data; defaults to '2006-01-01' if omitted.

  • campaignGuidstringObligatorio

    The unique identifier (UUID) for the marketing campaign.

  • attributionModelstring

    Attribution model for revenue calculation; defaults to 'LINEAR' if omitted. Allowed values: 'LINEAR', 'FIRST_INTERACTION', 'LAST_INTERACTION', 'FULL_PATH', 'U_SHAPED', 'W_SHAPED', 'TIME_DECAY', 'J_SHAPED', 'INVERSE_J_SHAPED'.

Parámetros de salida

  • dataobjectObligatorio

    Revenue attribution report data for the campaign, reflecting specified filters.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

GDPR deleteHUBSPOT_GDPR_DELETEAcción

Permanently deletes a contact and associated content for gdpr compliance; an email used for identification via `idproperty`='email' that is not found will be irreversibly blocklisted.

Parámetros de entrada

  • objectIdstringObligatorio

    Unique identifier of the contact to delete. If `idProperty` is set, this is that property's value (e.g., an email address); otherwise, it's the HubSpot contact ID.

  • idPropertystring

    Name of the property for the contact's unique identifier (e.g., 'email') if `objectId` is not the HubSpot contact ID; `objectId` must then be this property's value.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get active imports listHUBSPOT_GET_ACTIVE_IMPORTS_LISTAcción

Retrieves a list of currently active import jobs in hubspot for monitoring ongoing data operations.

Parámetros de entrada

  • afterstring

    Cursor for the next page of results, from a previous response's `paging.next.after` property.

  • limitinteger

    Maximum number of import results per page.

  • beforestring

    Cursor for the previous page of results, obtained from a previous response.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get aggregated statistic intervalsHUBSPOT_GET_AGGREGATED_STATISTIC_INTERVALSAcción

Retrieves aggregated statistics for marketing emails (e.g., send counts), grouped by specified time intervals within a defined time range.

Parámetros de entrada

  • emailIdsinteger[]

    Optional list of specific email IDs to filter results; if omitted, statistics for all emails in the time range are returned.

  • intervalstringenum

    Time interval for aggregating email statistics, defining data granularity (e.g., YEAR, MONTH, DAY).

    YEARQUARTERMONTHWEEKDAYHOURQUARTER_HOURMINUTESECOND
  • endTimestampstring

    End of the time span for statistics (ISO8601 timestamp); must be on or after `startTimestamp`.

  • startTimestampstring

    Start of the time span for statistics (ISO8601 timestamp).

Parámetros de salida

  • dataobjectObligatorio

    Aggregated email statistics, where keys are interval start times (e.g., timestamp or date string) and values are metrics for that interval (e.g., email send counts).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get aggregated statisticsHUBSPOT_GET_AGGREGATED_STATISTICSAcción

Retrieves aggregated statistics for marketing emails, optionally within an iso8601 formatted time range, by email ids, or specific email properties.

Parámetros de entrada

  • emailIdsinteger[]

    Filter statistics by specific email IDs.

  • propertystring

    Specific email property to include (e.g., 'subject', 'campaignGuid'); if omitted, all available properties are returned. See HubSpot docs for available properties.

  • endTimestampstring

    End of the time range (ISO8601 format); statistics are aggregated for emails sent on or before this time.

  • startTimestampstring

    Start of the time range (ISO8601 format); statistics are aggregated for emails sent on or after this time.

Parámetros de salida

  • dataobjectObligatorio

    Aggregated email statistics, where keys are property names and values are their corresponding aggregated data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all marketing emails for a HubSpot accountHUBSPOT_GET_ALL_MARKETING_EMAILS_FOR_A_HUB_SPOT_ACCOUNTAcción

Fetches a list of marketing emails from a hubspot account, with options for filtering, sorting, pagination, and including performance statistics.

Parámetros de entrada

  • sortstring[]

    A list of fields to sort the results by. Valid fields are `name`, `createdAt`, `updatedAt`, `createdBy`, `updatedBy`. Prefix with '-' for descending order (e.g., '-createdAt'). `createdAt` is the default sort order if unspecified.

  • typestringenum

    Filter emails by type. Multiple types can be specified. If omitted, emails of all types are returned. See TypeEnm for allowed values.

    AB_EMAILBATCH_EMAILLOCALTIME_EMAILAUTOMATED_AB_EMAILBLOG_EMAILBLOG_EMAIL_CHILDRSS_EMAILRSS_EMAIL_CHILDRESUBSCRIBE_EMAILOPTIN_EMAILOPTIN_FOLLOWUP_EMAILAUTOMATED_EMAIL+15
  • afterstring

    The cursor token to retrieve the next page of results. This value is obtained from the `paging.next.after` property of a previous paged response.

  • limitinteger

    The maximum number of emails to return per page. Default is 100, max is 100.

  • archivedboolean

    Specifies whether to include archived emails in the results. Defaults to `false` (archived emails are not returned). Set to `true` to retrieve archived emails.

  • createdAtstring

    Filter emails created at this exact ISO 8601 date-time (e.g., '2023-10-26T10:30:00Z').

  • updatedAtstring

    Filter emails last updated at this exact ISO 8601 date-time (e.g., '2023-10-26T12:45:00Z').

  • isPublishedboolean

    Filter emails based on their publication status: `true` for published emails, `false` for draft emails. If omitted, both published and draft emails are returned.

  • createdAfterstring

    Filter emails created after this ISO 8601 date-time (e.g., '2023-10-26T00:00:00Z').

  • includeStatsboolean

    If `true`, includes statistics (e.g., open rates, click rates) with each email. Defaults to `false`.

  • updatedAfterstring

    Filter emails last updated after this ISO 8601 date-time (e.g., '2023-10-26T00:00:00Z').

  • createdBeforestring

    Filter emails created before this ISO 8601 date-time (e.g., '2023-10-27T00:00:00Z').

  • updatedBeforestring

    Filter emails last updated before this ISO 8601 date-time (e.g., '2023-10-27T00:00:00Z').

  • includedPropertiesstring[]

    A list of specific property names to include in the response for each email object. If omitted, a default set of properties is returned. Consult the HubSpot API documentation for available email properties.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response, typically including a 'results' array of marketing emails and a 'paging' object for navigating through results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get all workflowsHUBSPOT_GET_ALL_WORKFLOWSAcción

Retrieves a list of workflow summaries (id, name, type, status) from hubspot, using the 'limit' parameter for pagination.

Parámetros de entrada

  • limitinteger

    Maximum number of workflows to retrieve per API call, used for pagination.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve page of crm ownersHUBSPOT_GET_A_PAGE_OF_OWNERSAcción

Retrieves a paginated list of crm owners from hubspot, optionally filtering by email or archived status. <<deprecated: use 'retrieve page of crm owners' instead.>>

Parámetros de entrada

  • afterstring

    Pagination token from a previous response to fetch the next page.

  • emailstring

    Filter by a specific email address.

  • limitinteger

    Maximum number of CRM owners per page. Refer to HubSpot's API documentation for current limits.

  • archivedboolean

    Set to `true` for archived owners, or `false` for active owners.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the HubSpot API, typically including 'results' (list of owner objects) and 'paging' details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get a revision of a marketing emailHUBSPOT_GET_A_REVISION_OF_A_MARKETING_EMAILAcción

Retrieves a specific, previously saved revision of a marketing email using its unique email id and revision id.

Parámetros de entrada

  • emailIdstringObligatorio

    The unique identifier of the marketing email whose revision is to be fetched.

  • revisionIdstringObligatorio

    The unique identifier of the specific revision of the marketing email to be retrieved.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the comprehensive details of the specified marketing email revision. The exact structure and content of this dictionary will depend on the data stored for the email revision.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get campaignHUBSPOT_GET_CAMPAIGNAcción

Retrieves a hubspot campaign by its id.

Parámetros de entrada

  • campaignIdstringObligatorio

    Unique HubSpot identifier for the campaign to retrieve.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get campaign metricsHUBSPOT_GET_CAMPAIGN_METRICSAcción

Retrieves key attribution metrics for an existing marketing campaign, identified by its `campaignguid`, within an optional date range.

Parámetros de entrada

  • endDatestring

    The end date (YYYY-MM-DD) for filtering report data.

  • startDatestring

    The start date (YYYY-MM-DD) for filtering report data.

  • campaignGuidstringObligatorio

    The unique identifier (UUID) for the marketing campaign for which to retrieve metrics.

Parámetros de salida

  • dataobjectObligatorio

    Key attribution metrics for the campaign, such as sessions, new contacts, and influenced contacts, as key-value pairs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get campaignsHUBSPOT_GET_CAMPAIGNSAcción

Retrieves multiple hubspot campaigns.

Parámetros de entrada

  • afterstring

    Pagination token from previous response.

  • limitinteger

    Maximum number of campaigns to return.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get draft version of a marketing emailHUBSPOT_GET_DRAFT_VERSION_OF_A_MARKETING_EMAILAcción

Retrieves the draft version of a marketing email by its `emailid`; if no draft exists, returns the published version.

Parámetros de entrada

  • emailIdstringObligatorio

    The unique identifier of the marketing email. Used to fetch its draft version or, if unavailable, its published version.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get emailsHUBSPOT_GET_EMAILSAcción

Retrieves multiple hubspot emails by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of email identifiers to retrieve.

  • archivedboolean

    Filter by archived status.

  • idPropertystring

    Alternate unique identifier property to use.

  • propertiesstring[]Obligatorio

    Email property names to include in the response.

  • propertiesWithHistorystring[]Obligatorio

    Email property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get import record informationHUBSPOT_GET_IMPORT_RECORD_INFORMATIONAcción

Retrieves a comprehensive summary of a specific hubspot crm import record by its `importid`, including status, progress, updates, results, and errors; useful for monitoring and troubleshooting data imports.

Parámetros de entrada

  • importIdintegerObligatorio

    The unique identifier for the import record to retrieve, typically obtained when an import is initiated or from a list of imports.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing comprehensive details of the specified import record. This includes its current status, progress, any updates made to the record, results, and potential errors encountered during the import process.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get Marketing EmailsHUBSPOT_GET_MARKETING_EMAILSAcción

Fetches a list of marketing emails from hubspot, supporting filtering by creation/update timestamps, pagination, and sorting.

Parámetros de entrada

  • sortstring[]

    A list of fields to sort the results by. By default, results are sorted by 'createdAt' in ascending order. Prepend a field name with a hyphen for descending order (e.g., '-name').

  • afterstring

    The paging cursor token from a previous response, used to retrieve the next page of results. If not provided, an initial set of results is returned.

  • limitinteger

    The maximum number of marketing emails to return in a single page.

  • createdAtstring

    Filters marketing emails by their exact creation timestamp. Provide an ISO 8601 date (e.g., YYYY-MM-DD) or a millisecond timestamp.

  • updatedAtstring

    Filters marketing emails by their exact last update timestamp. Provide an ISO 8601 date (e.g., YYYY-MM-DD) or a millisecond timestamp.

  • createdAfterstring

    Filters marketing emails created after the specified timestamp. Provide an ISO 8601 date (e.g., YYYY-MM-DD) or a millisecond timestamp.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get pipeline stage auditHUBSPOT_GET_PIPELINE_STAGE_AUDITAcción

Retrieves a reverse chronological list of all mutations (changes) for a specific pipeline stage; the associated pipeline id is inferred from the api path and is not a direct input.

Parámetros de entrada

  • stageIdstringObligatorio

    The unique identifier of the pipeline stage.

  • objectTypestringObligatorio

    The CRM object type (e.g., 'deals', 'tickets') for the pipeline stage.

  • pipelineIdstringObligatorio

    The unique identifier of the pipeline containing the stage.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing a reverse chronological list of all mutations (changes) that have occurred on the specified pipeline stage.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get productHUBSPOT_GET_PRODUCTAcción

Retrieves a hubspot product by its id.

Parámetros de entrada

  • archivedboolean

    Filter by archived status.

  • productIdstringObligatorio

    Unique HubSpot identifier for the product to retrieve.

  • propertiesstring[]

    Product property names to include in the response.

  • associationsstring[]

    Object types for which to retrieve associated IDs.

  • propertiesWithHistorystring[]

    Property names for which to include historical values.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot product.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get productsHUBSPOT_GET_PRODUCTSAcción

Retrieves multiple hubspot products by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of product identifiers to retrieve.

  • archivedboolean

    Filter by archived status.

  • idPropertystring

    Alternate unique identifier property to use.

  • propertiesstring[]Obligatorio

    Product property names to include in the response.

  • propertiesWithHistorystring[]Obligatorio

    Product property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get quote by idHUBSPOT_GET_QUOTE_BY_IDAcción

Retrieves a specific hubspot quote by its unique identifier.

Parámetros de entrada

  • quoteIdstringObligatorio

    Unique identifier of the quote; can be the HubSpot object ID or a custom unique property value if `idProperty` is specified.

  • archivedboolean

    Specifies whether the quote to retrieve is archived (`True`) or active (`False`).

  • idPropertystring

    Internal name of a unique custom property to use as the quote identifier instead of the HubSpot object ID; this property must have unique values across all quotes.

  • propertiesstring[]

    HubSpot property internal names to include in the response; limits data returned and improves performance. Non-existent properties are ignored.

  • associationsstring[]

    Object type names (e.g., 'deals', 'contacts') for which to retrieve IDs of associated objects; fetches linked CRM object IDs. Non-existent association types are ignored.

  • propertiesWithHistorystring[]

    HubSpot property internal names for which to include historical values; retrieves change history. Non-existent properties or those without history are ignored.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary representing the retrieved quote. Keys are property internal names; structure depends on `properties` and `propertiesWithHistory` request parameters. Associated object IDs are nested under an 'associations' key if `associations` were requested.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get revisions of a marketing emailHUBSPOT_GET_REVISIONS_OF_A_MARKETING_EMAILAcción

Retrieves a paginated list of all historical versions (including full state like content, settings, metadata) for a specified, existing marketing email; revision id -1 identifies the current version.

Parámetros de entrada

  • afterstring

    Cursor for the next page of results, typically from `paging.next.after` in a previous response.

  • limitinteger

    Maximum number of email revisions per page. The API defaults to 100 if this parameter is not provided.

  • beforestring

    Cursor for the previous page of results, typically from `paging.prev.before` in a previous response.

  • emailIdstringObligatorio

    The unique identifier of the marketing email for which revisions are to be fetched.

Parámetros de salida

  • dataobjectObligatorio

    API response data, including `results` (a list of email revision objects, each detailing a historical version's full state; revision ID -1 marks the current version) and `paging` information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get specific event template for appHUBSPOT_GET_SPECIFIC_EVENT_TEMPLATE_FOR_APPAcción

Retrieves detailed information about a specific event template for a given application in hubspot's crm timeline.

Parámetros de entrada

  • appIdintegerObligatorio

    The ID of the target application for which the event template is being retrieved. This parameter is required and ensures the template lookup is specific to an app integration within HubSpot. The appId must be a valid, existing app ID in your HubSpot account.

  • eventTemplateIdstringObligatorio

    The unique identifier of the event template. This ID is assigned by HubSpot when the template is created. It is required and must be a valid, existing template ID associated with the specified app.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the details of a specified marketing emailHUBSPOT_GET_THE_DETAILS_OF_A_SPECIFIED_MARKETING_EMAILAcción

Retrieves detailed information for a specific marketing email in hubspot using its unique email id, optionally including performance statistics and specific properties.

Parámetros de entrada

  • emailIdstringObligatorio

    The unique identifier of the marketing email to retrieve.

  • archivedboolean

    Filter by archived status: `true` for archived, `false` for not archived. Omit to retrieve regardless of archived status.

  • includeStatsboolean

    Whether to include performance statistics (e.g., open rates, click-through rates) with the email details.

  • includedPropertiesstring[]

    Specific marketing email property names to include in the response (e.g., "name", "subject", "createdById"). If omitted, a default set of properties is returned.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and details of the retrieved marketing email.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get the variation of an A/B marketing emailHUBSPOT_GET_THE_VARIATION_OF_A_AN_AB_MARKETING_EMAILAcción

Retrieves the alternate variation of a specified a/b marketing email; the `emailid` must identify an email currently in an a/b test.

Parámetros de entrada

  • emailIdstringObligatorio

    The unique identifier of the A/B marketing email. If this ID refers to variation A, the details for variation B will be returned, and vice-versa.

Parámetros de salida

  • dataobjectObligatorio

    Properties and content of the alternate A/B marketing email variation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ticketHUBSPOT_GET_TICKETAcción

Retrieves a hubspot ticket by its id.

Parámetros de entrada

  • archivedboolean

    Filter by archived status.

  • ticketIdstringObligatorio

    Unique HubSpot identifier for the ticket to retrieve.

  • propertiesstring[]

    Ticket property names to include in the response.

  • associationsstring[]

    Object types for which to retrieve associated IDs.

  • propertiesWithHistorystring[]

    Property names for which to include historical values.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot ticket.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get ticketsHUBSPOT_GET_TICKETSAcción

Retrieves multiple hubspot tickets by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of ticket identifiers to retrieve.

  • archivedboolean

    Filter by archived status.

  • idPropertystring

    Alternate unique identifier property to use.

  • propertiesstring[]Obligatorio

    Ticket property names to include in the response.

  • propertiesWithHistorystring[]Obligatorio

    Ticket property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workflow by IDHUBSPOT_GET_WORKFLOW_BY_IDAcción

Retrieves comprehensive details for an existing hubspot workflow by its unique id; unsupported actions are designated 'unsupported action' in the response.

Parámetros de entrada

  • workflow_idstringObligatorio

    The unique identifier of the HubSpot workflow to retrieve. This ID can be found by using the 'Get all workflows' action or from the URL when viewing a workflow in the HubSpot UI.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get workflow email campaignsHUBSPOT_GET_WORKFLOW_EMAIL_CAMPAIGNSAcción

Retrieves email campaigns associated with a specific hubspot workflow id.

Parámetros de entrada

  • limitinteger

    Maximum number of email campaigns to retrieve.

  • workflow_idstringObligatorio

    The unique ID of an existing HubSpot workflow for which to fetch associated email campaigns.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive companiesHUBSPOT_HUBSPOT_ARCHIVE_COMPANIESAcción

Archives multiple hubspot companies by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of company objects, each specifying the ID of the company to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data from the API. Typically, a successful request returns a 204 No Content response if the batch archive was successful.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive contactHUBSPOT_HUBSPOT_ARCHIVE_CONTACTAcción

Archives a hubspot contact by its id.

Parámetros de entrada

  • contactIdstringObligatorio

    Unique HubSpot CRM identifier (typically numeric or UUID) for the contact to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive contactsHUBSPOT_HUBSPOT_ARCHIVE_CONTACTSAcción

Archives multiple hubspot contacts by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact objects, each specifying the ID of the contact to be archived.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the response data from the API. Typically, a successful request to this endpoint returns a 204 No Content response if the batch archive was successful, meaning this field might be empty or not present for successful operations. If there are errors, this field may contain details about them.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive dealsHUBSPOT_HUBSPOT_ARCHIVE_DEALSAcción

Archives multiple hubspot deals by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of deal objects to be archived.

Parámetros de salida

  • dataobjectObligatorio

    Response data from the API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create companiesHUBSPOT_HUBSPOT_CREATE_COMPANIESAcción

Creates multiple new hubspot companies in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of company objects to create. Each object represents one new company with its properties.

Parámetros de salida

  • dataobjectObligatorio

    The raw response data from the API detailing the outcome of the batch creation request. This typically includes a list of the created company objects and may also contain information about any errors encountered for companies that failed to create.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create contactsHUBSPOT_HUBSPOT_CREATE_CONTACTSAcción

Creates multiple new hubspot contacts in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact objects to create. Each object represents one new contact with its properties and optional associations.

Parámetros de salida

  • dataobjectObligatorio

    The response from the HubSpot API. This typically includes a 'status' field (e.g., 'COMPLETE'), a 'results' list with details for each created contact, and 'startedAt'/'completedAt' timestamps. If errors occurred, 'errors' may also be present.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create dealsHUBSPOT_HUBSPOT_CREATE_DEALSAcción

Creates multiple deals in hubspot crm; ensure any associated object ids, deal stages, and pipeline ids specified are valid and exist within the hubspot account.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of deal objects to create, each defining its properties and associations with other CRM objects.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response, including results for each deal creation attempt.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get companyHUBSPOT_HUBSPOT_GET_COMPANYAcción

Retrieves a hubspot company by its id.

Parámetros de entrada

  • archivedboolean

    Set to true to include only archived companies; defaults to false (active companies).

  • companyIdstringObligatorio

    Unique HubSpot identifier for the company to retrieve.

  • propertiesstring[]

    Company property names to include in the response; if omitted, all available properties are returned.

  • associationsstring[]

    Object types (e.g., 'contacts', 'deals') to include associated object IDs in the response.

  • propertiesWithHistorystring[]

    Property names for which to include current and historical values in the response.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot company, dependent on 'properties', 'propertiesWithHistory', and 'associations' request parameters.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get contact IDsHUBSPOT_HUBSPOT_GET_CONTACT_IDSAcción

Gets hubspot contact ids for a specified campaign and contact interaction type.

Parámetros de entrada

  • afterstring

    A pagination cursor. Used to fetch the next set of results. Provide the 'after' value from a previous response to get subsequent pages. Example: NTI1Cg%3D%3D

  • limitinteger

    The maximum number of contact IDs to return in a single request. Default is 100.

  • endDatestring

    The end date for filtering report data, formatted as YYYY-MM-DD. If not provided, defaults to the current date.

  • startDatestring

    The start date for filtering report data, formatted as YYYY-MM-DD. If not provided, defaults to 2006-01-01.

  • contactTypestringObligatorio

    The type of contact interaction to filter by. Allowed values: 'contactFirstTouch' (contacts whose first interaction was with this campaign), 'contactLastTouch' (contacts whose last interaction before a key event was with this campaign), 'influencedContacts' (all contacts who interacted with assets of this campaign).

  • campaignGuidstringObligatorio

    The unique identifier (UUID) of the campaign for which to fetch contact IDs.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of contact IDs and any relevant pagination details. Typically includes a 'results' key with a list of contact objects/IDs and a 'paging' key for 'next' page cursor.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dealHUBSPOT_HUBSPOT_GET_DEALAcción

Retrieves a hubspot deal by its id.

Parámetros de entrada

  • dealIdstringObligatorio

    Unique HubSpot identifier for the deal to retrieve.

  • archivedboolean

    Set to true to include only archived deals; defaults to false (active deals).

  • propertiesstring[]

    Deal property names to include in the response; if omitted, all available properties are returned.

  • associationsstring[]

    Object types (e.g., 'contacts', 'companies') for which to retrieve associated IDs.

  • propertiesWithHistorystring[]

    Property names for which to include current and historical values in the response.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot deal, dependent on request parameters.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get dealsHUBSPOT_HUBSPOT_GET_DEALSAcción

Retrieves multiple hubspot deals by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of deal identifiers to retrieve.

  • archivedboolean

    Filter by archived status.

  • idPropertystring

    Alternate unique identifier property to use for retrieving deals.

  • propertiesstring[]Obligatorio

    Deal property names to include in the response.

  • propertiesWithHistorystring[]Obligatorio

    Deal property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List products with pagingHUBSPOT_HUBSPOT_HUBSPOT_LIST_PRODUCTS_WITH_PAGINGAcción

Retrieves a paginated list of products from hubspot crm, optionally including specific properties, their history, associated object ids, and filtering by archived status.

Parámetros de entrada

  • afterstring

    Token for fetching the next page; typically the `paging.next.after` value from a previous response.

  • limitinteger

    Number of products per page (1-100).

  • archivedboolean

    Set to `true` to retrieve only archived products, `false` for active.

  • propertiesstring[]

    Specific product property names to include (e.g., 'name', 'price'); non-existent ones are ignored. If omitted, a default set of properties is returned.

  • associationsstring[]

    Object types (e.g., 'deal', 'company') for which to retrieve associated IDs; non-existent ones are ignored.

  • propertiesWithHistorystring[]

    Product property names for which to include historical values (e.g., 'price'); may reduce products returned per request due to increased response size.

Parámetros de salida

  • dataobjectObligatorio

    API response data, typically a dictionary with a list of products and HubSpot pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List companiesHUBSPOT_HUBSPOT_LIST_COMPANIESAcción

Retrieves a paginated list of hubspot companies.

Parámetros de entrada

  • afterstring

    Pagination token from `paging.next.after` of a previous response, used to fetch the subsequent page. Omit for the first page.

  • limitinteger

    Maximum number of companies to return per page, controlling pagination size (default: 10).

  • archivedboolean

    Boolean flag to filter companies by archived status: `true` returns only archived companies; `false` (default) returns only active companies.

  • propertiesstring[]

    List of company property internal names to include in the response (e.g., 'name', 'domain'). If omitted, a default set of properties is returned.

  • associationsstring[]

    List of object types (e.g., 'contacts', 'deals') for which to retrieve associated IDs with each company.

  • propertiesWithHistorystring[]

    List of property internal names for which to retrieve historical values (e.g., 'industry'). If no history exists for a property, only its current value is returned.

Parámetros de salida

  • dataobjectObligatorio

    The API response, typically a dictionary including a list of companies and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List contactsHUBSPOT_HUBSPOT_LIST_CONTACTSAcción

Retrieves a paginated list of hubspot contacts.

Parámetros de entrada

  • afterstring

    Pagination token from `paging.next.after` of a previous response, used to fetch the subsequent page. Omit for the first page.

  • limitinteger

    Maximum number of contacts to return per page, controlling pagination size (default: 5).

  • archivedboolean

    Boolean flag to filter contacts by archived status: `true` returns only archived contacts; `false` (default) returns only active (non-archived) contacts.

  • propertiesstring[]

    List of contact property internal names to include in the response (e.g., "email", "firstname"). If omitted, a default set of properties is returned.

  • associationsstring[]

    List of object types (e.g., "companies", "deals") for which to retrieve associated IDs with each contact.

  • propertiesWithHistorystring[]

    List of property internal names for which to retrieve historical values (e.g., "lifecyclestage"). If no history exists for a property, only its current value is returned.

Parámetros de salida

  • dataobjectObligatorio

    The API response, typically a dictionary including a list of contacts and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List dealsHUBSPOT_HUBSPOT_LIST_DEALSAcción

Retrieves a paginated list of hubspot deals.

Parámetros de entrada

  • afterstring

    Pagination token from previous response to fetch the subsequent page.

  • limitinteger

    Maximum number of deals to return per page (default: 10).

  • archivedboolean

    Filter by archived status: true for archived deals, false for active deals.

  • propertiesstring[]

    List of deal property names to include in the response.

  • associationsstring[]

    List of object types for which to retrieve associated IDs.

  • propertiesWithHistorystring[]

    List of property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio

    The API response including a list of deals and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge contactsHUBSPOT_HUBSPOT_MERGE_CONTACTSAcción

Merges two hubspot contacts into one.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the contact record that will be merged into the primary contact record. This contact will be deleted after the merge.

  • primaryObjectIdstringObligatorio

    The ID of the contact record that will remain after the merge and will absorb the information from the contact specified by `objectIdToMerge`. The merged contact will retain this ID.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge dealsHUBSPOT_HUBSPOT_MERGE_DEALSAcción

Merges two hubspot deals into one.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the deal that will be merged into the primary deal.

  • primaryObjectIdstringObligatorio

    The ID of the deal that will remain after the merge.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read contactHUBSPOT_HUBSPOT_READ_CONTACTAcción

Retrieves a hubspot contact by its id.

Parámetros de entrada

  • archivedboolean

    Set to true to include only archived contacts; defaults to false (active contacts).

  • contactIdstringObligatorio

    Unique internal HubSpot CRM object ID for the contact, which must be valid and existing.

  • propertiesstring[]

    Contact property names to include in the response; if omitted, all available properties are returned.

  • associationsstring[]

    Object types (e.g., 'companies', 'deals') to include associated object IDs in the response.

  • propertiesWithHistorystring[]

    Property names for which to include current and historical values in the response.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot CRM contact, dependent on 'properties', 'propertiesWithHistory', and 'associations' request parameters.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read contactsHUBSPOT_HUBSPOT_READ_CONTACTSAcción

Reads multiple hubspot contacts by their ids.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact identifiers to retrieve. Each object in the list should contain an `id` (or the `idProperty` if specified) of a contact.

  • archivedboolean

    Specifies if only archived contacts should be returned (`true`), or only non-archived contacts (`false`).

  • idPropertystring

    The name of an alternate unique identifier property to use for retrieving contacts. If specified, the `inputs` objects should provide values for this property instead of the default `id`.

  • propertiesstring[]Obligatorio

    Contact property names to include in the response; a default set is returned if unspecified.

  • propertiesWithHistorystring[]Obligatorio

    Contact property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove dealHUBSPOT_HUBSPOT_REMOVE_DEALAcción

Removes a hubspot deal by its id.

Parámetros de entrada

  • dealIdstringObligatorio

    Unique HubSpot identifier for the deal to be removed.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search companiesHUBSPOT_HUBSPOT_SEARCH_COMPANIESAcción

Searches for hubspot companies using flexible criteria and filters.

Parámetros de entrada

  • afterstring

    Pagination cursor; use `paging.next.after` from a previous response to fetch the next page.

  • limitinteger

    Maximum number of company records to return.

  • querystring

    String to search across default text properties of company records.

  • sortsobject[]

    List of sort objects to define the order of results.

  • propertiesstring[]

    HubSpot company property internal names to include in the response; a default set is returned if unspecified.

  • filterGroupsobject[]

    List of filter groups; filters within a group are ANDed, and multiple groups are ORed.

  • custom_propertiesstring[]

    Custom company property internal names (not in `HubSpotCompanyProperties` enum) to include in the response.

Parámetros de salida

  • dataobjectObligatorio

    Search results from the HubSpot API, including company objects and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search dealsHUBSPOT_HUBSPOT_SEARCH_DEALSAcción

Searches for hubspot deals using flexible criteria and filters.

Parámetros de entrada

  • afterstring

    Pagination token from a previous response's `paging.next.after` to fetch the next page; omit for the first page.

  • limitinteger

    Maximum number of deal records to return.

  • querystring

    String to search across default text properties in deals for records containing this string.

  • sortsobject[]

    Sort order for results. If multiple sort objects are provided, they are applied in the given order.

  • propertiesstring[]

    Specific HubSpot deal property internal names to include in the response; a default set is returned if omitted.

  • filterGroupsobject[]

    Filter groups to apply to the search. Filters within a group are ANDed; groups are ORed.

  • custom_propertiesstring[]

    User-defined custom property internal names (not standard HubSpot properties) to include in the response.

Parámetros de salida

  • dataobjectObligatorio

    Search results, including a list of matching deals (under 'results' key) and pagination information (under 'paging' key if applicable).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update companiesHUBSPOT_HUBSPOT_UPDATE_COMPANIESAcción

Updates multiple hubspot companies in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of company update operations, each specifying company 'id' and 'properties' with new values.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response: includes operation 'status', 'results' list of updated companies, potential 'errors', and timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update companyHUBSPOT_HUBSPOT_UPDATE_COMPANYAcción

Updates properties for an existing hubspot company.

Parámetros de entrada

  • companyIdstringObligatorio

    Unique HubSpot identifier for the company to be updated.

  • propertiesobjectObligatorio

    Company properties to update. Keys are internal HubSpot property names (e.g., 'name', 'domain'); use an empty string as a value to clear a property. Read-only properties are ignored.

Parámetros de salida

  • dataobjectObligatorio

    The company object after the update, including all its properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update contactHUBSPOT_HUBSPOT_UPDATE_CONTACTAcción

Updates properties for an existing hubspot contact.

Parámetros de entrada

  • contactIdstringObligatorio

    Unique HubSpot identifier for the contact to be partially updated.

  • propertiesobjectObligatorio

    Contact properties to update. Keys are internal HubSpot property names (e.g., `firstname`, `email`); use an empty string as a value to clear a property. Read-only properties are ignored.

Parámetros de salida

  • dataobjectObligatorio

    The contact object after the partial update, including all its properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update contactsHUBSPOT_HUBSPOT_UPDATE_CONTACTSAcción

Updates multiple hubspot contacts in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of contact update operations, each specifying contact 'id' (VID) and 'properties' with new values.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response: includes operation 'status' (e.g., 'PENDING', 'COMPLETE'), 'results' list of updated contacts, potential 'errors', and 'startedAt'/'completedAt' timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update dealHUBSPOT_HUBSPOT_UPDATE_DEALAcción

Updates properties for an existing hubspot deal.

Parámetros de entrada

  • dealIdstringObligatorio

    Unique HubSpot identifier for the deal to be updated.

  • propertiesobjectObligatorio

    Deal properties to update. Keys are internal HubSpot property names; use empty string to clear a property.

Parámetros de salida

  • dataobjectObligatorio

    The deal object after the update, including all its properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update dealsHUBSPOT_HUBSPOT_UPDATE_DEALSAcción

Updates multiple hubspot deals in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of deal update operations.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response with operation status and results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Initiate data import processHUBSPOT_INITIATE_DATA_IMPORT_PROCESSAcción

Call this action to start an asynchronous data import into hubspot crm using uploaded files and a detailed `importrequest` json configuration, ensuring this json correctly maps file columns to hubspot properties and files align with these mappings.

Parámetros de entrada

  • filesobjectbinary

    The binary content of the file(s) to be imported. Supported formats typically include CSV, XLSX, and XLS. Ensure the file structure aligns with the mappings defined in `importRequest`.

  • importRequeststring

    A JSON string specifying the configuration for the import process. This configuration dictates how data from the uploaded file(s) is mapped and imported into HubSpot. Key properties include `name` (a descriptive name for the import, e.g., "Q3 Contact Import"), `dateFormat` (e.g., 'MONTH_DAY_YEAR', 'DAY_MONTH_YEAR'), `importOperations` (defines if the import should create and update, only create, or only update records, e.g., 'CREATE_AND_UPDATE'), and `files` (an array detailing each file, its format, and `columnMappings`). The `columnMappings` are crucial as they map spreadsheet columns to HubSpot CRM object properties (e.g., map 'Email Address' column to 'CONTACT' object's 'email' property).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing details of the initiated import process. This typically includes an `id` for the import job, its current `state` (e.g., 'PENDING'), and other relevant metadata from HubSpot.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Create company objectHUBSPOT_INSTANTIATE_AND_RETURN_NEW_COMPANY_OBJECTAcción

Deprecated: creates a new hubspot crm company object with given properties and associations; use create company object instead.

Parámetros de entrada

  • zipstring

    The postal or ZIP code of the company.

  • citystring

    The city where the company is located.

  • namestring

    The name of the company.

  • typestring

    The type or category of the company.

  • phonestring

    The company's phone number.

  • statestring

    The state or region where the company is located.

  • domainstring

    The company's domain name.

  • addressstring

    The company's street address.

  • countrystring

    The country where the company is located.

  • websitestring

    The company's website URL.

  • about_usstring

    Detailed information about the company.

  • address2string

    Additional address information.

  • hs_scorestring

    The HubSpot score of the company.

  • industrystring

    The industry sector of the company.

  • timezonestring

    The timezone of the company's primary location.

  • is_publicstring

    Whether the company is publicly traded.

  • createdatestring

    The date when the company record was created.

  • descriptionstring

    A brief description of the company.

  • associationsobject[]

    Associations represent the relationships between objects and activities in the HubSpot CRM.

  • founded_yearstring

    The year the company was founded.

  • annualrevenuestring

    The annual revenue of the company.

  • twitterhandlestring

    The company's Twitter handle.

  • hs_lead_statusstring

    The lead status of the company in HubSpot.

  • lifecyclestagestring

    The lifecycle stage of the company.

  • parent_companystring

    The parent company, if applicable.

  • hubspot_owner_idstring

    The HubSpot owner ID associated with the company.

  • custom_propertiesobject

    Custom properties of the Contact object to be set. For example {`custom_property_1`: `value for custom property 1`, `custom_property_2`: `value for custom property 2`}.

  • numberofemployeesstring

    The number of employees in the company.

  • notes_last_updatedstring

    The date when the company notes were last updated.

  • hs_lastmodifieddatestring

    The date when the company record was last modified.

  • facebook_company_pagestring

    The company's Facebook page URL.

  • linkedin_company_pagestring

    The company's LinkedIn page URL.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List EmailsHUBSPOT_LISTAcción

Retrieves a paginated list of hubspot emails, allowing selection of specific properties (with or without history), associated object ids, and filtering by archive status.

Parámetros de entrada

  • afterstring

    Cursor for pagination; use `paging.next.after` from a previous response for the next page.

  • limitinteger

    Maximum number of email records per page.

  • archivedboolean

    Set to `True` to retrieve only archived emails, `False` (default) for non-archived emails.

  • propertiesstring[]

    List of valid HubSpot email property names to include. If a requested property doesn't exist on a record, it's omitted from that record's response.

  • associationsstring[]

    List of valid HubSpot CRM object types (e.g., 'contact', 'deal') for which to retrieve associated IDs. If an association type is invalid or doesn't exist for an email, it's ignored for that email.

  • propertiesWithHistorystring[]

    List of valid HubSpot email property names to retrieve with history. If a requested property doesn't exist, it's ignored.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List all event templates for appHUBSPOT_LIST_ALL_EVENT_TEMPLATES_FOR_APPAcción

Retrieves all event templates associated with a valid `appid` for an existing application in hubspot's crm timeline.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique integer identifier for the target HubSpot application.

Parámetros de salida

  • dataobjectObligatorio

    API response, typically including a list of event template objects and potential paging details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List assetsHUBSPOT_LIST_ASSETSAcción

Lists assets of a specific `assettype` for a given hubspot marketing `campaignguid`, optionally including performance metrics for a date range.

Parámetros de entrada

  • afterstring

    Pagination cursor from 'paging.next.after' of a previous response; results will begin after this cursor.

  • limitstring

    Maximum number of assets to return per response (positive integer).

  • endDatestring

    End date (YYYY-MM-DD, inclusive) for asset performance metrics. Metrics are not fetched if `startDate` or `endDate` is missing/invalid.

  • assetTypestringObligatorio

    The specific type of asset to retrieve (e.g., BLOG_POST, LANDING_PAGE); only one asset type per request.

  • startDatestring

    Start date (YYYY-MM-DD, inclusive) for asset performance metrics. Metrics are not fetched if `startDate` or `endDate` is missing/invalid.

  • campaignGuidstringObligatorio

    Unique identifier (UUID) of an existing marketing campaign whose assets are to be listed.

Parámetros de salida

  • dataobjectObligatorio

    API response dictionary, typically including 'results' (array of asset objects) and 'paging' (pagination details like 'next.after' cursor).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List association typesHUBSPOT_LIST_ASSOCIATION_TYPESAcción

Lists all valid association types between two specified hubspot crm object types.

Parámetros de entrada

  • toObjectTypestringObligatorio

    The type of the second object in the association (e.g., contact, company, deal).

  • fromObjectTypestringObligatorio

    The type of the first object in the association (e.g., contact, company, deal).

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results, where keys are typically 'results' holding a list of association types.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List contacts pageHUBSPOT_LIST_CONTACTS_PAGEAcción

Retrieves a paginated list of hubspot contacts, optionally specifying properties, historical values, and associations; ensure provided property and association names are valid hubspot internal names.

Parámetros de entrada

  • afterstring

    Pagination token from `paging.next.after` of a previous response, used to fetch the subsequent page. Omit for the first page.

  • limitinteger

    Maximum number of contacts to return per page, controlling pagination size (default: 5).

  • archivedboolean

    Boolean flag to filter contacts by archived status: `true` returns only archived contacts; `false` (default) returns only active (non-archived) contacts.

  • propertiesstring[]

    List of contact property internal names to include in the response (e.g., "email", "firstname"). If omitted, a default set of properties is returned.

  • associationsstring[]

    List of object types (e.g., "companies", "deals") for which to retrieve associated IDs with each contact.

  • propertiesWithHistorystring[]

    List of property internal names for which to retrieve historical values (e.g., "lifecyclestage"). If no history exists for a property, only its current value is returned.

Parámetros de salida

  • dataobjectObligatorio

    The API response, typically a dictionary including a list of contacts and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List feedback submissions pageHUBSPOT_LIST_FEEDBACK_SUBMISSIONS_PAGEAcción

Retrieves a paginated list of feedback submissions from hubspot, allowing specification of properties (including history), associated object ids, and filtering by archive status.

Parámetros de entrada

  • afterstring

    The pagination token to retrieve the next page of results. This value is obtained from the `paging.next.after` field of a previous response. If omitted, the first page is returned. Use with `limit` for iterating through large sets of feedback submissions.

  • limitinteger

    The maximum number of feedback submissions to return per page. Using smaller values can lead to quicker responses, while larger values reduce the total number of API calls for large datasets.

  • archivedboolean

    Specifies whether to include archived feedback submissions. Set to `True` to retrieve only archived submissions. `False` (default) retrieves only active (non-archived) submissions. Useful for accessing historical or managing archived feedback.

  • propertiesstring[]

    List of HubSpot internal property names to include for each feedback submission in the response (e.g., `hs_sentiment`, `hs_survey_name`, `hs_content`). If specified, only these properties are returned. If a property doesn't exist for a submission, it's ignored. If omitted, a default set of properties is returned.

  • associationsstring[]

    List of object types (e.g., `contact`, `survey`, `ticket`) for which to retrieve associated IDs. This allows fetching IDs of related objects. If an association doesn't exist for a submission, it's ignored.

  • propertiesWithHistorystring[]

    List of HubSpot internal property names for which to include historical values. The response includes both current and past values for these properties. Requesting history may affect the number of submissions returned per page due to increased response size.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the HubSpot API, typically including a `results` field (list of feedback submission objects) and a `paging` field (pagination tokens).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List page of ticketsHUBSPOT_LIST_PAGE_OF_TICKETSAcción

Retrieves a paginated list of tickets from hubspot crm, allowing specification of properties to return, properties with history, associated object types, and archival status; use the `after` token from a previous response to fetch subsequent pages.

Parámetros de entrada

  • afterstring

    Cursor token from `paging.next.after` of a previous response to get the next page of results.

  • limitinteger

    Maximum number of tickets per page (1-100). Controls response data volume.

  • archivedboolean

    Filter tickets by archival status. `true` for archived only, `false` for non-archived only. Cannot retrieve both simultaneously.

  • propertiesstring[]

    List of ticket property internal names to include. Optimizes response by requesting only needed properties; non-existent properties for a ticket are omitted.

  • associationsstring[]

    List of object types (e.g., 'contact', 'company') to retrieve associated object IDs for. Includes standard and custom CRM objects; non-existent associations for a ticket are ignored.

  • propertiesWithHistorystring[]

    List of ticket property internal names to include historical values for, showing change history. May increase data load; use judiciously.

Parámetros de salida

  • dataobjectObligatorio

    The raw JSON response from the HubSpot API. This typically includes a `results` key, which is a list of ticket objects, and may include a `paging` key with a `next.after` token for fetching subsequent pages if more results are available.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List quotes pageHUBSPOT_LIST_QUOTES_PAGEAcción

Retrieves a paginated list of quotes, allowing selection of specific properties, property history, associated object ids, and filtering by archived status.

Parámetros de entrada

  • afterstring

    Pagination token from a previous response's `paging.next.after` property to fetch the subsequent page. Use the exact token provided by the API; do not modify it.

  • limitinteger

    Maximum number of quotes to return per page.

  • archivedboolean

    If true, returns only archived quotes. If false, returns only active (non-archived) quotes.

  • propertiesstring[]

    A list of quote property names to include in the response for each quote (e.g., `hs_title`, `hs_quote_amount`). Non-existent properties for a quote are ignored. If omitted, a default set of properties is returned.

  • associationsstring[]

    A list of object types (e.g., `contacts`, `companies`, `deals`) for which to retrieve IDs of associated records. Non-existent association types or associations for a specific quote are ignored.

  • propertiesWithHistorystring[]

    A list of quote property names for which historical values should be included (e.g., `hs_quote_amount`, `hs_expiration_date`). Using this may reduce the maximum number of quotes returnable per request due to increased data volume.

Parámetros de salida

  • dataobjectObligatorio

    The API response data, typically including a list of quotes and pagination information (`paging`).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List ticketsHUBSPOT_LIST_TICKETSAcción

Retrieves a paginated list of hubspot tickets.

Parámetros de entrada

  • afterstring

    Pagination token from previous response.

  • limitinteger

    Maximum number of tickets to return per page.

  • archivedboolean

    Filter by archived status.

  • propertiesstring[]

    List of ticket property names to include in the response.

  • associationsstring[]

    List of object types for which to retrieve associated IDs.

  • propertiesWithHistorystring[]

    List of property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio

    API response including list of tickets and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge emailsHUBSPOT_MERGE_EMAILSAcción

Merges two hubspot emails into one.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the email that will be merged into the primary email.

  • primaryObjectIdstringObligatorio

    The ID of the email that will remain after the merge.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge productsHUBSPOT_MERGE_PRODUCTSAcción

Merges two hubspot products into one.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the product that will be merged into the primary product.

  • primaryObjectIdstringObligatorio

    The ID of the product that will remain after the merge.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge ticketsHUBSPOT_MERGE_TICKETSAcción

Merges two hubspot tickets into one.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the ticket that will be merged into the primary ticket.

  • primaryObjectIdstringObligatorio

    The ID of the ticket that will remain after the merge.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two companies of same typeHUBSPOT_MERGE_TWO_COMPANIES_OF_SAME_TYPEAcción

Merges two existing company records of the same type in hubspot crm, where `objectidtomerge` is absorbed into `primaryobjectid`; this operation is irreversible.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the company record that will be merged into the primary company record and subsequently deleted.

  • primaryObjectIdstringObligatorio

    The ID of the company record that will remain as the primary record after the merge, absorbing the information from the other company.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two contacts of same typeHUBSPOT_MERGE_TWO_CONTACTS_OF_SAME_TYPEAcción

Merges a hubspot contact (`objectidtomerge`) into another contact (`primaryobjectid`), deleting the former and making `primaryobjectid` absorb its data; this irreversible action is used for deduplicating contacts of the same type.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the contact record that will be merged into the primary contact record. This contact will be deleted after the merge.

  • primaryObjectIdstringObligatorio

    The ID of the contact record that will remain after the merge and will absorb the information from the contact specified by `objectIdToMerge`. The merged contact will retain this ID.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two deals of same typeHUBSPOT_MERGE_TWO_DEALS_OF_SAME_TYPEAcción

Permanently merges two hubspot crm deals of the same type, typically to eliminate duplicates or consolidate related sales opportunities.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The unique identifier of the deal to be merged into the `primaryObjectId` deal. This deal will be archived after the merge process is completed.

  • primaryObjectIdstringObligatorio

    The unique identifier of the primary deal that will persist after the merge. It will incorporate data from the deal specified by `objectIdToMerge`.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two emails with same typeHUBSPOT_MERGE_TWO_EMAILS_WITH_SAME_TYPEAcción

Merges two existing, same-type hubspot crm emails: `objectidtomerge` is absorbed into `primaryobjectid` and then deleted; use for de-duplication, this action is irreversible.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    ID of the email to be merged; it will be deleted after this operation.

  • primaryObjectIdstringObligatorio

    ID of the primary email that absorbs the other and is retained.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two feedback submissionsHUBSPOT_MERGE_TWO_FEEDBACK_SUBMISSIONSAcción

Merges two existing feedback submissions by id, primarily for consolidating duplicates or related feedback; this operation is irreversible, and `primaryobjectid` values take precedence in conflicts.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The unique identifier of the feedback submission to be merged into the primary one. This submission will be absorbed and typically archived or deleted after the merge process.

  • primaryObjectIdstringObligatorio

    The unique identifier of the feedback submission that will remain as the primary record after the merge. It will contain the combined information from both submissions.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the merged feedback submission object, including its properties and values after the merge.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two line items of same typeHUBSPOT_MERGE_TWO_LINE_ITEMS_OF_SAME_TYPEAcción

Merges two line items, `objectidtomerge` into `primaryobjectid`, which must be of the same type; `objectidtomerge` is absorbed and the operation is irreversible.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the line item that will be merged into the primary line item. This line item will be absorbed and will no longer exist as a separate entity after the merge.

  • primaryObjectIdstringObligatorio

    The ID of the primary line item that will remain after the merge. Its record will be updated with data from the line item specified by `objectIdToMerge`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the properties of the merged primary line item after the merge operation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two objects of same typeHUBSPOT_MERGE_TWO_OBJECTS_OF_SAME_TYPEAcción

Merges two distinct hubspot crm objects of the same `objecttype`, consolidating data into `primaryobjectid` (which is preserved) and deleting `objectidtomerge`; this operation is permanent and irreversible.

Parámetros de entrada

  • objectTypestringObligatorio

    The CRM object type (e.g., 'contacts', 'companies') of the two records to merge. Must be a valid object type in your HubSpot account.

  • objectIdToMergestringObligatorio

    ID of the object to be merged into the primary object and subsequently deleted.

  • primaryObjectIdstringObligatorio

    ID of the object that will remain after the merge, into which data from `objectIdToMerge` is consolidated.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two products of the same typeHUBSPOT_MERGE_TWO_PRODUCTS_OF_THE_SAME_TYPEAcción

To de-duplicate or combine product variants, merges two existing, same-type hubspot product records by consolidating `objectidtomerge` into `primaryobjectid`; `objectidtomerge` is archived/deleted, and the operation is irreversible.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The ID of the product record to be merged into the primary product record. This product record will be archived or deleted after a successful merge.

  • primaryObjectIdstringObligatorio

    The ID of the product record that will remain after the merge and into which data from `objectIdToMerge` will be consolidated.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and details of the merged product, reflecting the state of the `primaryObjectId` product after consolidation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two quotes of same typeHUBSPOT_MERGE_TWO_QUOTES_OF_SAME_TYPEAcción

Merges two distinct quotes of the same type by consolidating `objectidtomerge` into `primaryobjectid` (e.g., for combining information or updating terms); this operation is irreversible.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    The unique identifier of the quote to be merged into the primary quote. This quote will be archived after the merge.

  • primaryObjectIdstringObligatorio

    The unique identifier of the quote that will remain after the merge and will be updated with information from the other quote. Its properties take precedence in case of conflicts.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Merge two tickets of same typeHUBSPOT_MERGE_TWO_TICKETS_OF_SAME_TYPEAcción

Merges two existing hubspot tickets of the same type, where `objectidtomerge` (which is then deactivated) is absorbed into `primaryobjectid`.

Parámetros de entrada

  • objectIdToMergestringObligatorio

    ID of the ticket to merge into the primary ticket; this ticket will be deactivated.

  • primaryObjectIdstringObligatorio

    ID of the primary ticket that remains active and absorbs the other ticket's information.

Parámetros de salida

  • dataobjectObligatorio

    Details of the merged ticket.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Modify calling extension settingsHUBSPOT_MODIFY_CALLING_EXTENSION_SETTINGSAcción

Updates settings (e.g., display name, ui url/dimensions, feature flags) for an existing calling extension app, identified by `appid`.

Parámetros de entrada

  • urlstring

    URL to the phone/calling UI, which should be built using the HubSpot Calling SDK.

  • namestring

    User-facing display name of the calling service.

  • appIdintegerObligatorio

    The unique ID of the target app whose calling extension settings are being modified.

  • widthinteger

    Target width (pixels) of the iframe embedding the phone/calling UI.

  • heightinteger

    Target height (pixels) of the iframe embedding the phone/calling UI.

  • isReadyboolean

    If `true`, the calling service appears as an option under the 'Call' action in contact records.

  • supportsCustomObjectsboolean

    Indicates if the calling service is compatible with HubSpot's engagement V2 service and custom objects.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing the updated settings of the calling extension.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update contactHUBSPOT_PARTIALLY_UPDATE_CONTACT_USING_CONTACT_IDAcción

Partially updates specified properties for an existing hubspot contact, identified by its valid `contactid`.

Parámetros de entrada

  • contactIdstringObligatorio

    Unique HubSpot identifier for the contact to be partially updated.

  • propertiesobjectObligatorio

    Contact properties to update. Keys are internal HubSpot property names (e.g., `firstname`, `email`); use an empty string as a value to clear a property. Read-only properties are ignored.

Parámetros de salida

  • dataobjectObligatorio

    The contact object after the partial update, including all its properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update CRM object by IDHUBSPOT_PARTIALLY_UPDATE_CRM_OBJECT_BY_IDAcción

Partially updates specified properties of a crm object (e.g., contact, company, deal) identified by its type and id, or optionally by a unique property value if `idproperty` is specified.

Parámetros de entrada

  • objectIdstringObligatorio

    Unique identifier of the CRM object. If `idProperty` is specified, this is the value of that unique property; otherwise, it's the internal object ID.

  • idPropertystring

    Name of a unique property (e.g., 'email' for contacts) to use for identifying the object instead of its internal ID. If set, `objectId` should be the value of this property.

  • objectTypestringObligatorio

    Type of the CRM object to be updated.

  • propertiesobjectObligatorio

    Dictionary of properties to update. Keys are internal property names (e.g., 'firstname', 'dealstage'), and values are their new values.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the updated CRM object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update deal by idHUBSPOT_PARTIALLY_UPDATE_DEAL_BY_IDAcción

Partially updates specified properties of an existing hubspot crm deal, identified by its `dealid` or an optional custom unique `idproperty`.

Parámetros de entrada

  • dealIdstringObligatorio

    Unique identifier of the deal. Defaults to HubSpot object ID; use value of custom property if `idProperty` is specified.

  • idPropertystring

    Name of a custom unique property (e.g., 'deal_external_id') to identify the deal if not using the default HubSpot object ID.

  • propertiesobjectObligatorio

    Dictionary of properties to update. Keys are HubSpot internal property names (e.g., 'dealname', 'amount'), values are new string values. Only specified properties are updated; others remain unchanged.

Parámetros de salida

  • dataobjectObligatorio

    The updated deal object, reflecting all its properties after the partial update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update pipeline by idHUBSPOT_PARTIALLY_UPDATE_PIPELINE_BY_IDAcción

Partially updates a crm pipeline's label, display order, or restores an archived pipeline by setting `archived` to `false`.

Parámetros de entrada

  • labelstring

    Unique label for the pipeline for UI organization.

  • archivedboolean

    To restore an archived pipeline, set to `false`. Other uses (e.g., archiving an active pipeline or setting `false` for an already active one) will result in a `400 Bad Request`.

  • objectTypestringObligatorio

    Type of CRM object the pipeline is associated with (e.g., 'deals', 'tickets').

  • pipelineIdstringObligatorio

    Unique identifier of the pipeline to update.

  • displayOrderinteger

    Display order for the pipeline. Pipelines with the same order are sorted alphabetically by label.

  • validateReferencesBeforeDeleteboolean

    If `true`, verify existing references to pipeline stages before updates that could delete or alter them.

  • validateDealStageUsagesBeforeDeleteboolean

    For deal pipelines only: if `true`, check if any deals use stages affected by the update.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update property groupHUBSPOT_PARTIALLY_UPDATE_PROPERTY_GROUPAcción

Partially updates a property group's `displayorder` or `label` for a specified crm `objecttype` in hubspot.

Parámetros de entrada

  • labelstring

    Human-readable label for the property group in the UI. If omitted, the current label is unchanged.

  • groupNamestringObligatorio

    The unique, case-sensitive internal name of the existing property group to be updated for the specified `objectType`.

  • objectTypestringObligatorio

    The CRM object type (e.g., "contacts", "companies") for which the property group is updated; must be a valid HubSpot CRM object type.

  • displayOrderinteger

    Order for displaying the property group: lowest positive integer first, -1 places it after positive values. If omitted, the current order is unchanged.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated property group.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update ticket by idHUBSPOT_PARTIALLY_UPDATE_TICKET_BY_IDAcción

Modifies specified properties of an existing hubspot ticket, identified by `ticketid` or a custom `idproperty`; to clear a property, provide an empty string as its value.

Parámetros de entrada

  • ticketIdstringObligatorio

    Unique identifier of the ticket to be updated; can be the HubSpot object ID or a custom unique property value if `idProperty` is specified.

  • idPropertystring

    Internal name of a custom unique property used to identify the ticket if `ticketId` is not the HubSpot object ID. If omitted, `ticketId` is treated as the HubSpot object ID.

  • propertiesobjectObligatorio

    Dictionary of ticket properties to update (internal name: new value). Only provided properties are changed. To clear a property's value, use an empty string.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partially update company object by idHUBSPOT_PARTIAL_UPDATE_COMPANY_OBJECT_BY_IDAcción

Partially updates specified `properties` of an existing hubspot company, identified by its `companyid` (optionally using `idproperty` as the unique key), ensuring property names are valid hubspot internal names.

Parámetros de entrada

  • companyIdstringObligatorio

    The unique identifier for the company to be updated. By default, this is the HubSpot internal object ID. If `idProperty` is specified, this `companyId` should be the value of that unique property (e.g., a domain name if `idProperty` is 'domain').

  • idPropertystring

    Optional. The name of a unique property used to identify the company instead of its internal HubSpot ID. If provided, `companyId` must be the value of this property. Common examples include 'domain' or a custom unique ID field.

  • propertiesobjectObligatorio

    A dictionary of properties to update on the company. Keys are the internal names of the HubSpot company properties (e.g., 'name', 'website', 'city'), and values are the new values for these properties. To clear a property's value, provide an empty string as its value. Read-only properties or properties that do not exist will be ignored.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the state of the company object after the partial update. This will include all properties of the company, reflecting the changes made.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Partial update quote by quote idHUBSPOT_PARTIAL_UPDATE_QUOTE_BY_QUOTE_IDAcción

Performs a partial update on an existing hubspot quote's specified properties, identifying the quote by `quoteid` (either its internal id or a custom unique property value if `idproperty` is provided).

Parámetros de entrada

  • quoteIdstringObligatorio

    Unique identifier of the quote. Typically an internal HubSpot object ID, or a unique property value if `idProperty` is specified.

  • idPropertystring

    Optional. Name of a unique quote property. If provided, `quoteId` is interpreted as this property's value, not the internal object ID.

  • propertiesobjectObligatorio

    Properties to update on the quote (internal property names to new values). Only included properties will be updated.

Parámetros de salida

  • dataobjectObligatorio

    Contains the updated quote object's properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete company for GDPR complianceHUBSPOT_PERMANENTLY_DELETE_COMPANY_FOR_GDPR_COMPLIANCEAcción

Permanently deletes a company (identified by objectid) and its associated data from hubspot for gdpr compliance; this action is irreversible and requires the company to exist.

Parámetros de entrada

  • objectIdstringObligatorio

    The unique identifier of the company to be permanently deleted. If `idProperty` is specified, this is the value of that custom unique property. Otherwise, this is the company's HubSpot Company ID.

  • idPropertystring

    Optional name of an alternate unique identifier property. If provided, objectId must be the value of this property for the company.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary containing the API response; may be empty or not present for successful GDPR deletions (typically a 204 No Content status).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete contact for GDPRHUBSPOT_PERMANENTLY_DELETE_CONTACT_FOR_GDPRAcción

Irreversibly deletes a hubspot contact for gdpr; if deleting by a non-existent email (using idproperty 'email'), the email is blocklisted instead.

Parámetros de entrada

  • objectIdstringObligatorio

    The unique identifier of the contact to be permanently deleted. This can be the HubSpot contact ID (VID), or if `idProperty` is specified, it can be another unique property like an email address.

  • idPropertystring

    Specifies the type of identifier provided in `objectId`. For instance, use 'email' if `objectId` is an email address. This field is optional and can be omitted if `objectId` refers to the HubSpot contact ID (VID).

Parámetros de salida

  • dataobjectObligatorio

    Contains data returned by the API. Note: A successful GDPR deletion typically results in an HTTP 204 No Content response, in which case this field might be empty or unpopulated.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete contact for GDPR complianceHUBSPOT_PERMANENTLY_DELETE_CONTACT_FOR_GDPR_COMPLIANCEAcción

Irreversibly erases a hubspot contact and associated data per a gdpr request; if an email is given for a non-existent contact, it's blocklisted.

Parámetros de entrada

  • objectIdstringObligatorio

    The contact's identifier (email or HubSpot ID, based on `idProperty`) for permanent deletion.

  • idPropertystring

    Identifies `objectId` type: 'email' for email address, or null/omitted for HubSpot ID. 'email' is primary.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary which may contain data returned by the API. For successful GDPR deletions, this might be empty or contain a status confirmation.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete quote for GDPR complianceHUBSPOT_PERMANENTLY_DELETE_CONTACT_GDPR_COMPLIANCEAcción

Permanently and irreversibly deletes a hubspot **quote** (not a contact, despite the action's internal naming) to comply with gdpr's 'right to be forgotten'.

Parámetros de entrada

  • objectIdstringObligatorio

    Unique identifier of the quote to be permanently deleted. This is the quote's HubSpot object ID, unless `idProperty` specifies an alternative unique identifying property.

  • idPropertystring

    Name of the HubSpot quote property to use for quote identification if `objectId` is not the primary HubSpot ID. If omitted, `objectId` is assumed to be the primary HubSpot ID.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete contact via GDPRHUBSPOT_PERMANENTLY_DELETE_CONTACT_VIA_GDPRAcción

Permanently deletes a hubspot contact and all its associated data for gdpr compliance, identifying the contact by its id or another unique property.

Parámetros de entrada

  • objectIdstringObligatorio

    The unique identifier of the contact to be permanently deleted. This could be the contact's HubSpot ID or another unique property value (e.g., email address) if `idProperty` is specified.

  • idPropertystring

    The name of the property that contains the unique identifier of the contact specified in `objectId`. For example, if `objectId` is an email address, set this to 'email'. If `objectId` is the HubSpot contact ID, this field can be omitted or set to 'hs_object_id'.

  • objectTypestringObligatorio

    The type of HubSpot object to be deleted. Must be 'contacts' for this GDPR deletion endpoint. This parameter is part of the URL path.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing data from the response, if any. Typically, a successful GDPR deletion returns no content.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete deal for GDPR complianceHUBSPOT_PERMANENTLY_DELETE_DEAL_FOR_GDPR_COMPLIANCEAcción

Permanently deletes a hubspot deal for gdpr compliance, identified by its unique id or a specified property value; this action is irreversible and may blocklist the identifier if the deal isn't found when using `idproperty`.

Parámetros de entrada

  • objectIdstringObligatorio

    Identifier of the deal to be deleted. If `idProperty` is specified, this is the value of that property; otherwise, it's the deal's unique HubSpot ID.

  • idPropertystring

    The HubSpot deal property name that `objectId` refers to (e.g., 'email'); if omitted, `objectId` is the deal's unique ID.

Parámetros de salida

  • dataobjectObligatorio

    API response; empty on success, or may contain details if an identifier was blocklisted when a deal was not found using `idProperty`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete GDPR contact and contentHUBSPOT_PERMANENTLY_DELETE_GDPR_CONTACT_AND_CONTENTAcción

Permanently and irreversibly deletes an existing hubspot contact and associated content for gdpr compliance, optionally blocklisting the contact's email.

Parámetros de entrada

  • objectIdstringObligatorio

    Value of the contact's unique identifier for permanent deletion. Must correspond to `idProperty` if specified, or to HubSpot's default unique identifier if `idProperty` is omitted.

  • idPropertystring

    The contact property name to be used as its unique identifier. If not provided, HubSpot will use its default unique identifier for contacts.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Permanently delete line items for gdprHUBSPOT_PERMANENTLY_DELETE_LINE_ITEMS_FOR_GDPRAcción

Permanently deletes a specified line item and its associated content for gdpr compliance; this action is irreversible and cannot be undone.

Parámetros de entrada

  • objectIdstringObligatorio

    The value of the unique identifier for the line item to be permanently deleted. This corresponds to the property named in `idProperty`, or the line item's primary HubSpot ID if `idProperty` is not provided.

  • idPropertystring

    The name of the property that uniquely identifies the line item, if `objectId` is not its primary HubSpot ID. For example, 'external_id'. If omitted, `objectId` is assumed to be the line item's primary HubSpot ID.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary which may contain details from the GDPR deletion attempt. For successful deletions that return an HTTP 204 (No Content) status, this field might be empty or not applicable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Publish or send a marketing emailHUBSPOT_PUBLISH_MARKETING_EMAILAcción

Publishes or sends a specified hubspot marketing email that is valid and ready for sending; requires marketing hub enterprise or the transactional email add-on.

Parámetros de entrada

  • email_idstringObligatorio

    Identifier of the HubSpot marketing email to publish or send.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Purge schema by object typeHUBSPOT_PURGE_SCHEMA_BY_OBJECT_TYPEAcción

Permanently and irreversibly deletes the schema for an existing `objecttype` in hubspot crm; this deprecated endpoint should be used with extreme caution.

Parámetros de entrada

  • objectTypestringObligatorio

    The specific object type (e.g., 'contacts', 'companies', or a custom object ID) for which the schema will be permanently deleted. Must be an exact, case-sensitive match to a valid object type defined in HubSpot.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing data returned by the API as a result of the purge operation. This may be empty if the API returns no content upon successful execution (e.g., an HTTP 204 status).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read EmailHUBSPOT_READAcción

Call this to retrieve an existing hubspot email by its `emailid` or an alternative unique `idproperty`.

Parámetros de entrada

  • emailIdstringObligatorio

    Unique identifier of the email, typically the internal HubSpot object ID.

  • archivedboolean

    Set to true to retrieve only archived email objects.

  • idPropertystring

    Name of an alternative unique property to identify the email if not using `emailId`.

  • propertiesstring[]

    Specific email properties to include; non-existent properties are ignored.

  • associationsstring[]

    Object types (e.g., 'contact', 'company') for associated IDs; non-existent associations are ignored.

  • propertiesWithHistorystring[]

    Email properties for which to retrieve historical values; non-existent properties are ignored.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a batch of campaignsHUBSPOT_READ_A_BATCH_OF_CAMPAIGNSAcción

Retrieves details for a batch of up to 50 marketing campaigns by their ids, optionally including specified properties and asset metrics for a given date range; response order is not guaranteed and duplicate ids are ignored.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of campaign identifiers to read. Each item must specify the 'id' of a campaign.

  • endDatestring

    End date (YYYY-MM-DD) for fetching asset metrics. If omitted, asset metrics will not be fetched.

  • startDatestring

    Start date (YYYY-MM-DD) for fetching asset metrics. If omitted, asset metrics will not be fetched.

  • propertiesstring[]

    A comma-separated list of campaign properties to include in the response. If a specified property has no value for a campaign, it will be omitted from the response for that campaign. If this parameter is empty or not provided, an empty properties map will be returned for each campaign.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch read operation. Each key is a campaign ID, and the value is an object representing the campaign, including its properties and associated assets if requested.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a batch of CRM object propertiesHUBSPOT_READ_A_BATCH_OF_CRM_OBJECT_PROPERTIESAcción

Reads definitions (metadata, not values) for a batch of crm object properties for a specified `objecttype`, supporting partial success.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of property identifiers, each specifying the 'name' of a property whose definition should be retrieved for the given `objectType`.

  • archivedbooleanObligatorio

    If true, retrieves only archived property definitions; otherwise, retrieves non-archived definitions.

  • objectTypestringObligatorio

    The case-sensitive CRM object type (e.g., 'contacts', 'companies') for which properties are being read, matching the type in your HubSpot account.

Parámetros de salida

  • dataobjectObligatorio

    Response data including a list of retrieved property definitions (metadata), operation status, and other batch-related information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a campaignHUBSPOT_READ_A_CAMPAIGNAcción

Retrieves details for a marketing campaign by `campaignguid`, optionally including specified `properties` and asset metrics if both `startdate` and `enddate` are provided.

Parámetros de entrada

  • endDatestring

    End date (YYYY-MM-DD) for fetching asset metrics; requires `startDate` to retrieve metrics.

  • startDatestring

    Start date (YYYY-MM-DD) for fetching asset metrics; requires `endDate` to retrieve metrics.

  • propertiesstring[]

    Specific campaign property names to return. Properties without a value are omitted. If this list is empty or not provided, the campaign's properties map in the response is empty.

  • campaignGuidstringObligatorio

    The unique identifier (UUID) of the marketing campaign to retrieve.

Parámetros de salida

  • dataobjectObligatorio

    Campaign data, including specified `properties` and general asset information. Detailed asset metrics are only included if both `startDate` and `endDate` were provided in the request.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a CRM property by nameHUBSPOT_READ_A_CRM_PROPERTY_BY_NAMEAcción

Reads a specific crm property definition for a given hubspot object type by its internal name.

Parámetros de entrada

  • archivedboolean

    If true, retrieves an archived property definition; retrieves active property definitions by default.

  • objectTypestringObligatorio

    Specifies the CRM object type (e.g., 'contacts', 'deals') for which the property is retrieved.

  • propertiesstring

    Optional comma-separated list of additional property attributes to return; consult HubSpot API documentation for available attributes and format.

  • propertyNamestringObligatorio

    The internal, unique name of the property to retrieve (e.g., 'firstname', 'dealname').

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the complete definition and metadata of the retrieved CRM property.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read all properties for object typeHUBSPOT_READ_ALL_PROPERTIESAcción

Deprecated: use `read all properties for object type` instead. retrieves property definitions for a specified hubspot crm object type.

Parámetros de entrada

  • archivedboolean

    Filter properties by their archived status: `true` for archived, `false` for active (non-archived).

  • objectTypestringObligatorio

    Identifier for the CRM object type (e.g., 'contacts', 'companies'). Must be a valid, case-sensitive object type name existing in HubSpot.

  • propertiesstring

    Comma-separated string of specific property names to return. If omitted, all properties for the object type are returned.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary of property names mapped to their definitions and metadata (e.g., data type, field type, label).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read all properties for object typeHUBSPOT_READ_ALL_PROPERTIES_FOR_OBJECT_TYPEAcción

Retrieves definitions and metadata (not actual values) for properties of a specified hubspot crm object type (e.g., 'contacts', 'companies', 'deals', or custom objects).

Parámetros de entrada

  • archivedboolean

    Filter properties by their archived status: `true` for archived, `false` for active (non-archived).

  • objectTypestringObligatorio

    Identifier for the CRM object type (e.g., 'contacts', 'companies'). Must be a valid, case-sensitive object type name existing in HubSpot.

  • propertiesstring

    Comma-separated string of specific property names to return. If omitted, all properties for the object type are returned.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary of property names mapped to their definitions and metadata (e.g., data type, field type, label).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read property groups for object typeHUBSPOT_READ_ALL_PROPERTY_GROUPSAcción

Retrieves all property groups for a specified hubspot crm object type. <<DEPRECATED use read_property_groups_for_object_type>>

Parámetros de entrada

  • objectTypestringObligatorio

    Specifies the HubSpot CRM object type for which property groups will be retrieved.

Parámetros de salida

  • dataobjectObligatorio

    The API response dictionary containing a collection of property groups for the specified CRM object type, typically under a 'results' key.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read an owner by given ID or user IDHUBSPOT_READ_AN_OWNER_BY_GIVEN_ID_OR_USER_IDAcción

**deprecated:** please use the `retrieve owner by id or user id` action instead. retrieves a specific hubspot crm owner by their id, with options to specify id type (owner or user) and to include archived records.

Parámetros de entrada

  • ownerIdintegerObligatorio

    Unique identifier of the owner. Its meaning (HubSpot owner ID or user ID) is determined by `idProperty`.

  • archivedboolean

    Set to `true` to retrieve only archived owners; otherwise, active (non-archived) owners are returned.

  • idPropertystringenum

    Determines if `ownerId` refers to the HubSpot owner ID (`id`) or the user ID (`userId`).

    iduserId

Parámetros de salida

  • dataobjectObligatorio

    Properties and details of the retrieved owner.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a page of dealsHUBSPOT_READ_A_PAGE_OF_DEALSAcción

Retrieves a paginated list of hubspot crm deals; use the 'after' token from a previous response's 'paging.next.after' for subsequent pages.

Parámetros de entrada

  • afterstring

    Token from a previous response's `paging.next.after` to fetch the next page. Omit for the first page.

  • limitinteger

    Maximum number of deals to return (up to 100).

  • archivedboolean

    Set to true to return only archived deals; false returns active deals.

  • propertiesstring[]

    Deal property names to include in the response. Non-existent properties for a deal are ignored.

  • associationsstring[]

    Object types (e.g., 'contact', 'company') for which to retrieve associated IDs. Non-existent associations are ignored.

  • propertiesWithHistorystring[]

    Deal property names for which to include historical values. Using this may reduce the number of deals retrieved per request.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the list of deals and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a page of objects by typeHUBSPOT_READ_APAGE_OF_OBJECTS_BY_TYPEAcción

Retrieves a paginated list of objects for a specified and valid hubspot crm object type (e.g., 'contacts', 'companies', 'deals', or custom id).

Parámetros de entrada

  • afterstring

    Pagination token from a previous response's `paging.next.after` property, used to fetch the next page of results.

  • limitinteger

    Maximum number of results to return per page (must be an integer between 1 and 100).

  • archivedboolean

    Set to true to retrieve only archived objects. If false or omitted (default), non-archived objects are returned.

  • objectTypestringObligatorio

    Identifier for the type of CRM object to retrieve (e.g., 'contacts', 'companies', 'deals', or a custom object type ID).

  • propertiesstring[]

    List of property names to include for each object; non-existent properties on an object are ignored. Customizes response and can reduce payload size.

  • associationsstring[]

    List of object types (e.g., 'companies', 'deals') for which to retrieve associated IDs. Only existing associations are returned.

  • propertiesWithHistorystring[]

    List of property names for which to include historical values. Using this parameter may reduce the maximum number of objects returnable in a single request.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response, typically including a list of objects and pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a CRM property by nameHUBSPOT_READ_A_PROPERTYAcción

Deprecated: use `read a crm property by name` to read a specific crm property definition for a given hubspot object type by its internal name.

Parámetros de entrada

  • archivedboolean

    If true, retrieves an archived property definition; retrieves active property definitions by default.

  • objectTypestringObligatorio

    Specifies the CRM object type (e.g., 'contacts', 'deals') for which the property is retrieved.

  • propertiesstring

    Optional comma-separated list of additional property attributes to return; consult HubSpot API documentation for available attributes and format.

  • propertyNamestringObligatorio

    The internal, unique name of the property to retrieve (e.g., 'firstname', 'dealname').

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the complete definition and metadata of the retrieved CRM property.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a property groupHUBSPOT_READ_A_PROPERTY_GROUPAcción

Retrieves metadata for a specific property group of a given crm object type, detailing its structure and attributes, but not the actual property values of crm objects.

Parámetros de entrada

  • groupNamestringObligatorio

    Unique identifier (name) of the property group to retrieve. These names are case-sensitive and often use lowercase letters and underscores.

  • objectTypestringObligatorio

    The type of CRM object for which to retrieve the property group.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the detailed information and attributes of the retrieved property group.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read batch feedback submissions by id or propertyHUBSPOT_READ_BATCH_FEEDBACK_SUBMISSIONS_BY_ID_OR_PROPERTYAcción

Retrieves up to 100 feedback submissions in a batch using their ids or a specified unique `idproperty`, optionally including specified properties and their history.

Parámetros de entrada

  • inputsobject[]Obligatorio

    Identifiers for feedback submissions to retrieve, using primary 'id' or `idProperty`.

  • archivedboolean

    Set to `true` to retrieve only archived submissions; `false` (default) for active submissions.

  • idPropertystring

    Unique identifier property name to use instead of 'id'; `inputs` should contain values for this property if provided.

  • propertiesstring[]Obligatorio

    Property names to return for each feedback submission; defaults if not specified.

  • propertiesWithHistorystring[]Obligatorio

    Property names for which to retrieve historical values; past values are included if updated.

Parámetros de salida

  • dataobjectObligatorio

    Key-value pairs of identifiers (from `inputs` or `idProperty`) and their corresponding feedback submission objects, including requested properties and history if `propertiesWithHistory` was specified.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read batch of contacts by id or propertiesHUBSPOT_READ_BATCH_OF_CONTACTS_BY_ID_OR_PROPERTIESAcción

Reads a batch of hubspot contacts by their ids or a specified unique `idproperty`, optionally including property history and filtering by archived status; ensure `inputs` refer to existing contacts and `idproperty` (if used) is a unique identifier.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of contact identifiers to retrieve. Each object in the list should contain an `id` (or the `idProperty` if specified) of a contact.

  • archivedboolean

    Specifies if only archived contacts should be returned (`true`), or only non-archived contacts (`false`).

  • idPropertystring

    The name of an alternate unique identifier property to use for retrieving contacts. If specified, the `inputs` objects should provide values for this property instead of the default `id`.

  • propertiesstring[]Obligatorio

    Contact property names to include in the response; a default set is returned if unspecified.

  • propertiesWithHistorystring[]Obligatorio

    Contact property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read batch of crm objects by id or property valuesHUBSPOT_READ_BATCH_OF_CRM_OBJECTS_BY_ID_OR_PROPERTY_VALUESAcción

Reads a batch of crm objects of a specified `objecttype` using their hubspot ids or unique property values from the `inputs` list, allowing retrieval of specific `properties`, their historical values (`propertieswithhistory`), and filtering by `archived` status.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of objects, each with an 'id' identifying a CRM object to retrieve, using the HubSpot object ID or the value of `idProperty`.

  • archivedboolean

    If true, retrieves only archived CRM objects; if false (default), retrieves non-archived objects.

  • idPropertystring

    Alternate unique identifier property name (e.g., 'email' for contacts) to use instead of the default object ID.

  • objectTypestringObligatorio

    Type of CRM object to read (e.g., 'contacts', 'companies'). Determines which object collection to query.

  • propertiesstring[]Obligatorio

    List of property names to return for each CRM object. If omitted, default properties are returned.

  • propertiesWithHistorystring[]Obligatorio

    List of property names for which to retrieve historical values.

Parámetros de salida

  • dataobjectObligatorio

    Results of the batch read, including status, requested objects with properties, and any errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read batch of line items by id or property valuesHUBSPOT_READ_BATCH_OF_LINE_ITEMS_BY_ID_OR_PROPERTY_VALUESAcción

Retrieves a batch of hubspot crm line items by their ids, or optionally by values of a custom unique property defined in `idproperty`.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, where each object contains the 'id' of a line item to retrieve. The 'id' can be the line item's unique ID or the value of the property specified in `idProperty`.

  • archivedboolean

    If true, returns only archived line items; otherwise (default is false), returns all line items.

  • idPropertystring

    The name of a property whose values are unique for that object type. Use this if you want to identify line items by a custom unique property instead of the default 'id'.

  • propertiesstring[]Obligatorio

    A list of property names to be returned in the response. If not specified, all readable properties will be returned.

  • propertiesWithHistorystring[]Obligatorio

    A list of property names for which to return historical values; if a property has been updated, the response includes its previous values.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read batch of products by id or propertyHUBSPOT_READ_BATCH_OF_PRODUCTS_BY_ID_OR_PROPERTYAcción

Retrieves a batch of hubspot crm products by their ids or a specified unique `idproperty`, optionally filtering by archived status and including historical changes for specified properties.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of products to retrieve. Each item's `id` field corresponds to `idProperty`'s value or the primary product ID if `idProperty` is unset.

  • archivedboolean

    If `true`, only archived products are returned; otherwise, both archived and active products are returned.

  • idPropertystring

    Name of the property to use as a unique identifier for products in `inputs`. If provided, `inputs.id` is matched against this property's value (e.g., 'hs_sku'); otherwise, the default HubSpot product ID is used.

  • propertiesstring[]Obligatorio

    List of product property names to include in the response. If omitted, a default set of properties is returned.

  • propertiesWithHistorystring[]Obligatorio

    List of product property names for which to retrieve the full history of changes, including historical values and change sources.

Parámetros de salida

  • dataobjectObligatorio

    Contains batch read results, typically including a `results` list of product objects, a `status` key (e.g., 'COMPLETE'), and an optional `errors` key.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read batch of quotes by property valuesHUBSPOT_READ_BATCH_OF_QUOTES_BY_PROPERTY_VALUESAcción

Efficiently retrieves a batch of hubspot crm quotes by their ids (or a specified unique property), optionally including archived quotes, specific properties, and property history.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, each specifying a quote to retrieve. Each object must contain an `id` field that holds the identifier of the quote, corresponding to `idProperty` or the primary object ID.

  • archivedboolean

    Specifies whether to include archived quotes in the results. If `true`, only archived quotes are returned. If `false` (default) or omitted, only active (non-archived) quotes are returned.

  • idPropertystring

    The name of the property to use as the unique identifier for the quotes specified in the `inputs` list. If omitted, the quote's primary object ID (e.g., `hs_object_id`) is used. This property must be a unique identifier for quotes.

  • propertiesstring[]Obligatorio

    A list of internal names of quote properties to be included in the response for each quote. If omitted, a default set of properties is returned by HubSpot. Refer to HubSpot documentation for default properties.

  • propertiesWithHistorystring[]Obligatorio

    A list of internal names of quote properties for which historical values should be retrieved. The response will include the history of changes for these properties.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch read operation. This typically includes a 'results' key with a list of quote objects (each containing its properties), along with status and timing information for the batch request. Errors for individual quotes, if any, might also be part of this structure.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read a batch of tickets by id or unique valuesHUBSPOT_READ_BATCH_OF_TICKETS_BY_ID_OR_UNIQUE_VALUESAcción

Retrieves a batch of hubspot crm tickets using a list of their ids, or optionally via a custom unique property specified in `idproperty`, allowing for selection of specific properties, their history, and filtering by archival status.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of ticket identifiers to retrieve. Each item in the list specifies the 'id' of the ticket according to the `idProperty` (or default HubSpot ID).

  • archivedboolean

    Set to true to retrieve only archived tickets, or false for non-archived tickets.

  • idPropertystring

    The name of the unique property used to identify the tickets in the 'inputs' list (e.g., a custom external ID). If not provided, the default HubSpot ticket ID ('id') is assumed.

  • propertiesstring[]Obligatorio

    A list of specific ticket property names to be included in the response for each ticket (e.g., 'subject', 'content', 'hs_pipeline'). If omitted, a default set of properties will be returned.

  • propertiesWithHistorystring[]Obligatorio

    A list of property names for which historical values should be retrieved. This allows tracking changes to specific ticket fields over time.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch read operation. Typically, this includes a 'results' key with a list of retrieved ticket objects and a 'status' key indicating the overall success. It may also include 'errors' if some tickets could not be retrieved.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read budgetHUBSPOT_READ_BUDGETAcción

Fetches detailed budget (total, spent, remaining) and spend information for a marketing campaign, including an 'order' field for sequencing budget/spend items (0 is oldest).

Parámetros de entrada

  • campaignGuidstringObligatorio

    The unique identifier (UUID) of the marketing campaign for which to retrieve budget information.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with detailed budget (e.g., 'totalBudget', 'totalSpend', 'remainingBudget') and spend information for the campaign; budget/spend items may have an 'order' field indicating creation sequence (0 is oldest).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read crm contact by idHUBSPOT_READ_CRM_CONTACT_BY_IDAcción

Retrieves a hubspot crm contact by its unique internal hubspot id, allowing selection of properties, historical values, associated objects, and filtering for archived contacts.

Parámetros de entrada

  • archivedboolean

    Set to true to include only archived contacts; defaults to false (active contacts).

  • contactIdstringObligatorio

    Unique internal HubSpot CRM object ID for the contact, which must be valid and existing.

  • propertiesstring[]

    Contact property names to include in the response; if omitted, all available properties are returned.

  • associationsstring[]

    Object types (e.g., 'companies', 'deals') to include associated object IDs in the response.

  • propertiesWithHistorystring[]

    Property names for which to include current and historical values in the response.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the retrieved HubSpot CRM contact, dependent on 'properties', 'propertiesWithHistory', and 'associations' request parameters.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read crm object by idHUBSPOT_READ_CRM_OBJECT_BY_IDAcción

Retrieves a specific crm object (e.g., contact, company, deal, ticket) by its id or a unique property, optionally including specific properties, history, and associations.

Parámetros de entrada

  • archivedboolean

    Set to `true` to retrieve only archived objects. Defaults to `false` (non-archived objects).

  • objectIdstringObligatorio

    The unique identifier of the CRM object, or the value of the unique property if `idProperty` is specified.

  • idPropertystring

    The name of a unique property (e.g., 'email' for contacts, 'domain' for companies) to use for lookup instead of the internal object ID. If omitted, the internal object ID is used.

  • objectTypestringObligatorio

    Specifies the type of CRM object to retrieve (e.g., 'contacts', 'companies', 'deals', 'tickets'). Must be a valid HubSpot CRM object type.

  • propertiesstring[]

    A list of property names to include in the response. Non-existent properties are ignored. If omitted, a default set of properties is returned.

  • associationsstring[]

    A list of object types (e.g., 'contacts', 'companies') for which to retrieve associated IDs (e.g., to get associated companies for a contact). Non-existent associations are ignored.

  • propertiesWithHistorystring[]

    A list of property names to retrieve value history for, showing changes over time. Non-existent properties or those without history are ignored.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties, property history, and associations of the retrieved CRM object. The structure and content are determined by the `properties`, `propertiesWithHistory`, and `associations` parameters provided in the request.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read feedback submission by idHUBSPOT_READ_FEEDBACK_SUBMISSION_BY_IDAcción

Reads a hubspot feedback submission by its id, optionally using a custom unique 'idproperty', and allows specifying properties to return including history and associations.

Parámetros de entrada

  • archivedboolean

    Set to true to retrieve only archived submissions; false (default) retrieves active ones.

  • idPropertystring

    Name of a unique property (e.g., 'survey_response_id') to use as the identifier instead of the internal object ID. Its values must be unique.

  • propertiesstring[]

    Specific feedback submission property names to include in the response; HubSpot ignores non-existent ones.

  • associationsstring[]

    Object types (e.g., 'CONTACT') for which to retrieve associated IDs; HubSpot ignores non-existent associations.

  • feedbackSubmissionIdstringObligatorio

    Identifier of the feedback submission to retrieve; use a custom property value if 'idProperty' is set. Must be an existing submission.

  • propertiesWithHistorystring[]

    Feedback submission property names for which to include a history of values; HubSpot ignores non-existent ones.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read product by idHUBSPOT_READ_PRODUCT_BY_IDAcción

Retrieves a hubspot product by its id, allowing customization of returned properties, history, and associations; `idproperty` can specify an alternative unique identifier property which must be configured as unique in hubspot.

Parámetros de entrada

  • archivedboolean

    Set to `True` to retrieve only archived products.

  • productIdstringObligatorio

    Unique product identifier; can be the HubSpot object ID or a custom unique property value if `idProperty` is specified.

  • idPropertystring

    Unique property name (e.g., 'sku') for product lookup instead of object ID; `productId` must then be this property's value.

  • propertiesstring[]

    Specific property names to retrieve; only these are returned. Non-existent properties ignored.

  • associationsstring[]

    Object types (e.g., 'deal') for which to retrieve associated record IDs. Non-existent types ignored.

  • propertiesWithHistorystring[]

    Property names for which to retrieve value history; current and past values are returned. Non-existent properties ignored.

Parámetros de salida

  • dataobjectObligatorio

    Product properties, structured by request parameters (properties, propertiesWithHistory, associations); includes standard/custom fields, history, and associated IDs.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Read property groups for object typeHUBSPOT_READ_PROPERTY_GROUPS_FOR_OBJECT_TYPEAcción

Retrieves all property groups in a single call for a specified hubspot crm object type (e.g., 'contacts', 'companies'), returning only the groups themselves, not the individual properties within them.

Parámetros de entrada

  • objectTypestringObligatorio

    Specifies the HubSpot CRM object type for which property groups will be retrieved.

Parámetros de salida

  • dataobjectObligatorio

    The API response dictionary containing a collection of property groups for the specified CRM object type, typically under a 'results' key.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Archive contact by idHUBSPOT_RECYCLE_CONTACT_BY_IDAcción

Deprecated: use the `archive contact by id` action to archive a hubspot crm contact by its id.

Parámetros de entrada

  • contactIdstringObligatorio

    Unique HubSpot CRM identifier (typically numeric or UUID) for the contact to be archived.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove asset associationHUBSPOT_REMOVE_ASSET_ASSOCIATIONAcción

Disassociates an asset (form, object list, or external web url) from a hubspot campaign.

Parámetros de entrada

  • assetIdstringObligatorio

    The unique identifier of the asset.

  • assetTypestringObligatorio

    The type of asset to disassociate. Supported types are 'FORM', 'OBJECT_LIST', or 'EXTERNAL_WEB_URL'.

  • campaignGuidstringObligatorio

    The unique identifier (UUID) of the HubSpot campaign.

Parámetros de salida

  • dataobject

    Response data; typically empty for a successful disassociation (204 No Content).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove association from schemaHUBSPOT_REMOVE_ASSOCIATION_FROM_SCHEMAAcción

Permanently removes a specified association definition (type) from a hubspot object's schema, preventing future creations of this association type without affecting existing instances.

Parámetros de entrada

  • objectTypestringObligatorio

    The fully qualified name or ID of the HubSpot object schema from which to remove the association definition.

  • associationIdentifierstringObligatorio

    The unique ID of the association definition to remove from the specified object schema.

Parámetros de salida

  • dataobjectObligatorio

    The API response data. For this delete operation, it's often empty on success (HTTP 204 No Content response from the server).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove deal object by idHUBSPOT_REMOVE_DEAL_OBJECT_BY_IDAcción

Archives a hubspot deal by its `dealid`, moving it to the recycling bin when it's no longer relevant, created in error, or needs removal from active view; archived deals won't appear in active lists or reports.

Parámetros de entrada

  • dealIdstringObligatorio

    Unique identifier of the deal to be archived. Must correspond to an existing deal and is typically numeric but always treat as a string (e.g., "1234567", "deal_abc123").

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Remove token from event templateHUBSPOT_REMOVE_TOKEN_FROM_EVENT_TEMPLATEAcción

Removes a token from a hubspot event template, preventing its inclusion in new events created from that template.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique identifier of the target application associated with the event template. Must be a valid integer representing the ID of your HubSpot app.

  • tokenNamestringObligatorio

    The name of the token to be removed from the event template. Must be a string that exactly matches an existing token's name within the specified template (case-sensitive).

  • eventTemplateIdstringObligatorio

    The unique identifier of the event template from which the token will be removed. Must be a valid string representing an existing event template ID in your HubSpot account.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the API response. For a successful deletion, this may be an empty dictionary. If an error occurs, this dictionary will contain error details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Render event detail templateHUBSPOT_RENDER_EVENT_DETAIL_TEMPLATEAcción

Renders detailed information for a specific hubspot crm timeline event using a predefined event template, ignoring `extradata` references in the template not present in event data.

Parámetros de entrada

  • eventIdstringObligatorio

    The unique ID for a specific HubSpot CRM timeline event to render.

  • eventTemplateIdstringObligatorio

    The unique ID for an existing HubSpot event template to use for rendering.

Parámetros de salida

  • dataobjectObligatorio

    Rendered event details, structured according to the specified event template.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Render event header or detail as htmlHUBSPOT_RENDER_EVENT_HEADER_OR_DETAIL_AS_HTMLAcción

Renders an event's header or detail template as html for a specified event on the hubspot crm timeline, using a given event template id and event id.

Parámetros de entrada

  • detailboolean

    If true, renders the detailTemplate; if false or not provided, renders the headerTemplate.

  • eventIdstringObligatorio

    The unique identifier for an existing event on the HubSpot timeline whose data will be used in the rendering.

  • eventTemplateIdstringObligatorio

    The unique identifier for an existing event template to be used for rendering.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the rendered HTML string from the event template and event data.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace all properties of pipelineHUBSPOT_REPLACE_ALL_PROPERTIES_OF_PIPELINEAcción

Overwrites an entire crm pipeline (specified by `objecttype` and `pipelineid`) and all its stages with a new definition, returning the updated pipeline.

Parámetros de entrada

  • labelstringObligatorio

    Unique label for this pipeline, for UI organization.

  • stagesobject[]Obligatorio

    A list of stage definitions that will completely replace all existing stages in the pipeline.

  • objectTypestringObligatorio

    Identifies the CRM object type (e.g., 'deals', 'tickets') for the pipeline being updated.

  • pipelineIdstringObligatorio

    Unique ID of the pipeline to update, specific to its `objectType`.

  • displayOrderintegerObligatorio

    Display order for this pipeline; those with the same order are sorted alphabetically by `label`.

  • validateReferencesBeforeDeleteboolean

    If true, validates existing references to the pipeline before updating to prevent issues from modifying referenced stages.

  • validateDealStageUsagesBeforeDeleteboolean

    If true and `objectType` is 'deals', checks deal stage usage before modification/deletion to prevent data issues.

Parámetros de salida

  • dataobjectObligatorio

    Properties of the updated pipeline.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Replace pipeline stage propertiesHUBSPOT_REPLACE_PIPELINE_STAGE_PROPERTIESAcción

Replaces all properties of a specified pipeline stage; the new `label` must be unique within the pipeline, and if `objecttype` is 'deals', the `metadata` must include a 'probability' key.

Parámetros de entrada

  • labelstringObligatorio

    A new label for the pipeline stage.

  • stageIdstringObligatorio

    Unique identifier of the specific pipeline stage to be updated, assigned by HubSpot and unique to the stage within its pipeline.

  • metadataobjectObligatorio

    Key-value pairs for custom stage properties; all values must be strings. For 'deals' `objectType`, 'probability' (string: number from 0.0-1.0 in 0.1 increments, e.g., '0.5') is required. For 'tickets' `objectType`, 'ticketState' (string: 'OPEN' or 'CLOSED') is optional.

  • objectTypestringObligatorio

    The CRM object type associated with the pipeline (e.g., 'deals' for sales pipelines, 'tickets' for support pipelines).

  • pipelineIdstringObligatorio

    Unique identifier of the pipeline, assigned by HubSpot when the pipeline is created.

  • displayOrderintegerObligatorio

    The display order for this pipeline stage. Stages with the same `displayOrder` value are sorted alphabetically by their label. Use -1 to place the stage at the end.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing all properties of the updated pipeline stage, reflecting the applied changes.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Reset draftHUBSPOT_RESET_DRAFTAcción

Resets a marketing email's draft to its currently published (live) version, discarding all unpublished changes; the email must have a live version to revert to.

Parámetros de entrada

  • emailIdstringObligatorio

    Identifier of the marketing email whose draft will be reset to its currently published (live) version.

Parámetros de salida

  • dataobjectObligatorio

    Full representation of the marketing email after its draft is reset to the live version.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore a revision of a marketing emailHUBSPOT_RESTORE_A_REVISION_OF_A_MARKETING_EMAILAcción

Restores a specific, existing, non-active revision of a marketing email to become the new live version for that email.

Parámetros de entrada

  • emailIdstringObligatorio

    Identifier of the marketing email.

  • revisionIdstringObligatorio

    Identifier of the specific email revision to restore.

Parámetros de salida

  • dataobjectObligatorio

    Full details of the restored marketing email, including its new revision ID and updated properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Restore a revision of a marketing email to draft stateHUBSPOT_RESTORE_A_REVISION_OF_A_MARKETING_EMAIL_TO_DRAFT_STATEAcción

Restores a specific revision of a marketing email to a draft state, overwriting any existing draft.

Parámetros de entrada

  • emailIdstringObligatorio

    The unique identifier of the marketing email.

  • revisionIdintegerObligatorio

    The specific revision ID of the marketing email to restore.

Parámetros de salida

  • dataobjectObligatorio

    Restored marketing email object, including all properties in its draft state.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all object schemasHUBSPOT_RETRIEVE_ALL_OBJECT_SCHEMASAcción

Retrieves all object schema definitions (not data records) for a hubspot account, supporting retrieval of either active or archived schemas.

Parámetros de entrada

  • archivedboolean

    Set to true to retrieve only archived object schemas, or false for only active, non-archived schemas. Archived schemas are typically inactive but retained for historical/compliance.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all pipelines for specified object typeHUBSPOT_RETRIEVE_ALL_PIPELINESAcción

Deprecated: use `retrieve all pipelines for specified object type` instead. retrieves all pipelines in hubspot for a specified crm object type like deals or tickets.

Parámetros de entrada

  • objectTypestringObligatorio

    The case-sensitive CRM object type (e.g., 'deals', 'tickets') for which to retrieve pipelines; must support pipelines.

Parámetros de salida

  • dataobjectObligatorio

    Pipeline data for the specified object type; structure varies based on HubSpot definitions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve all pipelines for specified object typeHUBSPOT_RETRIEVE_ALL_PIPELINES_FOR_SPECIFIED_OBJECT_TYPEAcción

Retrieves all pipelines in hubspot for a specified crm object type, such as deals or tickets.

Parámetros de entrada

  • objectTypestringObligatorio

    The case-sensitive CRM object type (e.g., 'deals', 'tickets') for which to retrieve pipelines; must support pipelines.

Parámetros de salida

  • dataobjectObligatorio

    Pipeline data for the specified object type; structure varies based on HubSpot definitions.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve a batch of deals by IDs or property valuesHUBSPOT_RETRIEVE_BATCH_OF_DEALS_BY_IDS_OR_PROPERTY_VALUESAcción

Retrieves a batch of hubspot crm deals by their hubspot ids or values of a specified unique `idproperty`; `inputs` must contain at least one entry and `idproperty`, if used, must name a property that uniquely identifies deals.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of inputs, where each input specifies a deal to retrieve. Each item in the list should contain an `id` which is either a HubSpot deal ID or a value for the property defined in `idProperty`.

  • archivedboolean

    If true, retrieves only archived deals; defaults to false, returning active deals.

  • idPropertystring

    The name of a unique property to be used for identifying deals in the `inputs` list. If specified, the `id` values in the `inputs` array will be matched against this property instead of the default HubSpot deal ID. This is optional and typically used with custom unique identifiers.

  • propertiesstring[]Obligatorio

    A list of deal property names to be included in the response for each deal. If omitted, a default set of properties will be returned. Use this to specify exactly which deal attributes you need.

  • propertiesWithHistorystring[]Obligatorio

    A list of property names for which to include historical values in the response. For example, if you want to see the history of changes for the 'dealstage' property, include 'dealstage' in this list.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch read operation. This includes the status of the request and the data for the retrieved deals, structured according to the requested properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve calling settings for appHUBSPOT_RETRIEVE_CALLING_SETTINGS_FOR_APPAcción

Retrieves the read-only calling extension settings for a specific hubspot app; the app must exist and have calling extensions configured.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique integer identifier for the target HubSpot app.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve company object by idHUBSPOT_RETRIEVE_COMPANY_OBJECT_BY_IDAcción

Retrieves a specific hubspot company by its id (or an alternative unique property value if `idproperty` is specified), optionally including specific properties, property history, associated object ids, or archived records.

Parámetros de entrada

  • archivedboolean

    Set to `true` to retrieve archived company records instead of active ones.

  • companyIdstringObligatorio

    Unique company identifier. Use the HubSpot object ID by default, or if `idProperty` is set, use the value of that unique property for this field.

  • idPropertystring

    Name of a unique property to use as an alternative identifier instead of the HubSpot object ID. If provided, `companyId` must be a value of this property. This property must have unique values across all companies.

  • propertiesstring[]

    Specific company property names to include in the response. Non-existent properties are ignored. Example HubSpot properties: 'name', 'website', 'industry', 'annual_revenue'.

  • associationsstring[]

    Object types (e.g., 'contacts', 'deals', 'tickets') for which to retrieve associated IDs. Invalid or non-existent association types are ignored.

  • propertiesWithHistorystring[]

    Company property names for which to retrieve current values and historical changes. Properties without history or non-existent ones are handled gracefully. Example HubSpot properties: 'name', 'lifecyclestage'.

Parámetros de salida

  • dataobjectObligatorio

    Company object data, including its properties and any requested associations or property history.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve deal by idHUBSPOT_RETRIEVE_DEAL_BY_IDAcción

Fetches a hubspot crm deal by its id, optionally including specific properties, their history, and associations; use `idproperty` for retrieval with a custom unique property.

Parámetros de entrada

  • dealIdstringObligatorio

    The deal's unique identifier; use the internal HubSpot object ID or a custom unique property value if `idProperty` is specified.

  • archivedboolean

    Set to true to return only archived deals; defaults to false (active deals).

  • idPropertystring

    The internal name of a unique deal property to use as an alternative identifier to the HubSpot object ID.

  • propertiesstring[]

    A list of deal property internal names to include in the response.

  • associationsstring[]

    A list of object types (e.g., 'contacts', 'companies') for which to retrieve associated IDs.

  • propertiesWithHistorystring[]

    A list of deal property internal names for which to return historical values.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and details of the retrieved deal, reflecting requested `properties`, `propertiesWithHistory`, and `associations`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve existing object schemaHUBSPOT_RETRIEVE_EXISTING_OBJECT_SCHEMAAcción

Fetches the detailed schema definition for a specified, existing standard or custom hubspot crm object type; this action is read-only and does not create or modify schemas.

Parámetros de entrada

  • objectTypestringObligatorio

    Fully qualified name for standard HubSpot objects (e.g., 'contacts', 'companies') or unique object type ID for custom objects (e.g., 'p123456', '2-xxxxxxx'). Case-sensitive and must match an existing object type as defined in HubSpot.

Parámetros de salida

  • dataobjectObligatorio

    Detailed schema definition for the requested object type, including its properties, data types, labels, and associations.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve line item by idHUBSPOT_RETRIEVE_LINE_ITEM_BY_IDAcción

Retrieves a hubspot crm line item by its id or a specified unique property (`idproperty`).

Parámetros de entrada

  • archivedboolean

    Set to `True` to retrieve archived Line Items; `False` (default) retrieves non-archived items.

  • idPropertystring

    Name of a unique property (e.g., 'sku') to use as the identifier instead of the HubSpot ID. Must be unique across all Line Items.

  • lineItemIdstringObligatorio

    The Line Item's unique identifier (HubSpot ID or value of `idProperty` if specified).

  • propertiesstring[]

    Optional list of property names to return for the Line Item. Non-existent properties are ignored.

  • associationsstring[]

    Optional list of object types (e.g., 'deal') for which to retrieve IDs of associated objects. Ignores non-existent association types.

  • propertiesWithHistorystring[]

    Optional list of property names for which to retrieve historical values. Ignores non-existent properties or those without history.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and details of the retrieved Line Item. The structure and content will vary based on the 'properties', 'propertiesWithHistory', and 'associations' requested.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve line items listHUBSPOT_RETRIEVE_LINE_ITEMS_LISTAcción

Fetches a paginated list of hubspot crm line items, allowing selection of specific properties (including history), associated object ids, and filtering by archive status; ensure property and association names are valid hubspot internal names.

Parámetros de entrada

  • afterstring

    Pagination token from 'paging.next.after' of a previous response to fetch the subsequent page. Omit for the first request.

  • limitinteger

    Maximum number of line items to return per page; controls response size. An API-defined upper limit may apply.

  • archivedboolean

    Filter by archive status: `true` for archived only, `false` (default) for active only. Manages historical or current items.

  • propertiesstring[]

    Property names to include for each line item (e.g., `["name", "price"]`); customizes returned data. Non-existent properties are ignored. If omitted, a default set is returned.

  • associationsstring[]

    Object types (e.g., `["deal", "product"]`) for which to retrieve associated IDs. Invalid types are ignored. Valid types depend on HubSpot data model.

  • propertiesWithHistorystring[]

    Property names for which to include historical values (e.g., `["status", "amount"]`); tracks changes. May reduce items returned per request due to increased payload.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve owner by ID or user IDHUBSPOT_RETRIEVE_OWNER_BY_ID_OR_USER_IDAcción

Retrieves a specific hubspot crm owner by their id, with options to specify id type (owner or user) and to include archived records.

Parámetros de entrada

  • ownerIdintegerObligatorio

    Unique identifier of the owner. Its meaning (HubSpot owner ID or user ID) is determined by `idProperty`.

  • archivedboolean

    Set to `true` to retrieve only archived owners; otherwise, active (non-archived) owners are returned.

  • idPropertystringenum

    Determines if `ownerId` refers to the HubSpot owner ID (`id`) or the user ID (`userId`).

    iduserId

Parámetros de salida

  • dataobjectObligatorio

    Properties and details of the retrieved owner.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve ownersHUBSPOT_RETRIEVE_OWNERSAcción

Retrieves a list of all owners in the hubspot crm, including their id, first name, last name, email, and user id.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary holding the list of owners.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve page of companiesHUBSPOT_RETRIEVE_PAGE_OF_COMPANIESAcción

Retrieves a paginated list of companies from hubspot, using an 'after' cursor from a previous response for subsequent pages.

Parámetros de entrada

  • afterstring

    Pagination cursor from a previous response's 'paging.next.after' property to fetch the next page.

  • limitinteger

    Maximum number of companies per page.

  • archivedboolean

    Filter companies by archival status: `true` for archived, `false` for active.

  • propertiesstring[]

    List of company property internal names to include. Non-existent properties are omitted for a company. If omitted, default properties are returned.

  • associationsstring[]

    List of object types (e.g., 'contacts', 'deals') for which to retrieve associated record IDs. Non-existent associations are omitted for a company.

  • propertiesWithHistorystring[]

    List of company property internal names to retrieve historical values for (including previous values and timestamps). Note: May increase response data size.

Parámetros de salida

  • dataobjectObligatorio

    Raw API JSON response. Typically includes a 'results' list of company objects and a 'paging' key for pagination.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve page of crm ownersHUBSPOT_RETRIEVE_PAGE_OF_CRM_OWNERSAcción

Retrieves a paginated list of crm owners from hubspot, optionally filtering by email or archived status.

Parámetros de entrada

  • afterstring

    Pagination token from a previous response to fetch the next page.

  • emailstring

    Filter by a specific email address.

  • limitinteger

    Maximum number of CRM owners per page. Refer to HubSpot's API documentation for current limits.

  • archivedboolean

    Set to `true` for archived owners, or `false` for active owners.

Parámetros de salida

  • dataobjectObligatorio

    Raw JSON response from the HubSpot API, typically including 'results' (list of owner objects) and 'paging' details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve pipeline stage by idHUBSPOT_RETRIEVE_PIPELINE_STAGE_BY_IDAcción

Fetches detailed properties and metadata (e.g., label, display order, custom properties) for a specific stage within a hubspot crm pipeline, identified by its `objecttype`, `pipelineid`, and `stageid`.

Parámetros de entrada

  • stageIdstringObligatorio

    The unique identifier (ID) of the specific pipeline stage to retrieve. This ID must be valid and exist within the specified pipeline.

  • objectTypestringObligatorio

    The type of CRM object associated with the pipeline (e.g., 'deals', 'tickets'). This is case-sensitive and determines which object-specific pipeline and stages are queried. Must be a valid HubSpot CRM object type.

  • pipelineIdstringObligatorio

    The unique identifier (ID) of the pipeline containing the stage. This ID must be valid and correspond to the specified `objectType`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the properties and metadata of the retrieved pipeline stage.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve pipeline stagesHUBSPOT_RETRIEVE_PIPELINE_STAGESAcción

Fetches all stages for a specified hubspot crm object type and pipeline id.

Parámetros de entrada

  • objectTypestringObligatorio

    The CRM object type (e.g., deals, tickets) for which to retrieve pipeline stages; must support pipelines.

  • pipelineIdstringObligatorio

    The unique ID of the pipeline associated with the specified objectType whose stages are to be retrieved.

Parámetros de salida

  • dataobjectObligatorio

    Results of the request, typically a list of pipeline stages under a 'results' key, each with properties like 'id', 'label', and 'displayOrder'.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve ticket by idHUBSPOT_RETRIEVE_TICKET_BY_IDAcción

Retrieves a hubspot ticket by its `ticketid` or by a unique `idproperty` (if `idproperty` is used, its values must be unique across all tickets), allowing customization of returned properties, property history, associations, and archived status.

Parámetros de entrada

  • archivedboolean

    Set to `true` to retrieve the ticket from archived records; active tickets are searched otherwise.

  • ticketIdstringObligatorio

    Unique ticket identifier; can be the HubSpot object ID or a unique property value if `idProperty` is specified.

  • idPropertystring

    Name of a unique property to use for identifying the ticket instead of the HubSpot object ID; its values must be unique across all tickets.

  • propertiesstring[]

    Specific property names to include in the response; if provided, only these properties will be returned.

  • associationsstring[]

    Object types (e.g., 'contacts', 'companies') for which to retrieve associated object IDs.

  • propertiesWithHistorystring[]

    Property names for which to include value history; response will include current and historical values for these.

Parámetros de salida

  • dataobjectObligatorio

    Dictionary with the retrieved ticket's details; structure varies based on `properties`, `propertiesWithHistory`, and `associations` requested.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve timeline event by idsHUBSPOT_RETRIEVE_TIMELINE_EVENT_BY_IDSAcción

Retrieves a specific hubspot crm timeline event by its `eventtemplateid` (for an existing template) and `eventid` (for an existing event), returning event details which may not include full associated crm object data.

Parámetros de entrada

  • eventIdstringObligatorio

    The unique identifier for the specific timeline event. This ID uniquely identifies the event within the context of its template and must correspond to an existing event in your HubSpot CRM timeline.

  • eventTemplateIdstringObligatorio

    The unique identifier for the event template. This ID is crucial for locating the specific type of event and must correspond to a pre-defined event template in your HubSpot account.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing all available information for the retrieved timeline event.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve video conference settings by idHUBSPOT_RETRIEVE_VIDEO_CONFERENCE_SETTINGS_BY_IDAcción

Retrieves video conference application settings, such as webhook urls and user/account management configurations, for a specified `appid`.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique integer identifier for the video conference application, corresponding to the ID of the application created in your HubSpot developer portal.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the ExternalSettings object for the video conference application, containing details like webhook URLs for meeting management and user/account settings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Return pipeline by idHUBSPOT_RETURN_PIPELINE_BY_IDAcción

Retrieves a specific pipeline by its id and crm object type, detailing its stages and properties.

Parámetros de entrada

  • objectTypestringObligatorio

    The CRM object type for which the pipeline is being retrieved. Must be a valid HubSpot object type that supports pipelines.

  • pipelineIdstringObligatorio

    Unique identifier of the pipeline to retrieve for the specified object type, typically a system-generated string or UUID.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search campaignsHUBSPOT_SEARCH_CAMPAIGNSAcción

Searches for hubspot campaigns.

Parámetros de entrada

  • afterstring

    Pagination token from previous response.

  • limitinteger

    Maximum number of campaigns to return.

  • querystring

    Text search query to find campaigns by name.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search company objectsHUBSPOT_SEARCH_COMPANY_OBJECTSAcción

Searches hubspot company objects using a text query, complex filter groups (anded within, ored between), sorting, and specific property selection, including custom properties.

Parámetros de entrada

  • afterstring

    Pagination cursor; use `paging.next.after` from a previous response to fetch the next page.

  • limitinteger

    Maximum number of company records to return.

  • querystring

    String to search across default text properties of company records.

  • sortsobject[]

    List of sort objects to define the order of results.

  • propertiesstring[]

    HubSpot company property internal names to include in the response; a default set is returned if unspecified.

  • filterGroupsobject[]

    List of filter groups; filters within a group are ANDed, and multiple groups are ORed.

  • custom_propertiesstring[]

    Custom company property internal names (not in `HubSpotCompanyProperties` enum) to include in the response.

Parámetros de salida

  • dataobjectObligatorio

    Search results from the HubSpot API, including company objects and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search contacts by criteriaHUBSPOT_SEARCH_CONTACTS_BY_CRITERIAAcción

Searches for hubspot contacts using a text query, specific filter criteria (filters in a group are anded, groups are ored), sorting, and pagination to retrieve selected properties.

Parámetros de entrada

  • afterstring

    The cursor token for pagination. Use the `after` value from the `paging.next` object of a previous response to fetch the next set of results. If `None` or an empty string, it fetches the first page.

  • limitinteger

    The maximum number of contacts to return.

  • querystring

    A string to search across default text properties of contacts (e.g., name, email). This provides a broad, text-based search.

  • sortsobject[]

    A list of sort criteria to apply. Each criterion specifies a contact `propertyName` and a sort `direction`. Example: `[{'propertyName': 'lastname', 'direction': 'ASCENDING'}]` sorts contacts by last name.

  • propertiesstring[]

    A list of specific contact property internal names to include in the response (e.g., `firstname`, `email`). If omitted, a default set of properties is returned. Refer to `HubspotContactProperties` for standard options.

  • filterGroupsobject[]

    A list of filter groups. Filters within a group are ANDed. Multiple groups are ORed. Example: `[{'filters': [{'propertyName': 'lifecyclestage', 'operator': 'EQ', 'value': 'customer'}]}]` finds contacts who are customers.

  • custom_propertiesstring[]

    A list of internal names for custom contact properties to retrieve (e.g., `custom_lead_score`). Use this for data from custom fields defined in HubSpot.

Parámetros de salida

  • dataobjectObligatorio

    The raw JSON response from the HubSpot API. This typically includes a 'results' array of contacts, a 'total' count of matching records, and 'paging' information for navigating through more results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search crm email objectsHUBSPOT_SEARCH_CRM_EMAIL_OBJECTSAcción

Searches crm email objects using full-text queries, complex filtering (filters within a group are or'd, groups are and'd), sorting, pagination, and property selection; ensure `propertyname` in filters is valid and filterable for emails.

Parámetros de entrada

  • afterstringObligatorio

    Pagination cursor from `paging.next.after` of a previous response to fetch the next page.

  • limitintegerObligatorio

    Maximum email objects to return (1-100). Default is 10.

  • querystring

    Full-text search query for default email properties (e.g., `compan*` for prefix). If empty, relies on filters.

  • sortsstring[]Obligatorio

    Property names for sorting (e.g., `hs_createdate:DESC` for descending). Applied in order.

  • propertiesstring[]Obligatorio

    Email property internal names to return. Specific properties can improve performance; defaults if unspecified.

  • filterGroupsobject[]Obligatorio

    Filter groups to apply; filters within a group are OR'd, groups are AND'd.

Parámetros de salida

  • dataobjectObligatorio

    Response payload, typically with a `results` list of emails and a `paging` object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search crm objects by criteriaHUBSPOT_SEARCH_CRM_OBJECTS_BY_CRITERIAAcción

Searches hubspot crm objects (e.g., 'contacts', 'companies') by `objecttype` using complex criteria including filters, sorting, and pagination; property names used in filters, sorts, and returned properties must be valid for the specified `objecttype`.

Parámetros de entrada

  • afterstring

    Optional. Cursor for pagination (from previous response).

  • limitinteger

    Optional. Max results per page (default 10, max 100).

  • querystring

    A string for a broad search across multiple fields on the object. Use this for quick text searches.

  • sortsstring[]

    Optional. List of property names to sort by. Use '-property' for descending.

  • objectTypestringObligatorio

    The type of CRM object to search (e.g., 'contacts', 'companies', 'deals', 'tickets', or custom object IDs like '2-1234567'). Must be a valid HubSpot object type, lowercase and plural for standard types.

  • propertiesstring[]

    Optional. List of property names to include in the response.

  • filterGroupsobject[]

    Optional. List of filter groups (AND within, OR between). Provide at least one filterGroup or a query.

Parámetros de salida

  • dataobjectObligatorio

    Raw response data from the HubSpot API, typically including 'results' (list of objects), 'total' (count), and 'paging' information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search deals by criteriaHUBSPOT_SEARCH_DEALS_BY_CRITERIAAcción

Searches hubspot deals using complex criteria (text queries, property filters, sorting, pagination) for targeted retrieval beyond simple id lookups; ensure filter operator/value combinations are valid for the target hubspot property.

Parámetros de entrada

  • afterstring

    Pagination token from a previous response's `paging.next.after` to fetch the next page; omit for the first page.

  • limitinteger

    Maximum number of deal records to return.

  • querystring

    String to search across default text properties in deals for records containing this string.

  • sortsobject[]

    Sort order for results. If multiple sort objects are provided, they are applied in the given order.

  • propertiesstring[]

    Specific HubSpot deal property internal names to include in the response; a default set is returned if omitted.

  • filterGroupsobject[]

    Filter groups to apply to the search. Filters within a group are ANDed; groups are ORed.

  • custom_propertiesstring[]

    User-defined custom property internal names (not standard HubSpot properties) to include in the response.

Parámetros de salida

  • dataobjectObligatorio

    Search results, including a list of matching deals (under 'results' key) and pagination information (under 'paging' key if applicable).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search emailsHUBSPOT_SEARCH_EMAILSAcción

Searches for hubspot emails using flexible criteria and filters.

Parámetros de entrada

  • afterstring

    Pagination token from previous response.

  • limitinteger

    Maximum number of emails to return.

  • querystring

    Text search query to find emails by subject or content.

  • propertiesstring[]

    Email property names to include in the response.

Parámetros de salida

  • dataobjectObligatorio

    Search results including matching emails and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search feedback submissionsHUBSPOT_SEARCH_FEEDBACK_SUBMISSIONSAcción

Searches for feedback submissions in hubspot crm using text query, filter groups, sorting, and pagination, returning specified properties.

Parámetros de entrada

  • afterstringObligatorio

    A pagination token from a previous response to retrieve the next page of results.

  • limitintegerObligatorio

    The maximum number of feedback submissions to return in a single response.

  • querystring

    A string to search across all searchable properties of feedback submissions. This performs a broad text search.

  • sortsstring[]Obligatorio

    A list of property names to sort the results by. Properties are sorted in ascending order by default. Prefix a property name with a hyphen (`-`) for descending order.

  • propertiesstring[]Obligatorio

    A list of specific feedback submission property names to be included in the response. If omitted, a default set of properties is returned.

  • filterGroupsobject[]Obligatorio

    A list of filter groups to apply to the search. Each group represents a set of AND-ed filters. Multiple filter groups are combined using OR logic.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the search results. This typically includes a 'results' array with feedback submission objects and may include a 'paging' object for pagination if more results are available.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search line items by criteriaHUBSPOT_SEARCH_LINE_ITEMS_BY_CRITERIAAcción

Searches hubspot line items using criteria including filters, sorting, and pagination; `after` must be a valid cursor from a previous response, and `sorts`/`properties` must refer to valid line item property names.

Parámetros de entrada

  • afterstringObligatorio

    Pagination cursor from a prior response to fetch the next page of results.

  • limitintegerObligatorio

    Maximum number of line items to retrieve.

  • querystring

    Optional search string applied across all searchable line item properties.

  • sortsstring[]Obligatorio

    List of property names for sorting results. Prepend '-' for descending order.

  • propertiesstring[]Obligatorio

    Specific line item property names to include in results. If omitted, a default set is returned.

  • filterGroupsobject[]Obligatorio

    List of filter groups. Line items must match all filters in at least one group (filters within a group are ANDed; groups are ORed).

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search productsHUBSPOT_SEARCH_PRODUCTSAcción

Searches for hubspot products using flexible criteria and filters.

Parámetros de entrada

  • afterstring

    The cursor for pagination. To get the next page of results, use the `after` value from the `paging.next.after` property of a previous response.

  • limitinteger

    The maximum number of products to return in the search results.

  • querystring

    A string to search across all default text properties of products. Finds records where any of these properties contain the specified string.

  • sortsobject[]

    A list of sort objects to define the order of search results. Each object specifies a `propertyName` and a `direction`. For example, `[{'propertyName': 'name', 'direction': 'ASCENDING'}]` sorts products by name alphabetically.

  • propertiesstring[]

    A list of specific standard product properties to include in the response. If not provided, a default set of properties will be returned. Refer to `HubSpotProductProperties` for available options.

  • filterGroupsobject[]

    A list of filter groups to apply to the search. Each filter group contains one or more filters. Filters within a group are combined using AND logic, while multiple filter groups are combined using OR logic. For example: `[{'filters': [{'propertyName': 'price', 'operator': 'GT', 'value': '100'}]}]`.

  • custom_propertiesstring[]

    A list of internal names of custom product properties to include in the response. It's important to use the property's internal API name. For example `['custom_field_api_name_1', 'custom_field_api_name_2']`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the search results. This typically includes a 'results' key with a list of product objects and a 'paging' key for pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search products by criteriaHUBSPOT_SEARCH_PRODUCTS_BY_CRITERIAAcción

Searches hubspot products using text queries, filters, and sorting by sortable properties, with options for pagination and specifying returned properties.

Parámetros de entrada

  • afterstring

    The cursor for pagination. To get the next page of results, use the `after` value from the `paging.next.after` property of a previous response.

  • limitinteger

    The maximum number of products to return in the search results.

  • querystring

    A string to search across all default text properties of products. Finds records where any of these properties contain the specified string.

  • sortsobject[]

    A list of sort objects to define the order of search results. Each object specifies a `propertyName` and a `direction`. For example, `[{'propertyName': 'name', 'direction': 'ASCENDING'}]` sorts products by name alphabetically.

  • propertiesstring[]

    A list of specific standard product properties to include in the response. If not provided, a default set of properties will be returned. Refer to `HubSpotProductProperties` for available options.

  • filterGroupsobject[]

    A list of filter groups to apply to the search. Each filter group contains one or more filters. Filters within a group are combined using AND logic, while multiple filter groups are combined using OR logic. For example: `[{'filters': [{'propertyName': 'price', 'operator': 'GT', 'value': '100'}]}]`.

  • custom_propertiesstring[]

    A list of internal names of custom product properties to include in the response. It's important to use the property's internal API name. For example `['custom_field_api_name_1', 'custom_field_api_name_2']`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the search results. This typically includes a 'results' key with a list of product objects and a 'paging' key for pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search quotes by criteriaHUBSPOT_SEARCH_QUOTES_BY_CRITERIAAcción

Searches hubspot crm quotes using a text query, complex filter criteria, sorting, and pagination.

Parámetros de entrada

  • afterstringObligatorio

    A cursor for pagination. Set this to the 'next.after' value from a previous response to get the next page of results. If not provided, the first page is returned.

  • limitintegerObligatorio

    The maximum number of quote records to return in the response. Default is 10, maximum is 100.

  • querystring

    A string to search across all searchable properties of quotes. This performs a broad text search.

  • sortsstring[]Obligatorio

    A list of property names to sort the results by. Prepend '-' for descending order. For example, 'hs_quote_amount' for ascending or '-hs_createdate' for descending.

  • propertiesstring[]Obligatorio

    Specific quote property internal names to include in the response; omitting returns a default set. Include custom property names here.

  • filterGroupsobject[]Obligatorio

    A list of filter groups to apply to the search. Multiple filter groups are combined with an OR logic, while filters within a group are combined with AND logic.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the search results, including a list of quote objects and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search ticketsHUBSPOT_SEARCH_TICKETSAcción

Searches for hubspot tickets using flexible criteria and filters.

Parámetros de entrada

  • afterstring
  • limitinteger
  • querystring

    Text search query to find tickets by content or subject.

  • sortsarray
  • propertiesstring[]

    Ticket properties to include in the response.

  • filterGroupsarray
  • custom_propertiesstring[]

Parámetros de salida

  • dataobjectObligatorio

    Search results including matching tickets and pagination information.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search tickets by criteriaHUBSPOT_SEARCH_TICKETS_BY_CRITERIAAcción

Retrieves hubspot tickets by applying filters on properties, a full-text query, sort preferences, and pagination, allowing selection of specific fields to be returned.

Parámetros de entrada

  • afterstring

    The cursor for pagination. Use the 'after' value from the 'paging.next.after' property of a previous response to fetch the next page of results.

  • limitinteger

    Maximum number of ticket records to return. Maximum value is 100.

  • querystring

    A string to search across all default text properties of tickets (e.g., subject, content). Finds tickets where any of these properties contain the query string.

  • sortsobject[]

    A list of sort objects to define the order of results. Each object specifies a ticket property and sort direction. For example, `[{'propertyName': 'hs_closed_date', 'direction': 'DESCENDING'}]` sorts tickets by close date in descending order.

  • propertiesstring[]

    Specifies ticket property API names to include in the response. Defines which fields are returned; if omitted, a default set of properties is returned.

  • filterGroupsobject[]

    A list of filter groups to apply to the search. Each filter group consists of one or more filters. Filters within a single group are combined using AND logic. Multiple filter groups are combined using OR logic. For example: `[{'filters': [{'propertyName': 'hs_ticket_priority', 'operator': 'EQ', 'value': 'HIGH'}]}]`.

  • custom_propertiesstring[]

    A list of API names for custom ticket properties to include in the response. These should be predefined in your HubSpot account. Combine with 'properties' field if you need both standard and custom properties.

Parámetros de salida

  • dataobjectObligatorio

    The response data containing the list of tickets matching the search criteria, and pagination information under a 'paging' key if applicable.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Search products by criteriaHUBSPOT_SECURE_PRODUCT_SEARCH_BY_CRITERIAAcción

Deprecated: searches hubspot products by criteria; use `search products by criteria` instead.

Parámetros de entrada

  • afterstring

    The cursor for pagination. To get the next page of results, use the `after` value from the `paging.next.after` property of a previous response.

  • limitinteger

    The maximum number of products to return in the search results.

  • querystring

    A string to search across all default text properties of products. Finds records where any of these properties contain the specified string.

  • sortsobject[]

    A list of sort objects to define the order of search results. Each object specifies a `propertyName` and a `direction`. For example, `[{'propertyName': 'name', 'direction': 'ASCENDING'}]` sorts products by name alphabetically.

  • propertiesstring[]

    A list of specific standard product properties to include in the response. If not provided, a default set of properties will be returned. Refer to `HubSpotProductProperties` for available options.

  • filterGroupsobject[]

    A list of filter groups to apply to the search. Each filter group contains one or more filters. Filters within a group are combined using AND logic, while multiple filter groups are combined using OR logic. For example: `[{'filters': [{'propertyName': 'price', 'operator': 'GT', 'value': '100'}]}]`.

  • custom_propertiesstring[]

    A list of internal names of custom product properties to include in the response. It's important to use the property's internal API name. For example `['custom_field_api_name_1', 'custom_field_api_name_2']`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the search results. This typically includes a 'results' key with a list of product objects and a 'paging' key for pagination details.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Set call recording settingsHUBSPOT_SET_CALL_RECORDING_SETTINGSAcción

Configures the url (`urltoretrieveauthedrecording`) that hubspot uses to retrieve call recordings for a specified third-party calling app (`appid`), which must be an existing calling extension app integrated with the hubspot account.

Parámetros de entrada

  • appIdintegerObligatorio

    Unique identifier for the third-party calling app integration in HubSpot CRM whose recording settings will be modified.

  • urlToRetrieveAuthedRecordingstringObligatorio

    Endpoint URL for HubSpot to retrieve call recordings; must serve recordings for specific calls and may require authentication.

Parámetros de salida

  • dataobjectObligatorio

    Confirmation response from the API regarding the updated settings.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update EmailHUBSPOT_UPDATEAcción

Partially updates properties of an existing hubspot email object, identified by `emailid` (as internal id or custom unique property value if `idproperty` is given); the object must exist.

Parámetros de entrada

  • emailIdstringObligatorio

    Identifier of the email object. This is its internal HubSpot ID, or a custom unique property value if `idProperty` is also provided.

  • idPropertystring

    Name of a unique HubSpot property for emails. If specified, `emailId` must be the value of this unique property, not the internal HubSpot ID.

  • propertiesobjectObligatorio

    Property names and new values for the email. Values overwrite existing ones; an empty string clears a property. Read-only or non-existent properties are ignored.

Parámetros de salida

  • dataobjectObligatorio

    The updated email object, including all its properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a batch of campaignsHUBSPOT_UPDATE_A_BATCH_OF_CAMPAIGNSAcción

Updates properties for up to 50 existing hubspot marketing campaigns in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of campaign objects to update. Each object must include the campaign 'id' and a 'properties' dictionary.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a batch of contactsHUBSPOT_UPDATE_A_BATCH_OF_CONTACTSAcción

Updates specified properties for a batch of up to 100 hubspot contacts, identified by their vids; ensure property values use hubspot internal names and formats (e.g., for enums like 'lifecyclestage').

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of contact update operations, each specifying contact 'id' (VID) and 'properties' with new values.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response: includes operation 'status' (e.g., 'PENDING', 'COMPLETE'), 'results' list of updated contacts, potential 'errors', and 'startedAt'/'completedAt' timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a batch of emailsHUBSPOT_UPDATE_A_BATCH_OF_EMAILSAcción

Updates multiple hubspot email engagement records in a batch, identifying each by its hubspot object `id` (or an alternative unique property via `idproperty`) and setting new string values for specified properties (which must be valid internal email property names).

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of email objects to update. Each must specify the email's identifier (via `id` and optionally `idProperty`) and `properties` with new string values.

Parámetros de salida

  • dataobjectObligatorio

    Batch update response details, including job `status` (e.g., 'COMPLETE'), `results` for each email (ID, updated properties, or item-specific errors), and any overall batch `errors`.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a batch of line itemsHUBSPOT_UPDATE_A_BATCH_OF_LINE_ITEMSAcción

Updates a batch of existing hubspot crm line items in a single operation, identifying each by its primary id or a unique `idproperty` (which must be a unique identifier property in hubspot), and modifies their specified properties.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of objects, where each object defines a line item to be updated and its new property values. Each object must conform to the InputsRequest schema.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a marketing emailHUBSPOT_UPDATE_A_MARKETING_EMAILAcción

Updates properties of an existing marketing email identified by its `emailid`; unspecified fields retain their current values.

Parámetros de entrada

  • namestring

    The internal name of the email as it appears in the HubSpot dashboard.

  • statestringenum

    The desired state of the email after the update. Common states include 'DRAFT', 'SCHEDULED', 'PUBLISHED'.

    AUTOMATEDAUTOMATED_DRAFTAUTOMATED_SENDINGAUTOMATED_FOR_FORMAUTOMATED_FOR_FORM_BUFFERAUTOMATED_FOR_FORM_DRAFTAUTOMATED_FOR_FORM_LEGACYBLOG_EMAIL_DRAFTBLOG_EMAIL_PUBLISHEDDRAFTDRAFT_ABDRAFT_AB_VARIANT+19
  • emailIdstringObligatorio

    The unique ID of the marketing email to be updated.

  • subjectstring

    The subject line of the marketing email.

  • archivedboolean

    Set to `true` to archive the marketing email, or `false` to make it active (unarchive).

  • campaignstring

    The ID of the HubSpot campaign this email is associated with.

  • languagestringenum

    The primary language of the email, using ISO 639-1 language codes (e.g., 'en') or language-locale codes (e.g., 'en-us').

    afaf-naaf-zaagqagq-cmakak-ghamam-etarar-001ar-ae+742
  • publishDatestringdate-time

    The scheduled publication date and time for the email in ISO 8601 format (e.g., '2023-12-31T10:00:00Z'). Used for scheduled emails.

  • subcategorystring

    The subcategory of the email, often used for organization (e.g., 'newsletter', 'promotional').

  • activeDomainstring

    The domain from which this email will be sent (e.g., 'info.example.com'). Must be a connected sending domain in HubSpot.

  • rssData__urlstring

    The URL of the external RSS feed if not using a HubSpot blog.

  • from__replyTostring

    The email address used as the 'From' address and default 'Reply-To' address. Must be a verified address in HubSpot.

  • sendOnPublishboolean

    If `true` and the email state is set to 'PUBLISHED', the email will be sent immediately. If `false` for a 'PUBLISHED' state, it implies it was already sent or is a template.

  • businessUnitIdstring

    The ID of the business unit this email belongs to. Requires the Business Units add-on for HubSpot.

  • from__fromNamestring

    The sender's name as it appears in the recipient's inbox (e.g., 'Marketing Team').

  • rssData__timingobject

    A dictionary defining the scheduling for RSS emails (e.g., time of day, day of week/month). The structure depends on `blogEmailType`.

  • testing__testIdstring

    The unique identifier of the A/B test, if applicable.

  • content__widgetsobject

    A dictionary specifying the configuration and content of various widgets (modules) used in the email.

  • webversion__slugstring

    The URL slug for the web version of the email (e.g., 'july-newsletter-2024').

  • testing__abStatusstringenum

    Status of the AB test (e.g., 'master', 'variant').

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__titlestring

    The title displayed in the browser tab for the web version of the email.

  • content__flexAreasobject

    A dictionary defining content for flexible column areas within drag-and-drop email templates.

  • webversion__domainstring

    The domain to be used for the web version of this email. If not specified, the default portal domain is used.

  • from__customReplyTostring

    A custom email address for replies. If set, this overrides the main `replyTo` address for replies.

  • rssData__blogLayoutstring

    Defines the layout style for displaying blog posts within an RSS email.

  • rssData__maxEntriesinteger

    The maximum number of blog posts to include in a single RSS email.

  • content__smartFieldsobject

    A dictionary of smart fields and their values/configurations used in the email content. Enables personalization based on contact properties.

  • testing__hoursToWaitinteger

    Time limit in hours on gathering test results. After this time is up, the winning version will be sent to the remaining contacts.

  • to__suppressGraymailboolean

    If `true`, HubSpot will attempt to avoid sending this email to contacts classified as 'graymail' (low engagement).

  • content__templatePathstring

    The path to the email template file within the HubSpot Design Manager (e.g., 'marketplace/some_template_name').

  • webversion__expiresAtstringdate-time

    The date and time when the web version link will expire, in ISO 8601 format. After this time, the link may redirect or show an error.

  • rssData__blogEmailTypestring

    Specifies the type of RSS email, such as instant, daily, weekly, or monthly.

  • rssData__hubspotBlogIdstring

    The ID of the HubSpot blog used as the source for an RSS-to-email.

  • to__limitSendFrequencyboolean

    If `true`, respects HubSpot's send frequency limits for contacts. If `false`, may override these limits.

  • to__contactIds__excludestring[]

    A list of contact IDs to specifically exclude from receiving this email.

  • to__contactIds__includestring[]

    A list of contact IDs to specifically include as recipients for this email.

  • testing__abSuccessMetricstringenum

    Metric to determine the winning version that will be sent to the remaining contacts (e.g., 'CLICKS_BY_OPENS').

    CLICKS_BY_OPENSCLICKS_BY_DELIVEREDOPENS_BY_DELIVERED
  • content__plainTextVersionstring

    The plain text version of the email. If omitted, HubSpot may auto-generate it from the HTML content.

  • content__widgetContainersobject

    A dictionary defining the layout and content of widget containers in the email template.

  • rssData__rssEntryTemplatestring

    The HTML template used to render each individual blog post (entry) in an RSS email.

  • testing__abTestPercentageinteger

    The percentage of recipients who will be part of the A/B test group (e.g., 50 for 50%).

  • to__contactLists__excludestring[]

    A list of contact list IDs whose members should be excluded from receiving this email.

  • to__contactLists__includestring[]

    A list of contact list IDs whose members should receive this email.

  • webversion__redirectToUrlstring

    An external URL to redirect to if the web version link is expired or disabled, used if `redirectToPageId` is not set.

  • rssData__blogImageMaxWidthinteger

    Maximum width in pixels for images included from an RSS feed in the email.

  • testing__abSamplingDefaultstringenum

    Version of the email that should be sent if the results are inconclusive after the test period (e.g., 'master', 'variant').

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__metaDescriptionstring

    The meta description for the web version of the email, used by search engines.

  • content__themeSettingsValuesobject

    A dictionary of theme settings overrides for the email template. Allows customization of global theme styles.

  • testing__abSampleSizeDefaultstringenum

    Version of the email that should be sent if there are too few recipients to conduct an AB test (e.g., 'master', 'variant').

    mastervariantloser_variantmab_mastermab_variantautomated_masterautomated_variantautomated_loser_variant
  • webversion__redirectToPageIdstring

    The ID of a HubSpot-hosted page to redirect to if the web version link is expired or manually disabled.

  • rssData__useHeadlineAsSubjectboolean

    If `true`, the headline of the latest blog post will be used as the email's subject line for RSS emails.

  • subscriptionDetails__subscriptionIdstring

    The ID of the specific email subscription type (e.g., marketing, newsletter) this email belongs to.

  • subscriptionDetails__officeLocationIdstring

    The ID of the CAN-SPAM office location to be used in the email footer.

  • subscriptionDetails__preferencesGroupIdstring

    The ID of the subscription preferences page/group associated with this email. Allows recipients to manage their preferences.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the updated marketing email object.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update batch feedback submissionsHUBSPOT_UPDATE_BATCH_FEEDBACK_SUBMISSIONSAcción

Updates a batch of hubspot feedback submissions; property keys must be existing internal hubspot names and values must be correctly formatted strings.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of feedback submissions to update, each specifying its identifier and new property values.

Parámetros de salida

  • dataobjectObligatorio

    Results of the batch update, typically including status, updated submissions or their identifiers, timestamps, and any errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update batch of companiesHUBSPOT_UPDATE_BATCH_OF_COMPANIESAcción

Updates specified properties for multiple existing hubspot companies in a batch, identifying each company by its hubspot id or by a unique property name in `idproperty` with its value in `id`.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of individual company update operations to be performed in the batch.

Parámetros de salida

  • dataobjectObligatorio
  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update batch of CRM ticketsHUBSPOT_UPDATE_BATCH_OF_CRMOBJECTS_TICKETSAcción

Batch updates properties for multiple hubspot crm tickets using a list of inputs, where each input specifies the ticket `id` and the `properties` to modify.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of ticket update operations. Each must include the ticket `id` and a `properties` object with new field values. Example: `[{'id': '123', 'properties': {'subject': 'Updated subject', 'hs_ticket_priority': 'HIGH'}}]`.

Parámetros de salida

  • dataobjectObligatorio

    Results of the batch update, detailing outcomes for each ticket, including successes and any errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a batch of dealsHUBSPOT_UPDATE_BATCH_OF_DEALSAcción

Updates properties for multiple existing hubspot crm deals in a batch; ensure property names are the internal hubspot names.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of deal update objects. Each object must contain the `id` of the deal and a `properties` object specifying the new values for the deal's properties.

Parámetros de salida

  • dataobjectObligatorio

    Response from the HubSpot API, typically including a list of processed deals with their status or any errors.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update a batch of objects by id or property valuesHUBSPOT_UPDATE_BATCH_OF_OBJECTS_BY_IDOR_PROPERTY_VALUESAcción

Performs a batch update on a valid `objecttype` where properties are writeable and any `idproperty` used is designated unique; updates can be partial.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of objects to update, each detailing the object and its property changes. Max 100 objects per batch.

  • objectTypestringObligatorio

    Case-sensitive CRM object type to be updated in bulk (e.g., 'contacts', 'p_customobject'), determining the target object set.

Parámetros de salida

  • dataobjectObligatorio

    Details the batch update outcome: status (e.g., 'COMPLETE'), results for each object (potentially including the updated object or error details), and relevant timestamps.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update batch of productsHUBSPOT_UPDATE_BATCH_OF_PRODUCTSAcción

Updates multiple hubspot product records in a single batch; all properties to be updated must already exist in hubspot.

Parámetros de entrada

  • inputsobject[]Obligatorio

    A list of product update operations. Each item in the list defines a product to update and the properties to change.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the results of the batch update operation. This typically includes details on successfully updated products and any errors encountered for specific products within the batch.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update calling app recording settingsHUBSPOT_UPDATE_CALLING_APP_RECORDING_SETTINGSAcción

Updates the recording settings, such as the url for retrieving authenticated recordings, for a specific calling extension app identified by its `appid`.

Parámetros de entrada

  • appIdintegerObligatorio

    The unique identifier for the calling app.

  • urlToRetrieveAuthedRecordingstring

    URL HubSpot uses to retrieve call recordings requiring authentication from the calling app.

Parámetros de salida

  • dataobjectObligatorio

    Contains the updated recording settings for the app.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update campaignHUBSPOT_UPDATE_CAMPAIGNAcción

Partially updates specific, writable properties of an existing hubspot marketing campaign identified by `campaignguid`; an empty string value in `properties` clears a property.

Parámetros de entrada

  • propertiesobjectObligatorio

    Dictionary of campaign properties to update. Keys are internal property names, values are their new string values. Values overwrite existing ones. Attempting to update read-only or non-existent properties will result in an error.

  • campaignGuidstringObligatorio

    Unique identifier (UUID) of the HubSpot marketing campaign to update.

Parámetros de salida

  • dataobjectObligatorio

    The updated HubSpot marketing campaign object, including all its properties after the update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update emailsHUBSPOT_UPDATE_EMAILSAcción

Updates multiple hubspot emails in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of email update operations.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response with operation status and results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update existing event templateHUBSPOT_UPDATE_EXISTING_EVENT_TEMPLATEAcción

Updates an existing hubspot event template's name, display templates, and tokens; providing `tokens` replaces the entire existing list, and the `id` in the request body must match `eventtemplateid` in the path.

Parámetros de entrada

  • idstringObligatorio

    Unique identifier of the event template; must match `eventTemplateId` in the URL path.

  • namestringObligatorio

    New name for the event template.

  • appIdintegerObligatorio

    ID of the application associated with the event template.

  • tokensobject[]Obligatorio

    List of token definitions; replaces all existing tokens for the template.

  • detailTemplatestring

    Markdown for the event's detailed timeline view, using Handlebars for dynamic data (e.g., `{{token_name}}`).

  • headerTemplatestring

    Markdown for the event's header on the timeline, using Handlebars for dynamic data (e.g., `{{token_name}}`).

  • eventTemplateIdstringObligatorio

    Unique identifier of the event template to update.

Parámetros de salida

  • dataobjectObligatorio

    Updated event template object, including its properties and tokens as stored in HubSpot.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update existing object schemaHUBSPOT_UPDATE_EXISTING_OBJECT_SCHEMAAcción

Updates an existing custom object schema's metadata in hubspot, such as its description, labels, display properties, required properties, searchable properties, and restorability, for a specified `objecttype` that must already exist.

Parámetros de entrada

  • objectTypestringObligatorio

    The fully qualified name or object type ID that uniquely identifies the custom object schema to be updated. This must correspond to an existing schema in your HubSpot account.

  • restorableboolean

    A boolean indicating whether records of this object type can be restored from the recycle bin if deleted. Set to `true` to enable restoration, `false` otherwise.

  • descriptionstring

    A human-readable description for the custom object schema itself.

  • labels__pluralstring

    The plural display name for the custom object type (e.g., 'Companies', 'Tickets'), used in the HubSpot UI for multiple records of this type.

  • labels__singularstring

    The singular display name for the custom object type (e.g., 'Company', 'Ticket'), used in the HubSpot UI for a single record of this type.

  • requiredPropertiesstring[]

    A list of internal names of properties that are mandatory when creating a new record of this object type.

  • searchablePropertiesstring[]

    A list of internal names of properties that will be indexed and searchable within HubSpot's product search for this object type.

  • primaryDisplayPropertystring

    The internal name of the property that will serve as the primary display identifier on the HubSpot record page for this object type. This is typically a unique identifier like a name or ID.

  • secondaryDisplayPropertiesstring[]

    A list of internal names of properties to be displayed as secondary information on the HubSpot record page for this object type. These properties appear below the primary display property.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the complete, updated custom object schema, including all its properties and settings as returned by the HubSpot API.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update feedback submission by idHUBSPOT_UPDATE_FEEDBACK_SUBMISSION_BY_IDAcción

Partially updates writable properties of an existing hubspot feedback submission, identified by its `feedbacksubmissionid` (which can be an internal object id, or a unique property value if `idproperty` is specified).

Parámetros de entrada

  • idPropertystring

    The name of a unique property used to identify the Feedback Submission. If provided, `feedbackSubmissionId` must contain the value of this property, instead of the internal object ID. This property must be a unique identifier for Feedback Submission objects.

  • propertiesobjectObligatorio

    A dictionary of properties to update on the Feedback Submission. Keys are the internal names of the properties, and values are their new string values. Only properties included here will be modified; others will remain unchanged.

  • feedbackSubmissionIdstringObligatorio

    The unique identifier of the Feedback Submission to update. This can be its internal object ID or a unique property value if `idProperty` is specified. Must be a non-empty string.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the full, updated Feedback Submission object after the changes have been applied.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update line item object partiallyHUBSPOT_UPDATE_LINE_ITEM_OBJECT_PARTIALLYAcción

Partially updates specified properties of an existing hubspot line item, identified by `lineitemid` (as hubspot object id or value of `idproperty` if used); new values overwrite existing ones, and an empty string clears a property.

Parámetros de entrada

  • idPropertystring

    Name of a unique property on the Line Item used for identification instead of HubSpot object ID. If used, `lineItemId` must contain this property's value. Must be a valid, unique-value property for Line Items.

  • lineItemIdstringObligatorio

    Identifier for the Line Item to update: HubSpot object ID by default, or the value of the unique property if `idProperty` is specified. Must be non-empty.

  • propertiesobjectObligatorio

    Properties to update. Keys are internal HubSpot line item property names (e.g., 'quantity', 'price'), values are new string values. Example: `{'quantity': '5', 'name': 'New Product Name'}`.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated Line Item object, including all its properties after the partial update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update pipeline stage by idsHUBSPOT_UPDATE_PIPELINE_STAGE_BY_IDSAcción

Partially updates a hubspot crm pipeline stage identified by `objecttype`, `pipelineid`, and `stageid`, requiring `metadata` in the request; unspecified fields are unchanged.

Parámetros de entrada

  • labelstring

    The display name (label) of the pipeline stage. This label must be unique within the pipeline it belongs to. Omit to leave unchanged.

  • stageIdstringObligatorio

    Unique identifier of the pipeline stage to update; must exist within the specified `pipelineId`.

  • archivedboolean

    Set to `true` to archive the pipeline stage, `false` to unarchive. If omitted, its archival status remains unchanged.

  • metadataobjectObligatorio

    Required. Stage-specific metadata (key-value string pairs) based on `objectType`. - For 'deals': MUST include 'probability' (string '0.0'-'1.0', e.g., '0.7', in '0.1' increments). - For 'tickets': Optional 'ticketState' ('OPEN' or 'CLOSED'). For others, or if no specific metadata is set (and `objectType` allows), an empty `{}` may be used (deals always require 'probability').

  • objectTypestringObligatorio

    Type of CRM object (e.g., 'deals', 'tickets') for the pipeline; must be a valid HubSpot object type that supports pipelines.

  • pipelineIdstringObligatorio

    Unique identifier of the pipeline (specific to the HubSpot account and `objectType`) containing the stage to update; must refer to an existing pipeline.

  • displayOrderinteger

    The display order for this pipeline stage. If multiple stages share the same `displayOrder`, they are sorted alphabetically by `label`. Use -1 to position the stage at the end. Omit to leave unchanged.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the full representation of the updated pipeline stage, including all its properties.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update productHUBSPOT_UPDATE_PRODUCTAcción

Updates properties for an existing hubspot product.

Parámetros de entrada

  • productIdstringObligatorio

    Unique HubSpot identifier for the product to be updated.

  • propertiesobjectObligatorio

    Product properties to update. Keys are internal HubSpot property names.

Parámetros de salida

  • dataobjectObligatorio

    The product object after the update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update productsHUBSPOT_UPDATE_PRODUCTSAcción

Updates multiple hubspot products in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of product update operations.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response with operation status and results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update specific CRM propertyHUBSPOT_UPDATE_SPECIFIC_CRM_PROPERTYAcción

Updates attributes of an existing hubspot crm property, identified by its `objecttype` and `propertyname`; only provided fields are modified, and changing a property's `type` can cause data loss if incompatible with existing data.

Parámetros de entrada

  • typestringenum

    New data type for the property. Modifying the `type` of an existing property with data can cause data loss; use with caution.

    stringnumberdatedatetimeenumerationbool
  • labelstring

    New human-readable label for the property, displayed in the HubSpot UI.

  • hiddenboolean

    If true, hides the property in the HubSpot UI, making it not generally visible or usable in standard interfaces.

  • optionsobject[]

    List of new option definitions if property `type` is 'enumeration'; supplying a new list overwrites existing options.

  • fieldTypestringenum

    New field type controlling how the property is displayed and interacted with in the HubSpot UI.

    textareatextdatefilenumberselectradiocheckboxbooleancheckboxcalculation_equation
  • formFieldboolean

    If true, allows this property to be included as a field in HubSpot forms and available in the form editor.

  • groupNamestring

    New internal name of the property group for this property; groups help organize properties in the HubSpot UI.

  • objectTypestringObligatorio

    Type of CRM object for which the property is being updated; this determines its context.

  • descriptionstring

    New description for the property, displayed as help text in the HubSpot UI.

  • displayOrderinteger

    New display order for the property within its group. Lower positive integers appear first; -1 typically places it after positively numbered properties.

  • propertyNamestringObligatorio

    Internal name of the property to update (case-sensitive); must correspond to an existing property for the specified `objectType`.

  • calculationFormulastring

    New formula if `fieldType` is 'calculation_equation'; defines how its value is auto-computed. Ensure valid HubSpot calculation syntax.

Parámetros de salida

  • dataobjectObligatorio

    The full definition of the CRM property after the update has been applied.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ticketHUBSPOT_UPDATE_TICKETAcción

Updates properties for an existing hubspot ticket.

Parámetros de entrada

  • ticketIdstringObligatorio

    Unique HubSpot identifier for the ticket to be updated.

  • propertiesobjectObligatorio

    Ticket properties to update. Keys are internal HubSpot property names.

Parámetros de salida

  • dataobjectObligatorio

    The ticket object after the update.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update ticketsHUBSPOT_UPDATE_TICKETSAcción

Updates multiple hubspot tickets in a single batch operation.

Parámetros de entrada

  • inputsobject[]Obligatorio

    List of ticket update operations.

Parámetros de salida

  • dataobjectObligatorio

    HubSpot API response with operation status and results.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update token on event templateHUBSPOT_UPDATE_TOKEN_ON_EVENT_TEMPLATEAcción

Updates the label or options of an existing token within a specified hubspot crm event template; token name and data type remain unchanged.

Parámetros de entrada

  • appIdintegerObligatorio

    Unique identifier (ID) of the application associated with the event template and token.

  • labelstringObligatorio

    New human-readable label for the token, displayed in UIs and used for segmentation/reporting.

  • optionsobject[]

    List of option objects defining selectable choices, applicable only if the token's type is 'enumeration'. Required to modify options for an enumeration type token.

  • tokenNamestringObligatorio

    Name of the token to update within the specified event template; must match an existing token's name.

  • eventTemplateIdstringObligatorio

    Unique identifier (ID) of the event template containing the token to update.

  • objectPropertyNamestring

    Name of the CRM object property this token populates, linking its value to a CRM object property. If null, no direct mapping.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary representing the updated token object, including its properties like name, label, type, and options (if applicable).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Update video conference app settingsHUBSPOT_UPDATE_VIDEO_CONFERENCE_APP_SETTINGSAcción

Updates interaction urls (for creating/updating/deleting meetings, fetching accounts, verifying users) for a video conference application specified by `appid`; the application must exist and all urls must be valid and publicly accessible.

Parámetros de entrada

  • appIdintegerObligatorio

    Unique identifier for the video conference application in HubSpot, assigned upon creation in the developer portal. Example: 12345.

  • userVerifyUrlstring

    URL HubSpot uses to verify a user's existence and authentication with the video conference app, confirming identity before certain actions.

  • createMeetingUrlstringObligatorio

    URL HubSpot uses to send requests for creating new video conference meetings.

  • deleteMeetingUrlstring

    URL HubSpot uses to notify the video conference app when an integrated meeting is deleted in HubSpot.

  • fetchAccountsUristring

    URL HubSpot uses to fetch user accounts from the video conference app, enabling users to select from multiple accounts if available.

  • updateMeetingUrlstring

    URL HubSpot uses to send updates for existing meetings, e.g., when details like topic or schedule are modified within HubSpot.

Parámetros de salida

  • dataobjectObligatorio

    A dictionary containing the successfully updated settings of the video conference application.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Triggers (2)

Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).

Contact Created TriggerHUBSPOT_CONTACT_CREATED_TRIGGERTrigger

Contact Created Trigger

Configuración

  • app_idstringObligatorio

    The ID of the app.

  • developer_api_keystringObligatorio

    HubSpot Developer API Key (hapikey) for webhook management. Get this from developers.hubspot.com

Payload del evento

  • objectIdstringObligatorio

    The ID of the object.

  • subscriptionTypestringObligatorio

    The type of the event subscription.

  • subscription_idstringObligatorio

    The ID of the subscription.

Deal Stage UpdatedTriggerHUBSPOT_DEAL_STAGE_UPDATED_TRIGGERTrigger

Deal Stage UpdatedTrigger

Configuración

  • app_idstringObligatorio

    The ID of the app.

  • developer_api_keystringObligatorio

    HubSpot Developer API Key (hapikey) for webhook management. Get this from developers.hubspot.com

Payload del evento

  • objectIdstringObligatorio

    The ID of the object.

  • subscriptionTypestringObligatorio

    The type of the event subscription.

  • subscription_idstringObligatorio

    The ID of the subscription.