Welcome to the community, @Matias_Muller! :grinning_face_with_big_eyes: Unfortunately there isn’t a way to “look into” a script running in an automation and retrieve any data values. The script can use output.set() to pass data to later automation steps, or it can store data in table records, but it can’t pass data to any other part of Airtable.
The best workaround that I can think of would be to use JSON.stringify to convert your object to a string, store that string in a record field, and then retrieve and parse that object string from your app. It’s admittedly a bit “messy” because you have to have a record somewhere to temporarily store this data being passed from automation-script to custom app, but it’s the only option that readily comes to mind.