ProtectedapiHubSpot API version
ProtectedcrmThe CRM provider this action is designed for (e.g., 'HubSpot', 'Salesforce', etc.)
ProtectedintegrationThe integration name to look up in the Integration entity
ProtectedparamsCurrent action parameters (set by the framework)
Metadata about this action
Define the parameters this action expects
ProtectedassociateAssociate objects in HubSpot
OptionalassociationType: stringOptionalcontextUser: UserInfoProtectedbatchProtectedbatchProtectedbuildHelper to build consistent error messages for CRM operations
OptionalsystemError: anyProtectedformatStandard date format for CRM systems (ISO 8601)
ProtectedformatFormat date for HubSpot (ISO string or milliseconds)
ProtectedformatFormat phone numbers to E.164 format if possible
ProtectedgetGets the base URL for API calls
ProtectedgetGets API credentials - first tries environment variables, then falls back to database
ProtectedgetGet HubSpot association type IDs Based on HubSpot's default association type IDs
ProtectedgetCommon CRM parameters that many actions will need
ProtectedgetGets the company integration record for the specified company and CRM
ProtectedgetGets credentials from environment variables Format: BIZAPPS_{PROVIDER}{COMPANY_ID}{CREDENTIAL_TYPE} Example: BIZAPPS_HUBSPOT_12345_API_KEY
ProtectedgetHelper to get parameter value with type safety
ProtectedInternalLog an activity (engagement) in HubSpot
ProtectedisValidate email format
ProtectedmakeProtectedmakeProtectedmapCommon activity types mapping
ProtectedmapMap deal/opportunity stages to common statuses
ProtectedmapMap HubSpot object properties to a standard format
ProtectedparseParse date from CRM format
ProtectedparseConvert HubSpot timestamp to Date
Executes the action with the provided parameters.
The action execution parameters including context
Promise resolving to the action result
Protectedsearch
Action to log activities (calls, emails, meetings, notes) in HubSpot