Skip to main content
Best answer

How to update linked value for most recently created record in Airtable?


I need help finding the most recent record in a given table with zapier. I’m trying to use zapier to create a default value which links to another table. Here’s an example:

Members

First Name Link Last Modified
Alice . August 15th
Bob . August 17th
Charlie   August 19th

 

Members Rollup

Name Members Link
. Alice, Bob
   

 

Here’s what I’m trying to do:

  • Whenever a new record is added to the Members table, I want to start the zap
  • I then want to find and update the same record that kicked off the zap — in others, the one with the most recent “last modified” time (“Charlie” in the example above)
  • Finally, I want to update the “link” field with “.” — which is the only record in the Members Rollup table.

Right now, I’m structuring the zap like this:

<TRIGGER> New record is created in Members

<FIND RECORD> (need to find the most recently created record in Members) « this is where I’m stuck

<UPDATE LINK FIELD IN THAT RECORD> 

 

Thanks for the help!

Best answer by Troy TessaloneBest answer by Troy Tessalone

Hi @Halcyon 

It’d be better to use Airtable Automations for this: https://support.airtable.com/hc/en-us/articles/360050974153-Automations-overview

If you want to use a Zap, then try these steps:

  1. Trigger: Airtable - New Record
  2. Action: Airtable - Update Record (map the Record ID from Step 1)

Help Article: https://zapier.com/help/create/basics/set-up-your-zap-action#set-up-your-action

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 31122 replies
  • Answer
  • August 18, 2021

Hi @Halcyon 

It’d be better to use Airtable Automations for this: https://support.airtable.com/hc/en-us/articles/360050974153-Automations-overview

If you want to use a Zap, then try these steps:

  1. Trigger: Airtable - New Record
  2. Action: Airtable - Update Record (map the Record ID from Step 1)

Help Article: https://zapier.com/help/create/basics/set-up-your-zap-action#set-up-your-action


  • Author
  • New
  • 1 reply
  • August 18, 2021

This is awesome, thanks for the help. You’re right, an airtable automation made this really easy.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7592 replies
  • August 20, 2021

That’s great to hear @Halcyon! So pleased you were able to get this working using Troy’s suggestion. :)