Return of value

I have the following script that gets the postcode from the bot and searches for the appropriate location. Also works so far, but how do I get the value back into the bot?

const axios = require(‘axios’)
URL = “http://api.zippopotam.us/de/
URL = URL + user.plz

axios
.get(URL)
.then(({data}) => {
data = JSON.parse(JSON.stringify(data).replace(“place name” , “placename”));
user.placename = data.places[0].placename;
console.log(user.placename)
})

.catch(console.error)

hi @Hariko50
save the response in memory (temp / session / user)
memory.var
test in text {{user.palcename}}
and if pass the memory to data you can use {{user.data.places.0.placename}}
Screen Shot 2020-01-06 at 5.05.57 PM