/MAKING API CALLS WITH ZAPIER TO AUTOMATE MEDIA SLIDER
Update the Media Slider with client images
What we're doing:
In this lesson, we’ll use the Update Rows API call to update the media slider with the client’s images that were submitted through the intake form. We’ll send the required data—such as image IDs, titles, descriptions, and the new image links—to Duda’s server, replacing the stock images with the client's content.
Why we're doing it:
The Update Rows API allows us to modify specific rows in the image collection, ensuring that each row is properly linked to the client's images and information. By using this API call, we can automate the process of updating the media slider with accurate, client-provided content, ensuring the website displays the right images.
How we're going to do it:
First, we’ll retrieve the image collection and copy the necessary data using a tool like Postman. Then, in Zapier, we’ll set up a Webhook with a Custom Request to make a PUT request to the Update Rows API. We’ll map the required fields—such as the image IDs, titles, descriptions, and image links—into the API request and test the setup. Once successful, the media slider will display the client’s images instead of the stock ones.