This API is responsible for executing the primary action defined in a plugin. When users configure an action, the Final Perform API handles the actual process of sending or receiving data to the target application or service and performing the desired operation, such as creating, updating,getting or deleting records.
For example if creating a action “new entry” in Google Sheets plugin, the Final Perform API will:
Collect data from the input form. The input fields which are created from JSON or GUI we have to collect the data and send it in the api where needed using ${context.inputData.fielfName}.
For example: If Json Have fields username,email,phone to access them in final perform API use field key.
🔴Note : If fields are inside an input group, include the input group key name before the field key. ex:context.inputData.IGName.fieldName.
In google API docs a API is defined to create a new record in the sheet, make javascript code for that API call and Send above collected data to the Google Sheets API. For include authentication use: ${context.authData.access_token/fieldName}
Include input fields use : ${context.inputData.fieldName}
Save the API code. For Testing the Api you can run code by clicking the “Test” button. Viasocket also provide option to optimize your code you can optimize your code by clicking “optimize” button