RSS Feed to Google My Business Post - IMAGE Array?

Hi,
I have an RSS feed from my website containing an image URL like:
<media:content url=“https://www.mysite.com/sites/default/files/gmb/image.png” fileSize=“426983” type=“image/png” medium=“image” />

But the GMB module wants an Array for the “Media items”. How can I create the array it wants? I can’t add or change fields in the RSS feed, so I think I have to make the array in a module.

Here is what I think it wants in the array based on the errors I received…
Missing value of required parameter ‘title’.
Missing value of required parameter ‘summary’.
Missing value of required parameter ‘mediaFormat’.
Missing value of required parameter ‘sourceUrl’.
Missing value of required parameter ‘url’.

I’m a noob at make, so any help is very much appreciated. :slight_smile:

Welcome to the Make community!

If you are uploading a single image, you don’t have to use the Map function, and just directly insert the image public URL in there.


The Map function is used only when you have multiple items. You can easily build a single array variable to insert in the field when the Map is on, by using an Array Aggregator module and select the “Target Structure Type” as the future field you want to map the array into.


Links

Here are some useful links and guides to help you get started and learn more on how to use the Make platform, apps, and app modules —

General

Help Center Basics

Articles & Videos

2 Likes

that worked!!! Thank you so much!

1 Like

No problem, glad I could help!

1. If you have a new question in the future, please start a new thread. This makes it easier for others with the same problem to search for the answers to specific questions, and you are more likely to receive help since newer questions are monitored closely.

2. The Make Community guidelines encourages users to try to mark helpful replies as solutions to help keep the Community organized.

This marks the topic as solved, so that:

others can save time when catching up with the latest activity here, and

  • allows others to quickly jump to the solution if they come across the same problem

To do this, simply click the checkbox at the bottom of the post that answers your question:
Screenshot_2023-10-04_161049

2 Likes