CSV Data to API (Conditional Rules & Connectors)

Description:
Add support for multiple conditional rules when configuring fields in CSV → Data to API.
Each condition should allow selecting the data source, logic condition, and comparison value, with the ability to combine them using connectors.


1. Functional Additions

Add a new section titled “Value comparison from” with two options:

  • Smart Document → displays Variable (Smart Doc)

  • CSV → displays Field (CSV)

Include an “Add condition (+)” button to allow users to create new conditions dynamically.


2. Multiple Conditions

When a new condition is added, display a Connector dropdown with the following options:

  • & → AND (Y)

  • | → OR (O)

  • != → NOT / different condition

Each condition block should repeat the same structure as the first:

  • “Value comparison from” (Smart Document / CSV)

  • Variable / Field

  • Logic condition

  • Comparison value

Allow adding multiple conditional blocks connected through the chosen connectors.


3. “Filling” Condition

Add a new logic condition named “Filling” (Rellenado).
When this option is selected:

  • Hide the “Value compare” field.

Purpose:
Used to validate whether a field or variable contains information before executing a rule.


Objective:
Enable complex rule-building for CSV → API data mapping, allowing dynamic and conditional validation logic.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top

Contact Us

contact with an agent

Use this form to reach our agent quickly. We're here to assist you.


Learn how we handle your information in our Privacy Policy.