Operations
"Operations" are atomic API calls, attached to a module, which encapsulate the execution of a previously configured function. In other words, operations are the actions that can be carried out by your module when they are subsequently added to a flow.
Example: imagine we have a module called "SalesY" and it can perform the following operations:
List all sales for the day
List the 10 best-selling products
Add a product and its price
All these examples can be configured via operations.
How to add an operation
Click on "New operation".

You will then be shown the screen for filling in the data for the new operation, which is divided into 4 stages:
Follow each item step by step:
General Information
Add the name and description of the new operation.
Then click on "Next Step".

Parameters
In this step you will configure the parameter that will be used in the module, always according to the type (Database, E-mail, REST, etc). To do this:
Click on "Add parameter". The following modal will then be displayed:

The fields are:
Name: choose a name that best describes the parameter's function;
Description: describe the parameter's function;
Type: select here the type of data accepted by the parameter:
String: any combination of alphanumeric characters
Number: any number.
Boolean: true/false
Object: JSON object. Example: { "name" : "John" }
Array: JSON array. Examples: [ "A", "B" ], [ "1", "2" ]
Mandatory field: makes the parameter mandatory when checked, so that it is always passed in the input JSON.
Sensitive data: when selected, this field denotes that the parameter value will not be published if the module is shared.
Example: add an example according to the data type specified in the Type field.
To finish, click "Save changes".
You can click on "New parameter" to add a new item, or choose the "Next step" button to continue with the settings (Request).
Request
In this tab, you can write a request using the parameters created earlier. To make it easier, we’ve organized the instructions by connectivity type. Click on the appropriate option:
Output structure
In this step, take into account the type of connectivity chosen earlier ("Settings"):
Last updated
Was this helpful?












