addAction()

Overview

public string function addAction(
      required string formId       
    , required string action       
    , required struct configuration
)

Adds a new action to the form. Returns the ID of the newly generated action

Arguments

NameTypeRequiredDescription
formIdstringYesID of the form to which to add the new item
actionstringYesID of the action, e.g. 'email' or 'webhook', etc.
configurationstructYesStructure of configuration options for the action