Show information obtained from mockapi in template carousel

Hello, I have a code which apparently does not work well, I need to display the information obtained from a bot action which uses a service node to extract it from a mockapi, which when running the program detects information, but I do not print it.
This is my code.
I used excel to make the mockapi so I used typeProduct, while in mockapi I put it with type_product, I tried it both ways and it doesn’t work.

Hello @diiegogal ,

From the given snippet we suspect that the if statement is not satisfied, and thus the the element value is not defined.

Kindly confirm if the provided condition is correct.