Help

Re: Get the output of an automated script

1906 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Matias_Muller
4 - Data Explorer
4 - Data Explorer

Hello everyone!

I made a script that is triggered when webhook is received.
In my script I created a finalObject that has all the information i need.

My question:

I have my own React-Nodejs app and I want to show this information, is there any way to get that finalObject from my own app? like making a get request to get the finalObject.

I don’t know if i made myself clear, but thanks anyway!

1 Reply 1

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.