Basic Javascript Function concatenation [SOLVED]

Hi.
I'm struggling in understand what's wrong in this concatenation.
I'm failin in concatenate this object[1], using this function[2].
Nothing is coming out.

Thanks in advance for your answer.

This is the code

[1]
{"specie":"siamese","animal":"cat","age":5,"name":"Pippi","vax":true,"vaxDate":3}

[2]

let string1 = 'This ';
let animal = msg.payload.animal;
let string2 = ' is called ';
let name = msg.payload.name;

//let age = Number(msg.payload.age);
//let data = Number(msg.payload.vaxDate);
//let anni = age - data;

let final = string1;// + animal + string2 + name;

msg.payload.text = final;

Hi @vongomben

You need to add return msg to the end of the code to pass the message on.

oops.
Thanks.
That was monday afternoon probably.

ciao!