Help

Save the date! Join us on October 16 for our Product Ops launch event. Register here.

Automation incorrectly removing part of a record

Topic Labels: Automations
Solved
Jump to Solution
918 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Molly_Hyde
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi everyone! In a client’s base, they have a form where applicants essentially fill out a job application. Applicants upload their resume, and then I have an automation set up that pushes their demographic information into a “Contacts” table and the job-specific information, including their resume, into an “Applications” table. This works perfectly about 90% of the time. Seemingly randomly, some resumes aren’t appearing in the Applications table. When I look at the record history, I see this:
ss4

Why would the automation add the resume only to immediately delete it? Has anyone run into this before?

1 Solution

Accepted Solutions
Justin_Barrett
18 - Pluto
18 - Pluto

My gut says that the file isn’t fully saved at the point that the automation is trying to copy it to the [Applications] table. What it’s probably doing is trying to save it, but it’s not successful because the original file hasn’t fully posted, so it takes it back out. (You’d think that resume files would be small and quick to upload, but technology being what technology is, it doesn’t always work that cleanly.)

My suggestion: create some kind of delay so that Airtable doesn’t try to run the automation immediately. Something like this in a formula field:

DATETIME_DIFF(NOW(), CREATED_TIME(), "minutes") > 1

That will output a 1 only when at least one minute has elapsed since the record was created. In reality, it’ll most likely trigger later than that because the NOW() function output only updates every 15 minutes when the base is open, and roughly every hour when it’s closed.

At any rate, change your automation trigger to “When record matches conditions,” with the condition being that this formula field is equal to 1. That should allow more than enough time for the original file to save before it’s copied elsewhere.

See Solution in Thread

2 Replies 2
Justin_Barrett
18 - Pluto
18 - Pluto

My gut says that the file isn’t fully saved at the point that the automation is trying to copy it to the [Applications] table. What it’s probably doing is trying to save it, but it’s not successful because the original file hasn’t fully posted, so it takes it back out. (You’d think that resume files would be small and quick to upload, but technology being what technology is, it doesn’t always work that cleanly.)

My suggestion: create some kind of delay so that Airtable doesn’t try to run the automation immediately. Something like this in a formula field:

DATETIME_DIFF(NOW(), CREATED_TIME(), "minutes") > 1

That will output a 1 only when at least one minute has elapsed since the record was created. In reality, it’ll most likely trigger later than that because the NOW() function output only updates every 15 minutes when the base is open, and roughly every hour when it’s closed.

At any rate, change your automation trigger to “When record matches conditions,” with the condition being that this formula field is equal to 1. That should allow more than enough time for the original file to save before it’s copied elsewhere.

Thanks, @Justin_Barrett! This makes sense to me. I’ve implemented your suggestion and I’m having the clients keep an eye out for persisting issues.