Skip to main content

Cloud Function

This node is used to make calls to backend cloud functions. To use cloud functions you need to have an external Parse backend up and running and have attached cloud functions or have a Noodl Zap running in Zapier. You can read more about how to make your own backend logic here.

You need to specify the name of the cloud function you want to call. This is done via the Function Name property.

You can also provide parameters that you want to be passed to the cloud function by adding them using the Parameters property. Once a parameter is added the corresponding input is available on the node. You provide the input values via regular Noodl connections.

The cloud function can return a value, an object or an array when finished. The return value will be available on the Result output. The result value will be converted to a Noodl type, for example an Object or an Array containing Objects. The only exception is if the returned array is an array of JavaScript primitives (strings, numbers, booleans), i.e. not objects. Then Noodl cannot convert the array to a Noodl Array with Objects. Instead the returned array will be a JavaScript array with primitives that need to be handed in JavaScript by a Function or Script node.

Inputs

DataDescription
Function NameThe name of the cloud function to call.
Custom Parameters<##input:pm-*##>A parameter that will be passed to the function. Any parameters you add will become available as inputs on the node.
SignalDescription
CallSend a signal on this input to issue the request to the backend.

Outputs

DataDescription
ResultThis output will contain the result that the Cloud Function returns upon completion.
SignalDescription
SuccessThis is sent if the function returns a success code and a result object.
FailureThis is sent if the function returns a fail code.