Skip to content

Usage of Object Variable

Let's assume that the value of our variable named ArrayData and typed Object is as follows.

json
[
  {
    "id": 1,
    "name": "Arda Güler" 
  }
]

To send the entire value of the variable to our customers in any message, see the usage below.

In the usage above, the message content will be displayed as follows in the message sent to our customer.

When using our variable, we can reach the value Arda Güler with the following usage.

⭐ Important!

As shown in the example above, in order to reach the sub-values ​​within the values ​​of our Object variable, we need to write {> at the beginning and <} at the end of the place where we use the variable.

Bonus 🚀

⭐ Important!

If we want, we can also use the features that Javascript offers us while using the variable we wrote between {> and <}. See the examples below.

  • Node content message
  • Outgoing Message

⚠️ Warning!

If an error occurs in these operations, the outgoing message will be as follows.