Unable to add tag to Cloudinary asset after use (want to exclude previously used images)

:bullseye: What is your goal?

Add tag to Cloudinary asset after use (want to exclude previously used images)

:thinking: What is the problem & what have you tried?

Hi everyone,
I’m building a scenario in Make where I automatically select a photo from Cloudinary for a Facebook post.
What I’m doing:
I search in a specific Cloudinary folder (company photos).
I select an image based on a tag that matches the post topic.
After the image is used, I want to add a tag used_social to that asset.
In future searches, I exclude images that contain the tag used_social.
So the logic should be:
Search for image with tag X
Exclude images with tag used_social
Use image
Add tag used_social to that image
The problem:
I cannot get the tag to be added to the existing asset.
I’ve tried:
Using the Cloudinary “Update resource” module
Using an HTTP module with the Cloudinary API
But I can’t get it to work properly.
My questions:
What is the correct way to append a tag to an existing Cloudinary asset in Make?
Do I need to use a specific endpoint (e.g. explicit API)?
Is there a simpler way to ensure images are only used once? (For example: moving them to another folder instead of tagging?)
If anyone has implemented something similar, I’d love to hear how you structured it.
Thanks in advance :raising_hands:

1 Like

Hello,

Welcome to the community!

To add tags in Cloudinary, please follow this documentation:

You can run it in Postman so it is easier to understand which parameters are mandatory.

In Make, you can use the Cloudinary Make an API Call module:

URL:
/image/tags

Method:
POST

Body:

{"command": "add",
"tag": ["car", "van"],
"public_ids": "public id of your asset"}

You can add tags inside an array: "tag": ["tag1", "tag2"]

Hope it helps!

Have a nice day,
Michal