Oct 01, 2019 11:36 AM
I am looking to update a linked field in an Airtable table automatically and recognize this can only be done via 3rd party integration currently (i.e. Zapier or Integromat).
Also, as Airtable doesn’t support webhooks, I am doing the following:
It’s working fine with one issue. When the Update step tries to update the Airtable record it’s putting the linked field id in the field vs the text value of the linked record.
From my tests in the zap, everything before this last step looks fine. I see the text value vs the actual ID value. But the update itself puts the record id into the field, which generates an error.
Any help much appreciated!
Oct 01, 2019 05:23 PM
I was able to figure this out and thought I would share my trials here so others can learn from my mistakes. It turns out I was doing multiple things wrong.
My scenario is that I was trying to take two linked fields, concatenate these together, and then use this calculated value to update a third linked field.
I’m using the Slack notifications feature as an initial trigger and then wanted a Zap to go find and update the record that initiated the Slack notification.
Issue #1: Reading in Linked Field Values
My first issue was reading in Linked Fields. When I tried to use these fields in the Zap, it became clear Airtable was passing the Linked Record ID versus the actual Field value.
To work around this, I created two new formula fields and set the formula to pull in the values from the Linked fields. I named these with a “Zapier” prefix to easily distinguish from the original fields.
Problem solved.
Issue #2: Trying to Use these Values to Update the Third Linked Field
Apparently, you can’t just put a text value into a linked field via an update. You have to pass it the actual Record ID from the linked table.
So to get this, in the linked table, I:
I then added a new Zap step to search my linked table and used a Search Formula to find the right linked record using concatenated values from my prior step. This now gives me access to the Record ID for the right “to be linked” record from the linking table.
Now I had everything I needed.
For my final step (which is the Update), I used the linked table Record ID to populate the third linked field.
It’s kind of ludicrous, but it works!