How do I return a transformed link from Cloudinary?

This topic was automatically generated from Slack. You can find the original thread here.

Bharat Kilaru : With the Cloudinary action for image transformation, my return value is the same file link I’m passing in. How would you return a transformed link from Cloudinary? Thanks

Dylan Sather (Pipedream) : just to confirm, are you using this action or a different one?

Dylan Sather (Pipedream) : running through a transformation to troubleshoot now

Bharat Kilaru : Yep, that action. Trying to transform a file that I am getting from a Typeform submission

Dylan Sather (Pipedream) : Are you passing specific options in the Options param?

Bharat Kilaru : yep, width: 650 and format: jpg

Dylan Sather (Pipedream) : What value are you entering for your image?

Dylan Sather (Pipedream) : I originally tried copying and pasting the HTTPS URL to my image from Cloudinary directly, since the docs suggested that would work. But I realized it’ll only work if you enter the Cloudinary-specific path to the image.

If you visit your Cloudinary console and Edit the image, it’s the label on the top:

Dylan Sather (Pipedream) : I entered that as the value of the Image source param and was able to apply the transformations

Bharat Kilaru : Hm, are you uploading to Cloudinary before trying to transform then so you can get a Cloudinary path?

Bharat Kilaru : Basically trying to go from a Typeform submission trigger (where a file was upload and has a typeform file url) and pass that to Cloudinary for the image transformation all within Pipedream

Dylan Sather (Pipedream) : I’m not a Cloudinary expert, but I believe you’ll need to pass the Typeform file URL to the Upload Media Asset step first:

Dylan Sather (Pipedream) : I’m confirming if that returns the path that you can pass to the transform step above

Bharat Kilaru : Cool, trying that now

Bharat Kilaru : Thanks for the fast response (as always :slightly_smiling_face: )

Bharat Kilaru : Btw, I was new to Pipedream last week and have been having a really fantastic experience with it. Awesome product

Dylan Sather (Pipedream) : that’s great to hear! Definitely let us know what else can be improved or what would have made your experience easier

Dylan Sather (Pipedream) : I confirmed the upload action should return the path you need in steps.cloudinary_upload_media_asset.$return_value.public_id

Dylan Sather (Pipedream) : I’ll modify the transform step instructions to make it more clear that’s what you need to pass

Bharat Kilaru : will do! Thanks - sounds great.