Links

5 min QuickStart Guide

This page provides a checklist and quick links to configure various components of the Nected platform.
Use the following links, in any order, to quickly and easily setup the Nected platform and start your first project:

Try our Interactive Demo

Go To our Demo Rule where Nected provides pre-established rules that you can utilize to evaluate the platform by yourself. You can see the demo on rules listing page and try playing with the rule.
Demo Rule is about calculating dynamic pricing & discounts based on certain attributes like product_name, customer_location & inventory_left and then show it back to the customer over UI.
While customer location & product name are being sent directly from the frontend everything, inventory left needs to be fetched from the database to calculate dynamic discount and pricing for the product named product_name
In the Demo rule, you will find already attached Demo Dataset (Demo-Product-DataSet) built over demo mysql database via integration named Demo-Mysql-Connector.

Create and publish your first rule

Follow this procedure to create a decision table rule for one of your datasets:
  1. 1.
    Log into Nected with your Email ID and password.
  2. 2.
    Click Rules in the left navigation to open the Rules page. On the Rules page, you can create new rules based on your business requirements and modify these rules when business requirements change.
  3. 3.
    Click + Create Rule button on the Rules page and Select rules to be created - SimpleRule (if/else/then statement), DecisionTable (rules table with multiple conditional rows), and a Ruleset (group of rules working simultaneously). The decision table configuration form opens.
  4. 4.
    Define the condition and configuration for your decision table.
    Note: This information is the same for both staging and production decision tables. Provide the following decision table condition information:
    1. 1.
      Write Name the decision table. It must be unique throughout the Nected platform and must not contain any spaces.
    2. 2.
      Decision Table type – Staging or Production.
    3. 3.
      Rule Description – A meaningful description of the rule to understand its purpose.
    4. 4.
      Click on Add Source to configure input parameters to the rule (custom or via dataset)
    5. 5.
      Select a Rule Policy for executing the decision table from First, Unique, Collect, and Order.
    6. 6.
      Create conditions in the no-code editor - The rule condition based on which it will act. The condition is in the format of – if -> attribute -> operator -> value.
    7. 7.
      Click Test in Staging to test the rule to see the condition results via our Test Console, where you can enter values for the input attributes used in the rule condition and see the rule output on your screen.
    8. 8.
      After a successful test, click on Publish to publish the rule.

Create Rule Action to Update result / Trigger flow

Based on the rule result, you can add an action that this rule will take either to update the result or to trigger any flow in your internal as well as 3rd party systems via our Database & REST API connectors.
Note: The action is triggered asynchronously to the result. Rule will return the output first and then would fire all the associated actions asyncronously
On the Integrations page, you can integrate any database to pull data from and push data to any data source as well as set up your own REST APIs.
Nected supports MongoDB, MySQL, and Postgres databases. Nected also provides a pre-configured ready-only connector for the production environment. Click the Connected button of the Demo-Mysql-Connector connector to check the configuration values of the demo connection.

Trigger rule from your internal or 3rd party systems via API

After you successfully publish the rule, you can trigger the rule via API from any system. If you choose to trigger the rule privately/securely from an API server, then you will need an API key.

Connect your own data source with rule

Nected comes with seamlessly integrable and data-driven rules wherein you can use your data present in the database directly to be used in any rule. This way, you wouldn't have to pass all the attributes using which rule has to be processed.
  1. 1.
    On the Datasets page, you can create a dataset that provides a view of the data returned from the execution of the specified database query. Execute and publish the dataset.
  2. 2.
    Go back to the rule that you had created. Click on Add Source to select a dataset from the list to associate with this rule and click Next.
  1. 3.
    In the input data screen, Add a mapping data key using which all the other data attributes can be directly fetched from the dataset. You can still keep/add the custom input attributes created earlier. which you want to pass directly to the rule via Frontend & don't want it to be fetched from the database.
  1. 4.
    Click on Save Button.
Your rule properties would have dataset attributes available to build in any rule conditions over our no-code editor now.