/MAKING API CALLS WITH ZAPIER TO AUTOMATE MEDIA SLIDER
Retrieve Image Collection IDs
What we're doing:
In this lesson, we’ll use another Zapier Webhook to make a request to the Duda API to retrieve data from the collection. This call will retrieve the image collection along with all its relevant fields. Among these fields, we’ll extract a list of unique image IDs—these IDs are crucial for linking the client's images to their corresponding rows in the collection.
Why we're doing it:
The image IDs are not visible through the Duda interface, but they are essential for identifying and updating specific images in the collection. By retrieving these IDs, we ensure that we can accurately map and update the right images in the next steps of our workflow.
How we're going to do it:
We’ll add a Webhook action in Zapier to make a GET Collection request to the Duda API. After setting up the request, we’ll retrieve the image collection data, including the hidden image IDs. Once we have these IDs, we can use them in subsequent steps to update the collection with the correct client images.