Mapping using UI

Data mapping involves the process of accessing information from preceding data points. This process does not involve altering or manipulating the data, but rather simply making reference to it.

You can map data in the following ways:

  • Using the expressions editor.

  • By dragging and dropping data from the INPUT into parameters. This generates the expression for you.

Drag and drop data#

  1. Run your workflow to load data.

  2. Open the node where you need to map data.

  3. You can map in table, JSON, and schema view:

    • In table view: click and hold a table heading to map top level data, or a field in the table to map nested data.

    • In JSON view: click and hold a key.

    • In schema view: click and hold a key.

  4. Drag the item into the field where you want to use the data.

Data mapping assigns the key path and loads the corresponding value into the field. For instance, consider the following data:

[
	{
		"fruit": "apples",
		"color": "green"
	}
]

To assign fruit values to specific fields, users can employ a drag-and-drop process of fruits from the input section. This action leads to the formation of an expression, denoted as {{ $json.fruit }}, which specifies the value of the fruit. As the node progresses through input entries, the field's value dynamically adjusts to represent the fruit value associated with each item.

Nested Data

Appizap Workflow Builder displays the nested data in table form like this:

[
  {
    "name": "First item",
    "nested": {
      "example-number-field": 1,
      "example-string-field": "apples"
    }
  },
  {
    "name": "Second item",
    "nested": {
      "example-number-field": 2,
      "example-string-field": "oranges"
    }
  }
]

Last updated