@Wasay-Gumloop see below my answers:
Hey @Donna — this is a really interesting use case. Just to make sure I understand it correctly: you’ve got a spreadsheet with existing product info, and you’re looking to update that with additional data extracted from a PDF, right?
That is correct
Can something like the product name be used as a reliable search value?
Item number could also work — but does the item number you’re passing into the node actually exist in the spreadsheet?
Yes, that is what I tried, to use the item number as a reliable search value. (you helped me yesterday with the re-writing of the number)
Also noticed you’re using the item number from the Find & Replace
node as the search value instead of the one from the Extract Data
node — does the formatting match what’s in the spreadsheet?
In the spreadsheet I see this, the number with some dots:
From the pdf is get this, the number without the dots:
(which we then “rewrote” in the same format as the spreadsheet number
One more thing: your search column is set to Article Nr
— just confirming that’s the correct column for item numbers?
Here you see the column’s. In black is what I have, in Red is what should come from the pdf
If none of those options work reliably, it might be simpler to write the new data to a separate tab instead of updating the existing sheet. Even with a working search value, if it’s AI-generated, there’s always a chance it won’t match exactly — and the updater node will error out in that case.
A good plan B … But maybe we can try to solve this as a plan A and have the community also benefiot from this.
But you are the boss … 