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
Name | Type | Required | Description |
---|---|---|---|
formId | string | Yes | ID of the form to which to add the new item |
action | string | Yes | ID of the action, e.g. 'email' or 'webhook', etc. |
configuration | struct | Yes | Structure of configuration options for the action |