Modules
...
Journey Builder
Rule Engine

API Based Conditions

3min

The parameters that will drive the navigation utilizing the current APIs are called API-based Conditions. It entails the definition of variables connected to a particular API and bound to operators. It facilitates placing a variety of checks in place as well.

How Does API-Based Condition Work?

  • API-based Condition has to be selected from the 'Condition Type' dropdown to enable API conditions.
  • Then, we get the option to select the API for the page according to the requirement. Here we have shown the Aadhaar Verification API for example. For an understanding of more APIs click here.
API condition configuration
API condition configuration

  • After selecting the API, we need to insert the 'Input Variables' according to the 'API Parameters' that appear on the screen.
  • We then need to select the variable, the operator, and the value for the API that we have chosen and click on the Create button.
  • There is also the option to Add New Conditions and configure it accordingly.
  • Click on the 'Proceed' button.
Configuration of rules for API based condition
Configuration of rules for API based condition

  • We select the operator as All because we can work on multiple APIs at once. Multiple conditions can also be added to one rule here.
  • The destination page can be chosen when the condition is true according to the requirement, and on condition being False or Uncertain the destination page can be chosen as an error page/popup.

Getting help

Please feel free to contact us if you have any questions, require clarification, or have ideas for how to make the documents or any of our services better.

You can reach out to us at [email protected].



Updated 27 Sep 2024
Did this page help you?