Jun 08, 2022 10:10 AM
Automation is setup too append a row to a Google Sheet. All of the values (text, dates) will populate within the sheet row, except for the numerical score values when the automation is running. However, if I run test automation with the same record, the numeric value will populate into the column.
The scoring numeric values in AirTable are single select based on automated triggers to specify to a certain score. I have tried changing the column data format on the google sheet with no success. I have tried to change the triggers as well as adjusting the value lookup but still will not work unless I run a manual test. Any ideas on what I maybe missing?
Solved! Go to Solution.
Jun 09, 2022 07:51 AM
Hey Michael, yeah that’s definitely something to investigate.
Maybe change the condition of the record appearing in the view to make sure that the number field the automation you mentioned is supposed to update is not empty?
That way the append row automation will only run after the that other automation’s been completed
We could also put the append row action as the last action of the automation you’re using to update the numeric field?
—
As an aside, may I know what issues you faced using a formula field to convert the select option into a number? Feels like we can just do that instead of using an automation, saving you an automation run
Jun 08, 2022 11:17 PM
Hi Michael, I created a base to try to replicate the error you’re facing and could use more details to make it happen. Once I can make it happen reliably I’ll see what I can do to try to figure out a solution
Here’s what I’ve got so far:
{Value} + 3
What I do:
Value
fieldSend to Sheets
May I know what would I need to change to match your workflow to recreate the error?
Jun 09, 2022 06:17 AM
Hi Adam, here is more information:
Jun 09, 2022 06:48 AM
Hi Michael, thanks for the details
Hmm, so I tried to mimick your system as much as possible and you can find my attempt here
It appends the new row with all the values as expected in both “Test Automation” and running of the automation via a trigger normally.
Hmm, so users fill out the form where they select numeric options via the single select field, and once they submit the form, the newly created record enters the view, is that right?
Jun 09, 2022 07:17 AM
Hi Adam,
Correct, users will fill out the review form, which will create a Record within the Table and then shows up to that view. There is one catch and I am wondering if this is the issue.
When a user submits the form, the form is designed in the screenshot. User will select one of the options that applies to the QA review on an individual. When the reviewer selects the choice, that point selection has an automation running when the form is submitted to update the numeric value field. I believe thinking more into this, that maybe the issue because when the form is submitted those values are not calculated into the numeric value fields until that automation completes.
Does that make sense?
Based on if that is true I may need to run the append to sheets with a delay some how.
Jun 09, 2022 07:51 AM
Hey Michael, yeah that’s definitely something to investigate.
Maybe change the condition of the record appearing in the view to make sure that the number field the automation you mentioned is supposed to update is not empty?
That way the append row automation will only run after the that other automation’s been completed
We could also put the append row action as the last action of the automation you’re using to update the numeric field?
—
As an aside, may I know what issues you faced using a formula field to convert the select option into a number? Feels like we can just do that instead of using an automation, saving you an automation run
Jun 09, 2022 07:55 AM
Hi Adam,
So talking this problem set through here with yourself, I pin pointed the problem and it is there are automations with another automation fed on that first one. So I adjusted the triggers to when a Record is updated and look at that specific value field to populate than update the sheets.
It worked several times after making this change and its good now.
Appreciate working with me and got me thinking a bit more outside of the box. Thanks again, Mike