I want to combine data from multiple "source" tables into a central table. Additionally, I want to be able to update data on my central table when it changes on my source tables. When I try to use the "Write to table" action, every time data changes in a row on my source tables it creates a new row on my central table instead of appending the row on the central table. I also tried using the "Send Table Data" action but am running into this error when I try to do this with multiple tables.
To combine data from multiple source tables into a central table and ensure updates modify existing rows instead of creating new ones, you have two main options: 1. Use the "Write to table" integration: • Click "Add Enrichment" in the top right corner • Search for and select "Write to table" • Select your destination table • Map the columns from your source table to the matching columns in your destination table • Enable Auto-update in the run settings to automatically process new data 2. Use the "Send table data" feature: • In your source table, click Actions → Send table data • Select your destination table • Choose "Send row" and select which columns to send • Click Save The key point: When you first send a row, it creates a new row in the destination table. For subsequent sends, it updates that same row rather than creating duplicates. For better data management, also consider enabling Auto-dedupe on your central table to automatically handle any duplicate entries.
When I use the "write to table" action, a new row is being created every time data changes. It is not in fact acting the way you describe: "he key point: When you first send a row, it creates a new row in the destination table. For subsequent sends, it updates that same row rather than creating duplicates."
+1 - I'm struggling with the same thing
Valentin G. - Just spent time with someone from support. They are digging into the error more
They did confirm that the "Write to Table" action is legacy and the expectation is that it'll always create a new row
The support AI must just be confused
Ah well..
I tried a workaround with "Lookup multiple rows from another table" however I keep getting "Invalid input" as a result. you know what thats about?
I haven'y run into that issue. But would that workaround really work?
Not sure, it definitely hasn't for me. Maybe you could try? Or what are your doubts
Are you thinking it would work like this:
New row on a "source" table
Look up ID on "central" table
If ID isn't found, use "Write to Table" action
If ID is found, do what??
As far as I can tell there's no way to append
Would need to append using merge columns
but yeah, I didn't get that far in the logic yet, since I failed step zero of even being able to look it up
Is "Merge columns" an action? I don't se that
Its just a new column, that first tries x and then y. But I would need to test if this would actually work
But has there been a conclusion from the support? Or is it just not possible to write to another table AND be able to change it after a change?
Valentin G. - looks like I've got this figured out
Clay support did some update to fix the error I was getting when trying to use the "Push Table Data" action from two different tables into the same table
Now that that is working here is my set up
push all data from source tables into central table using the "Push Table Data" action
This action will keep updating the same row
Include the unique ID you're using in your push
2. Use multiple "Look up single row in other table" action to pull the data you want from your various tables 3. Enable table deduplication on your central table
Awesome, will try that first thing tomorrow
Ah okay yeah works like a charme now - cheers mate