I’d like to be able to import csvs via this tool but want to add my own unique identifier so I don’t have to be worried about duplicate line items from overlapping imports Docs: Import CSV Line Items
Can I inject my own data into the metadata column? And what format?
Tiller references the Metadata column for some scripted workflows. We write data in a stringified JSON format. The contents vary by workflow and you can see some examples by using the Tiller Community Solutions CSV importer workflow.
If you’re using it for your own purposes though:
I wouldn’t feel beholden to the JSON format
I’d consider using a different, personalized, custom column altogether just to avoid confusion
No. I was referring to this one, though the one you linked to might be better if your data source is not one of the dozen supported by the add-on workflow.
I have the same (similar) question: I added a Transaction ID column to my Basic Bank Import Template. Can I use Import CSV Line Items to import those values to the Transaction ID column of my Transactions sheet?
@randy Is there anywhere I can see the source code for “Import CSV Line Items” Docs: Import CSV Line Items ? I’d like to see the logic you use for not importing duplicates to reuse it for my own.
It would be great to see the source code for the Amazon workflow in the csv importer. But it that’s not possible, I’m sure I can figure it out. Just let me know!
I can’t share the source code but I can tell you how the unique identification works… The importer stores miscellaneous order info in the Metadata column as JSON object. The importer concatenates several fields from this metadata to create a unique ID:
id
isbn
quantity
tracking
If the newly imported unique ID matches an ID already in the sheet, it is skipped.
Make sense?