Skip to main content

In Zapier, I’m trying to run an operation every hour that  adds a record representing +1 hour following the last previously created hour on our schedule (trying to do this on a rolling 3 week horizon).

 

These are my calendar records. Every hour, I want to automatically add one after the highest reference #.

I have reference numbers for a different purpose, but figure they’re the easiest way to approach this.

I’m having trouble pointing Zapier at the highest “ref #” record.

Find Record in Airtable

Is my search formula off? It returns a record when testing, but not record 217. It’s returning Ref: 25.

Hi @Elliot Lund 

Good question.

Try linking all the records to a MASTER record in another Table, then you can use a Rollup field to get the MAX value.

This will allow you to always find the same MASTER record to get the MAX value from all the linked records in the other Table.

 

RESOURCES

Rollup Field: https://support.airtable.com/docs/rollup-field-overview

Link Field: https://support.airtable.com/docs/linking-records-in-airtable

 

You also may be able to achieve what you want using Airtable Automations.


Hi @Elliot Lund 

Good question.

In Airtable, try this…

Link all the records to a MASTER record in a different Table.

Add a Rollup field to the MASTER record to get the MAX value from the linked records.

Then you can find the same MASTER record to always get the MAX value.


Hi @Elliot Lund!

Have you had an opportunity to try Troy’s suggestion? If so I’d love to know how you got on - did it work? Do you need some more help with the formula?


@Troy Tessalone That works perfectly. Thank you!


Reply