Enable Approval Workflow on Cloudinary
Team,
I am looking to enable approval/Rejection flow on the newly uploaded assets. Is there a specific configuration that needs to be enabled to make the feature functional. Currently the feature is disabled on my account (showing approve and Reject buttons greyed out).
Thanks in anticipation.
-
Hi Shivam,
You can upload images with moderation parameter and they will go in the moderation queue where you can go through each image and reject/ approve them. For more information: https://cloudinary.com/blog/image_moderation_made_easy_using_cloud_based_ui_and_api
If you wish to move already uploaded assets to a moderation queue, you can use the explicit method of the upload API.
Please note that we also have integration with third-party add-ons like WebPurify and Amazon rekognition which perform the moderation for you.
I hope this helps. Please let me know if you have any additional questions.
Kind regards,
Millie0 -
Hi Millie,
All my newly uploaded images are going into the "Pending Approval" folder. On rejection, as default behavior system is deleting the images but when I click approve nothing happens. I want to move the image from "Pending Approval" folder to the "Approved Images" folder on approval. Can this be done?
0 -
Hi again Shivam
If you want to automate moving the image somewhere else after it's approved, you can use a webhooks notification to do that. If you specify a notification url for us to tell you about changes to your assets, we'll notify your URL when the moderation status changes also: https://cloudinary.com/documentation/notifications#global_notification_url
When you receive the notification to your server side, the code which receives the notification can move the image to a new folder using the `rename` method of the Upload API: https://cloudinary.com/documentation/image_upload_api_reference#rename_method
(moving and renaming are the same in our system, because the folder path is part of the public_id value used to store the image)Thanks,
Stephen
0
Post is closed for comments.
Comments
3 comments