Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Re: Automation to update record removes previously added linked records

2435 0
cancel
Showing results for 
Search instead for 
Did you mean: 
WaitroseCarpark
6 - Interface Innovator
6 - Interface Innovator

Context:
I am a trader and I have a base that tracks trades that I take.
I can take many trades on one day.
I am attempting to create daily reports for myself, and have created an automation to add trade to my daily report.

However, whenever I add a new trade (record created) and the automation runs, it deletes any other trades previously added to that day.

Anyone know what I should look at to fix?

5 Replies 5

Hm, could you share some screenshots of your automation setup as well as your table please?

Sure! Automation below shows one that adds each newly created trade to the correct weekly report. I had same one for daily but same behaviour specified above occurs.

I was wondering if there’s some way that, as I already have daily reports connected to the weekly reports (automation that adds new daily report to weekly report), whether I can skip adding trades to weekly report and just have the weekly report show all trades linked to daily report? If you know what I mean? That would save linking trades to weekly report.

Automation:
image

Weekly Report (Showing links only):
image

Daily Report (Showing Links Only):
image

Individual Trades (Links only):
image

Schema (not sure if this will help):
image

WaitroseCarpark
6 - Interface Innovator
6 - Interface Innovator

Incredible help from @Adam_TheTimeSavingCo

Extra conditional step added to the automation. If no. of existing records (records length) = 0 then (do what I was originally doing).

If records length >= 1 (eg if there is already a record in there), then we add records slightly differently:

image

Red box shows addition to my earlier automation update record step:
image
(don’t forget the comma)

WaitroseCarpark
6 - Interface Innovator
6 - Interface Innovator

Many thanks again @Adam_TheTimeSavingCo for the help!

laurenCTCL
6 - Interface Innovator
6 - Interface Innovator

These are the best instructions I've seen! However, I keep getting an error that I don't recognize when trying to generate a preview:

Screenshot 2025-01-14 at 11.54.02 AM.png

What I'm trying to achieve:

1. When a record (email address) on the "People" table has the "Test" checkbox checked,

2. Update the linked "People" field in a specific record (ELECTricity) "Activations" table to include the email from the trigger without overwriting the existing values.

I think I've set it up to follow your instructions:

  1. Trigger: When a record matches conditions; "Test" checkbox is true.
  2. Actions: Find record where name contains "ELECTricity"
  3. Conditional step 1: If records length >1,
    1. Record ID= list of 'Airtable record ID' from the "Find" step
    2. Fields="People" (activations table)
    3. Content="Email (from the first step of matching a condition)",List of records from the found record (value comma list)

Then I get the error!

Screenshot 2025-01-14 at 11.53.40 AM.png