I have been banging my head against this problem for a couple days now, and can’t quite get it working perfectly.
I’m trying to send a field with multiple images to another doc via a webhook. I’m aware that out-the-box this doesn’t work so I’ve got quite far with a workaround, but as you can see in the doc shared below, Coda is telling me it’s an invalid attachment value. May be something to do with the comma I can’t get rid of in the split column.
Source doc: https://coda.io/d/Webhook-Image-Source-Doc_dBQFHG9833Q/Untitled-page_suyN5#source-image-table_tuwCu/r1
Target doc: https://coda.io/d/Webhook-Image-Target-Doc_dSjUQf0Xm3n/Untitled-page_suWUn#target-image-table_tuXVl/r13
Or if anyone has a more elegant solution I’m all ears. Thanks!
Hey there! Welcome to the community
Though Im sure there’s a way to do it, I just don’t have time to experiment at this moment, what I’ve done in the past is:
- In the source doc, the images/files are in a single column. I then extract their codahosted urls and join them via a comma, and send them as a string in the payload
- In the target doc, I’ve caught them and added them as relational rows. 1 row per image/file
hey Scott. I’ve already figured out the first part. I don’t understand what you mean by “add them as relational rows”
I’ve got the string of Coda hosted Urls into the target doc, and I can even present the images all inside one cell, but it shows as an invalid attachment value. You can see in the target doc i shared what I mean.