In a competitive environment, the lightweight microservices architecture enables incremental delivery of capabilities. With multiple services available for reuse you can integrate them with the no-code platform with necessary customization suited to your needs.
For example, an API from Trello can be used to integrate the Trello board to your project plan, Slack can be used to send and receive messages, retrieve the user list, and so on. You can make use of the different APIs to enhance the features in your applications. For our no-code platform, you can find a list of API services that are available under the Connectors Tab. In case the API you want to use is not present you can add one on your own using the +Connector option.
Studio offers three types of Connectors: Custom API Connectors, Custom Database Connectors, and Ready Third Party Connectors. All the connectors will have to be configured as per the respective connector’s requirements.
Custom API Connectors are configured with customizations as required for your application. They are built around the existing functionalities of the respective APIs. The Custom Database Connectors provide you with the functionality to configure and connect with different relational database connectors available. The Ready Third-Party Connectors are typically where you only make use of the different methods or functions provided by the API. You may not have any additional customizations.
Let us now have a look at how we can configure the Connectors.
Now you need to add the API to the Workflow. Go to the Workflow and click Select task or connector. Select the API you need from the three types of Connectors available and click Add . Let us for the sake of example consider the Slack connector. Under Ready Third Party Connector, select Slack and click Continue.
Typically for each of the Connectors that you select, you would then have a list of methods or functions available for the respective APIs. Here for Slack, let us select SendMessage and click Continue.
Once you have selected the methods and functions, you would then have to provide the authentication. Select an account or add an account.
Now that the user is authenticated, you would configure the connector fields.
Now provide the details as to when to use Connector. You may provide details like When to Execute, Environment to Execute, and add the Variables to use in Response. Click Add Variable and enter the variable name and its respective value which can be derived from the Data option. These variables can be used in other tasks of the workflow. Also, enter the self-explanatory Task Name and Task description and click Finish.
Using the variables in another task of the same workflow.
Now to call the API from the action button we have a CALLAPI() . We would provide the name of the API that we created earlier and then Save it.
This method of using the API Services workflow is common to all types of Connectors. It may differ to some extent based on parameter and authentication methods.
You can also refer to the video tutorial here to have a quick idea of how to use the different API Services.
You can refer to this link here to understand how to use the API services.