Multi
Allows you to define a set of multiple core API to run in a single call. This function offers high performance benefits. Any of the core functions can be included in the definition and the definitions will act on the output of any of the previous definitions in the list.
Task Credits will be equal to the number of functions * items in list
i.e. if there are 100 items in the list and 2 functions then the API credits consumed will be 100*2 = 200. Check with the support team for task credit utilisation in Multi API Usage for different plans
Each function is in the functions array should have the following properties
Property | Description | |
name | A name for the property that can be used to reference in subsequent function in the list | eg. "switch_source" |
type | One of the CORE API Types i.e - text - json - list - number - datetime - web | |
function | The lowlevel name of the function. Can be found in the url of each function | e.g. If the url is /functions/text/switch The type is "text" and the function is "switch" |
Use Case: Say you want to apply two functions on a list of JSON Input from a lead source. Switch and Split Date (Define) to extract the month name and year and then use the value in the final output by using Convert a JSON Object from one format to another
API Definition