HubSpot · JSON Structure

Custom Workflow Actions Api Action Function Input Structure

Input for creating or updating a function

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

ActionFunctionInput is a JSON Structure definition published by HubSpot, describing 1 property, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

functionSource

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-input-structure.json",
  "name": "ActionFunctionInput",
  "description": "Input for creating or updating a function",
  "type": "object",
  "properties": {
    "functionSource": {
      "type": "string",
      "description": "The JavaScript source code of the function",
      "example": "example-value"
    }
  },
  "required": [
    "functionSource"
  ]
}