HubSpot · JSON Structure

Hubspot Custom Workflow Actions 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/draft/2020-12/schema meta-schema.

Properties

functionSource

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

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Input for creating or updating a function",
  "name": "ActionFunctionInput",
  "properties": {
    "functionSource": {
      "type": "string",
      "description": "The JavaScript source code of the function"
    }
  },
  "required": [
    "functionSource"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}