Help

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

Automate Filling of Empty End Dates

Topic Labels: Automations Formulas
178 1
cancel
Showing results for 
Search instead for 
Did you mean: 
bschultzFH
4 - Data Explorer
4 - Data Explorer

I am setting up a calendar for my team. I would like single day events (records with a start date and no end date) to automatically copy the start date into the end date field.

Fields:

StartDate - always filled unless TBD, which I have another marker for

EndDate - often left empty if a single day

I've tried to make automations and scripts, but I keep getting errors that I don't understand how to fix. I assumed this would be pretty basic, so I don't know what I'm missing. Basically what I want is:

IF EndDate is EMPTY, THEN let EndDate = StartDate

I don't have enough experience figure out the syntax in airtable; any help would be appreciated.

1 Reply 1
TheTimeSavingCo
18 - Pluto
18 - Pluto

Hmm try creating a formula field that'll check how long it's been since StartDate was modified.  Then have an automation that'll trigger if EndDate is empty, StartDate is not empty, and it's been 5 minutes:


Screenshot 2024-09-10 at 10.45.30 PM.png

Screenshot 2024-09-10 at 10.45.33 PM.png

Screenshot 2024-09-10 at 10.49.16 PM.png

 

 

DATETIME_DIFF(
  NOW(),
  LAST_MODIFIED_TIME(Start),
  'minutes'
)

 

 

Link to base