Skip to main content

Hi community members,

 

I’m setting up an automation that triggers based on the date but running into a problem with getting the values of the record that triggered the automation…

 

To give you context, the main table is "Reservation" and contains all details of the reservation. In it, there is also a linked field "Yacht" which points to another table "Yachts". I have also added 2 lookup fields in Reservations : yacht name and yacht model.

 

I defined the input variables but when I want to output them, the linked fields are empty arrays (see screenshots below).

 

Please advise on how to fix it because I need to pass these values via webhook for further use.

 

 

I cannot reproduce this, if I click on the arrow it shows the value, as long as the lookup has a value:

 

— Best, Milan - Automable.AI Free Airtable consultation


Hi Milan,

Here’s the proof the fields do have a value:

 

What might I be missing here?
 


Hmm I’m not sure. Can you paste the script you’re using? And what happens if you add

console.log(‘Config’, input.config())

instead of the script?

 

This might sound obvious, but are you sure the record you’re passing in is the same record that you sent the screenshot of?

 

Milan

 


Also, what is showing in the Script Input?

 


That’s exactly what I was doing (just console.log the input.config) but didn’t work..

I have now deleted the automation and started from scratch and it seems to work… weird but glad it works.

 

thanks


Ok, good to hear that at the end it worked :)


Reply