Apr 22, 2024 06:59 AM
Hi, I have been having problems with this for weeks now and cannot understand why my automation is not working.
I work for a company that runs an appointment based service. I book the date it is for and the status of it. When I put in the info, it is defaulted to "Booked". When the day AFTER the appointment comes, I want the system to find all record that match the given criteria (appointment yesterday, status booked) and update it to "Completed"
I have tried a million different things but nothing is working.
Here is what my configuration is.. Someone please help me understand what I am doing wrong..
Solved! Go to Solution.
Apr 22, 2024 08:07 AM
Airtable doesn't let you update a group of records in one go per se. Instead you update one record, multiple times for each item in a list.
The update record action doesn't know its in a list, it just wants the id of a single record at a time. That's this field here.
You have that field set to status when what it wants is the record id of the current item in the list. If you delete what is there you should be able to click the blue plus and see something similar to this.
Select "Airtable record ID" under "Insert value from field" when you have "Current item from List of records" to trigger the "Update record" on each item in your list of records.
Apr 22, 2024 07:00 AM
For more reference this is my "find record" config
Apr 22, 2024 07:31 AM
What does the testing error say on your update step?
The approach of using a find here won't scale if you get more than 100 appointments in a day. The find is limited to 100 records returned.
Instead, I would use a formula field to calculate when you are 1 day past the appointment date. Then use a trigger of "when a record matches condition" where the condition includes appointment in the past formula. This will ensure your automation will scale.
Apr 22, 2024 07:31 AM
You have the Record ID field set to the Status. It need to be the Record ID of current item in the list.
Apr 22, 2024 07:32 AM
good catch @Jack_Manuel .
Apr 22, 2024 07:49 AM
If I am updating multiple records with this automation, how do I find multiple record ID's?
Apr 22, 2024 07:52 AM
You should see something like the image below because your "Update record" action is inside of a "Repeat for each in list of records"
This will repeat for each record in your records search
Apr 22, 2024 07:53 AM
Where it says “Record ID”, you will need to get rid of what you have there.
Instead, click on the blue + sign, then choose "Current Item" on the left, then choose "Airtable Record ID" on the right.
— ScottWorld, Expert Airtable Consultant
Apr 22, 2024 07:54 AM
I am sorry, but I am still confused even with the help. I am trying to update the status of multiple records but I cannot get the record ID of these. I feel like I am missing something here.
Apr 22, 2024 08:03 AM - edited Apr 22, 2024 09:04 AM
You have posted the same question multiple times over the last few weeks. It is starting to feel like this might possibly be an AI robot trying to spam us here in the forums? I have given you the same answer every time you have posted the same question. I also posted a screenshot the last time I responded to you. Which part of my instructions above did you not understand? Please spell out which part of my instructions you did not understand, so I can clarify.