HubSpot · JSON Structure

Custom Workflow Actions Api 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/meta/core/v0/# meta-schema.

Properties

functionType id

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/custom-workflow-actions-api-action-function-reference-structure.json",
  "name": "ActionFunctionReference",
  "description": "A reference to a function associated with an action",
  "type": "object",
  "properties": {
    "functionType": {
      "type": "string",
      "enum": [
        "PRE_ACTION_EXECUTION",
        "PRE_FETCH_OPTIONS",
        "POST_FETCH_OPTIONS",
        "POST_ACTION_EXECUTION"
      ],
      "description": "The type of function",
      "example": "PRE_ACTION_EXECUTION"
    },
    "id": {
      "type": "string",
      "description": "The unique identifier of the function",
      "example": "500123"
    }
  },
  "required": [
    "functionType",
    "id"
  ]
}