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.
nameRequiredstringThe 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 (_).
typeRequiredstringThe data type of the token. Determines how the token's value is stored and validated.
appIdRequiredintegerNumeric identifier of the target application associated with the event template. Provided in the URL path.
labelRequiredstringThe user-facing label for the token. This label is used for list segmentation and in reporting.
optionsarrayA 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'.
eventTemplateIdRequiredstringUnique identifier of the event template. Provided in the URL path.
objectPropertyNamestringThe 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.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.