HubSpot · JSON Structure

Hubspot Custom Workflow Actions Action Function Reference Structure

A reference to a function associated with an action

Type: object Properties: 2 Required: 2
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

ActionFunctionReference is a JSON Structure definition published by HubSpot, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

functionType id

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "A reference to a function associated with an action",
  "name": "ActionFunctionReference",
  "properties": {
    "functionType": {
      "type": "string",
      "description": "The type of function",
      "enum": [
        "PRE_ACTION_EXECUTION",
        "PRE_FETCH_OPTIONS",
        "POST_FETCH_OPTIONS",
        "POST_ACTION_EXECUTION"
      ]
    },
    "id": {
      "type": "string",
      "description": "The unique identifier of the function"
    }
  },
  "required": [
    "functionType",
    "id"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}