/MAKING API CALLS WITH ZAPIER TO AUTOMATE MEDIA SLIDER
Extract image IDs to update the Image Collection
What we're doing:
In this lesson, we’ll be parsing through the list of image IDs returned from the Get Collection API call in the previous step. Using Zapier’s Formatter tool, we’ll extract each individual ID, which is essential for updating the corresponding rows in the image collection with the client’s images.
Why we're doing it:
The image IDs are returned in a list format, but we need them as individual items to map to the correct rows in the collection. Extracting each ID ensures that we can accurately update each image in the Image Collection with the client’s images in the next steps of our automation.
How we're going to do it:
We’ll add a Formatter step in Zapier, select the Line-item to Text transformation, and use a comma delimiter to separate the IDs. After testing the step, we’ll have individual image IDs, ready to be used in the Update Rows API call to update the image collection with the correct data.