Substituting Multiple Strings in Airtable

Thanks to W_Vann_Hall over on the Airtable Forums, I was able to figure out the formula I needed. The task is this:

* In JotForm, people select book covers to indicate which book they like.
* A Zapier zap takes that submission and puts it in my Airtable.
* However, the data appears at a bad URL with https://jotform.com added to the front of it. Worthless for our purposes.
* So to change that info, I need to substitute the long junk URL to the name of the book.
* I created a new column and added this formula:

SUBSTITUTE(SUBSTITUTE(SUBSTITUTE({Name of Column — leave in brackets},’https://www.ilovemylibrary.com/images/little_red.jpg’,’Little Red Riding Hood, ‘),’https://www.ilovemylibrary.com/images/three_little_pigs.jpg’,’Three Little Pigs, ‘),’https://www.ilovemylibrary.com/images/cinderella.jpg’,’Cinderella, ‘)

* Output: Little Red Riding Hood, Three Little Pigs, Cinderella,
* Note that I added a comma and a space at the end of each item. I’m sure I could try to figure out how to check for any leftover items, so there isn’t an extra comma, but eh.

I’m sure there’s more work to be done and something will break, but I’m grateful to get at least this much figured out.

Under the Weather + Project Help

Since late January I’ve been under the weather. As such, I got an extremely last minute request (order!) from my doctor to forego attending ALA Midwinter. Thanks to the kind efforts of the LITA Board, I was able to attend the Board meetings by phone. My mind and energy has been redirected to the efforts of getting better this past month. Thus why things have things been so quiet around here. With any luck, I hope to be fully back in fighting shape any day now.

Meanwhile, the launch of the previous post’s project has been a roaring success. The Book Matchmaker has been so popular that I’m trying to find a solution to help them better manage it. My vision:

  • Easily tracks the submitter’s stated reading preferences.
  • Quickly show other times we’ve recommended a book to another reader. Thus, hopefully reducing staff time by seeing “oh, we said this book was great for Sci-Fi readers. Would this person appreciate it too?”
  • Help staff with planning out the next books to pull for that reader and when to do so.
  • Dead simple for staff to use.

Currently I’m thinking Airtable looks to be the best bet. Yet I’m not sure I can easily get the new submissions added automatically. I’ve tweeted at Airtable to see if they allow records to be added via email. Asana does which has spoiled me. If you have any further recommendations, let me know!

Re-launch Tomorrow

My lovely colleague took over a big project after one of our Assistant Directors left. She’s been polishing it for months now and tomorrow it goes live! I’m looking forward to discussing the work that went into bringing this service back online.

The most helpful thing for me was her interest and willingness to try her hand at Adobe Illustrator. She’s been working in InDesign for not too long and Illustrator is a whole other beast. By taking on this proactive role in her branding and publicity creation, she’s really owned this work. I’m happy to have helped when she needed me.