0:00 Music 0:06 As you see, you can form many data inside the set node. 0:11 For example, create this text here. 0:15 Continue, contain a URL and an email. 0:21 And you can see it here as a string. 0:25 And also you can set a number. 0:27 You can set a boolean and the result will be a number here and true or false in the result. 0:33 You can form an array inside the set and the array is just open brackets, square brackets and put the numbers inside or strings inside or objects inside. 0:44 So the array here can hold 0:47 any other data and you can access elements by element also so the execution of this 0:56 this form here will be like this the array name is this one and the elements go like 5 10 10 and you can select the any element from them from the next output 1:11 and we can see the object the object form is looks like that the brackets here 1:17 and inside of it there is another a key value and the value itself can be another object so you have a multiple object and you can see here the multiple objects the objects this one here have an object or value 1:33 named user contains the ID and the name. 1:36 And another object or another key value contains the address, and the address contains the city and zip code. 1:46 With their key and their value. 1:51 And also can hold that time, times on like that. 1:56 That one is set not. 2:00 This node here contains a dummy data. 2:02 And when you execute this one, 2:06 the anything be able to represent the data of JSON file as a schema 2:14 to make it readable more or as a table you can see the data here or as a JSON brute JSON file or JSON object and for the next one 2:27 We can also execute. 2:29 Here you can see the code of JavaScript. 2:35 The code of JavaScript to trade the input data. 2:40 You can run here this one here and you can see the data traded to the output so for example 2:49 array length here is on json code says json.array.length that mean he will get the length of the array element the array element is the one 3:04 And the result of it is here. 3:05 Array length is 5. 3:07 Why 5? 3:08 Because we have 1, 2, 3, 4, 5, 5 elements inside this array. 3:12 Also, you can, for example, access to an element inside an array. 3:17 So we have this array. 3:18 We want to access to an element from here. 3:21 To access or to get one item from the array here, you can just do a JSON as a 3:28 an input this input whole input is a json dot array if you do here dot that means you want to enter to a specific element 3:39 the element here specific one we select array so that one then inside the bracket here you can put the number 3:47 So the first one is the 0. 3:49 The 0 is you will get the first number in the element. 3:54 Or the first element inside the array will be 5. 3:57 So here the result. 3:58 Array first is 5. 4:00 Let's change it and let's say second or second. 4:07 Second. 4:09 To access to the second element here, we have to put here 1. 4:15 Because the counting starts from the 0. 4:17 So the 0, the first element, the 1 is the second element. 4:22 And when execute this one, you will see the second element here is 10. 4:27 And we go here, we will see 10. 4:29 So this represents you can modify the... 4:33 The fields here with a JavaScript code and you can do some pre-tracement for your data and so on. 4:40 For example, we have here array includes 10. 4:48 array includes 10. 4:51 So this just if condition like or ask if the array contain the 10 or no. 4:57 So the array contains 10. 4:59 So the result will be true. 5:01 And so on. 5:02 We see here you can convert it to uppercase. 5:05 A string you can convert it to uppercase. 5:07 All of them was like lowercase. 5:13 Then you convert it to uppercase. 5:15 And here is the result. 5:19 and so on there is many function you can do you can do a round number you can do a 5:26 floor number that means if 1999 will be 19 and you see here the result floor number and also you can turn it to the other way other way is like 5:40 converted to 20, you can use many mathematical annotations. 5:49 To just access, you can just select the json.object.address.city. 6:00 Then when execute this one, we'll give you the city in this key here. 6:06 The key of city is you have the key and the value. 6:10 So we will give you the value of the key. 6:13 Then the result will be here, Paris. 6:18 So this is a fast look to the field here. 6:22 Or to set node and their capability and we will see the far or indirect node access 6:32 from here to here we have or we got the direct access that means the elements or the data come from the previous node to the next node 6:42 with a direct way. 6:43 But what if you have an element here 6:47 and an element here and you want to access to a data from the first node don't have a direct access to you so in this way 6:59 you will use another form of reference so you will use 7:05 the dollar sign, then the name of node you want, then you can access after that. 7:12 This is on direct access to the node. 7:15 For the direct access will be just like this, json.members, just access directly. 7:21 For if condition, 7:23 Let's run this one and run this one. 7:25 For the DOMI input, we have here... 7:31 We have here three elements. 7:34 Customer name is Alice and order total is 99 and is new customer is true. 7:39 So we do just a if condition for this one. 7:44 The if condition if order total is 7:49 greater than or equal to the number 100. 7:53 So what we do, we just get this here. 7:59 And drag it and drop it here. 8:03 That's what we do to get this one. 8:07 Then you can select for in the F condition, you can select any condition. 8:11 If you have a string value, you can do exist or empty or contain part of string to compare with the other value. 8:21 Then based on the comparison or the condition result, you will get true or false. 8:27 So if we execute this node here, 8:31 The order is bigger than 100. 8:39 is false. 8:42 So this value is smaller than 100. 8:45 So the condition is false. 8:47 But if we make this condition here, let's say, let's make it 120, the result will be true. 8:54 So this is how the if condition works. 8:57 Also for the switch, 8:59 This way you have a dummy data here and you will redirect the data to the next output based on the input you have here. 9:10 Let's say inside of it you have a ticket ID and category and priority. 9:16 Those items you can do on condition. 9:20 For each one of them. 9:23 So if this equal to billing, if the category equal to billing, 9:32 the output will be here and you can rename the output of this element and rename it with your one here then the output will just be your what you name it if we execute this one or this node you can see 9:49 the billing is true 9:51 But if you modify it and let the other one is equal, let's say the category is 10:01 If we change this to technical, so the output will be here.
0:00 Music 0:06 As you see, you can form many data inside the set node. 0:11 For example, create this text here. 0:15 Continue, contain a URL and an email. 0:21 And you can see it here as a string. 0:25 And also you can set a number. 0:27 You can set a boolean and the result will be a number here and true or false in the result. 0:33 You can form an array inside the set and the array is just open brackets, square brackets and put the numbers inside or strings inside or objects inside. 0:44 So the array here can hold 0:47 any other data and you can access elements by element also so the execution of this 0:56 this form here will be like this the array name is this one and the elements go like 5 10 10 and you can select the any element from them from the next output 1:11 and we can see the object the object form is looks like that the brackets here 1:17 and inside of it there is another a key value and the value itself can be another object so you have a multiple object and you can see here the multiple objects the objects this one here have an object or value 1:33 named user contains the ID and the name. 1:36 And another object or another key value contains the address, and the address contains the city and zip code. 1:46 With their key and their value. 1:51 And also can hold that time, times on like that. 1:56 That one is set not. 2:00 This node here contains a dummy data. 2:02 And when you execute this one, 2:06 the anything be able to represent the data of JSON file as a schema 2:14 to make it readable more or as a table you can see the data here or as a JSON brute JSON file or JSON object and for the next one 2:27 We can also execute. 2:29 Here you can see the code of JavaScript. 2:35 The code of JavaScript to trade the input data. 2:40 You can run here this one here and you can see the data traded to the output so for example 2:49 array length here is on json code says json.array.length that mean he will get the length of the array element the array element is the one 3:04 And the result of it is here. 3:05 Array length is 5. 3:07 Why 5? 3:08 Because we have 1, 2, 3, 4, 5, 5 elements inside this array. 3:12 Also, you can, for example, access to an element inside an array. 3:17 So we have this array. 3:18 We want to access to an element from here. 3:21 To access or to get one item from the array here, you can just do a JSON as a 3:28 an input this input whole input is a json dot array if you do here dot that means you want to enter to a specific element 3:39 the element here specific one we select array so that one then inside the bracket here you can put the number 3:47 So the first one is the 0. 3:49 The 0 is you will get the first number in the element. 3:54 Or the first element inside the array will be 5. 3:57 So here the result. 3:58 Array first is 5. 4:00 Let's change it and let's say second or second. 4:07 Second. 4:09 To access to the second element here, we have to put here 1. 4:15 Because the counting starts from the 0. 4:17 So the 0, the first element, the 1 is the second element. 4:22 And when execute this one, you will see the second element here is 10. 4:27 And we go here, we will see 10. 4:29 So this represents you can modify the... 4:33 The fields here with a JavaScript code and you can do some pre-tracement for your data and so on. 4:40 For example, we have here array includes 10. 4:48 array includes 10. 4:51 So this just if condition like or ask if the array contain the 10 or no. 4:57 So the array contains 10. 4:59 So the result will be true. 5:01 And so on. 5:02 We see here you can convert it to uppercase. 5:05 A string you can convert it to uppercase. 5:07 All of them was like lowercase. 5:13 Then you convert it to uppercase. 5:15 And here is the result. 5:19 and so on there is many function you can do you can do a round number you can do a 5:26 floor number that means if 1999 will be 19 and you see here the result floor number and also you can turn it to the other way other way is like 5:40 converted to 20, you can use many mathematical annotations. 5:49 To just access, you can just select the json.object.address.city. 6:00 Then when execute this one, we'll give you the city in this key here. 6:06 The key of city is you have the key and the value. 6:10 So we will give you the value of the key. 6:13 Then the result will be here, Paris. 6:18 So this is a fast look to the field here. 6:22 Or to set node and their capability and we will see the far or indirect node access 6:32 from here to here we have or we got the direct access that means the elements or the data come from the previous node to the next node 6:42 with a direct way. 6:43 But what if you have an element here 6:47 and an element here and you want to access to a data from the first node don't have a direct access to you so in this way 6:59 you will use another form of reference so you will use 7:05 the dollar sign, then the name of node you want, then you can access after that. 7:12 This is on direct access to the node. 7:15 For the direct access will be just like this, json.members, just access directly. 7:21 For if condition, 7:23 Let's run this one and run this one. 7:25 For the DOMI input, we have here... 7:31 We have here three elements. 7:34 Customer name is Alice and order total is 99 and is new customer is true. 7:39 So we do just a if condition for this one. 7:44 The if condition if order total is 7:49 greater than or equal to the number 100. 7:53 So what we do, we just get this here. 7:59 And drag it and drop it here. 8:03 That's what we do to get this one. 8:07 Then you can select for in the F condition, you can select any condition. 8:11 If you have a string value, you can do exist or empty or contain part of string to compare with the other value. 8:21 Then based on the comparison or the condition result, you will get true or false. 8:27 So if we execute this node here, 8:31 The order is bigger than 100. 8:39 is false. 8:42 So this value is smaller than 100. 8:45 So the condition is false. 8:47 But if we make this condition here, let's say, let's make it 120, the result will be true. 8:54 So this is how the if condition works. 8:57 Also for the switch, 8:59 This way you have a dummy data here and you will redirect the data to the next output based on the input you have here. 9:10 Let's say inside of it you have a ticket ID and category and priority. 9:16 Those items you can do on condition. 9:20 For each one of them. 9:23 So if this equal to billing, if the category equal to billing, 9:32 the output will be here and you can rename the output of this element and rename it with your one here then the output will just be your what you name it if we execute this one or this node you can see 9:49 the billing is true 9:51 But if you modify it and let the other one is equal, let's say the category is 10:01 If we change this to technical, so the output will be here.