HubSpot · Schema

ActionFunctionInput

Input for creating or updating a function

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
functionSource string The JavaScript source code of the function
View JSON Schema on GitHub

JSON Schema

custom-workflow-actions-api-action-function-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/custom-workflow-actions-api-action-function-input-schema.json",
  "title": "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"
  ]
}