Add Cloudinary's image urls to airtable's matching records

Goal: using Make.com automation to find promotional banners (jpgs) in Cloudinary matching promotions in Airtable and adding the promotional banners’ urls to Airtable fields. Here are the details.

Airtable’s ”Promotion ID” field contains unique {pattern} for each row of product promotions. [A side note: {pattern} is unique to each combination of product & promotion. Each product has multiple promotions. There are upto 100 products with upto 4 promotions each and each combination of products & promotions have upto 20 jpg images, so total jpg image count will be under 8,000 images. But, currently testing with up to 1200 images]

Cloudinary has images with following names: {pattern}”-“{image-sizes}”-px_{random string generated by Cloudinary}.

Sample “Promotion ID” from Airtable: {pattern1}

Matching bundle from Cloudinary’s “Search Resources” module in Make.com.

Current Make.com scenario:

Module 1: Airtable “Search Records” with “Output Fields”: {Promotion ID}

Module 2: Cloudinary’s “Search Resources” with “Expression”: filename={Promotion ID}* - * is used for match first portion of the Cloudinary’s Public ID or Filename.

                    All other fields (**Sort** **by**, **With** **Field**, **Aggregate**) are default.

Module 3: Cloudinary’s “Get a Resource” with fields & values:

  • Resource Type*”: “Resource Type” from module 2
  • Type*”: “Type” from module 2
  • Resource ID*”: “Promotion ID” from module 1 - Airtable “Search Records”.
 All other fields are left default.

Module 3 results in error:

  • HANDLED ERROR
  • Type: BundleValidationError
  • Message: Validation failed for 2 parameter(s).
  • Detail: Missing value of required parameter ‘resourceType’.
  • Missing value of required parameter ‘type’.
  • Operation 2
  • RuntimeError
  • [404] Resource not found - {pattern}*
  • Origin
  • Cloudinary

First, do I even have the module sequence right?

Second, if this is the “best” method, what should expectations about its impact on credits be? This is to ensure that using Make.com be sustainable. I have a working knowledge of aggregators currently used to automate airtable, gsheet, apify data.

Third, there was no documentation on Make.com/Cloudinary modules, including in their respective website or Knowledge Hubs. No documents & videos outside of Make.com & Cloudinary.com were found to help accomplish what I need. If you know of those, please share.

Have wasted at least 36 hours during the weekend in Make.com, including using AI answers outside of Make.com & Cloudinary. Need help. Even a directional help would be much appreciated.

Hello,

Start by debugging your module 2: Search Resources.
You can do it by right-clicking the module and selecting Run this module only.
Provide any {Promotion ID} that will return at least one result. Once you will find correct expression your scenario should work.

But first, please take a look at the documentation on how to use expressions in Cloudinary:

If your pattern contains {} they should be escaped.

Have a nice day,
Michal