Hi, I’m new to scripting in Airtable and scripting in general :slightly_smiling_face: I’m having trouble getting started and was hoping someone can point me in the right direction.
I’m trying to build a script where for each new record in a table (“User_Answers”), I would like to score it against all records in a different table (“Company_Answers”).
User_Anwers looks like this:
User ID | Answer 1 | Answer 2 | Answer 3
1 | True. | True. | False
2. | False. | False. | False
Company_Answers looks like this:
Company ID | Answer 1 | Answer 2 | Answer 3
1 | True. | True. | False
2. | False. | False. | False
What I’m struggling with at the moment, is the basics and I can’t seem to find the answer in the documentation.
-
How do I get the value of a cell into a variable? (For example, the value of answer 2 of user 2.)
-
How can I set a variable with an array with all the field names in a table?
For example, an array with for company_1_answers = [answer 1, answer 2, answer 3]
All the help is much appreciated!
Best,
Justus