Wordpress Module Multiple Categories

Hi,

I have a workflow that is taking an RSS feed, writing an article on ChatGPT based on the feed, Parsing the pattern to pull through different sections from the single ChatGPT Output. My issue is when it comes to the multiple Categories issue.

My articles are sports related and often are applicable to multiple football teams.

I have tried several different ways and none work, including solutions from other peoples posts.

The error i get is the integer one, stating that the category is not an integer. I have tried it with , and with ; neither of which work. I have been trying different things and test for 2 days now,

Any solution is greatly appreciated.

Welcome to the Make community!

You’ll need to split the categories by comma-space so that it becomes an array.

Then, use an iterator on the array so that you can process each category at a time.

Create new category using the name.

Then, if category exists, there will be an error. Handle the error by searching for the category, and resuming with the existing category ID.

Then, aggregate the category IDs into an array using the Array Aggregator.

You can then insert the array of category IDs into the tag/category field.

Similarly, this works the same way for the Wordpress Tags field.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Sorry, im new to all this. So how exactly do i do these bits:

You’ll need to split the categories by comma-space so that it becomes an array.

Then, use an iterator on the array so that you can process each category at a time.

Welcome to the Make community!

I would suggest completing the Make Academy before jumping into building a complete scenario. If you need specific assistance when you are building a scenario it’s easier to help you then. Otherwise, you can also hire a professional by posting a request in the Hire a Pro category.

Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —

Getting Started

Help Centre Basics

Articles & Videos

Did you know, this forum has a Hire a Pro category, where you can post your request for off-site specialised help on other platforms (video call/screenshare/private messaging/etc.)? This may help you get your issue resolved faster especially if it is urgent. It is important to post your request in the Hire a Pro category, as forum members are not allowed to advertise their services (even offer FREE assistance to help) in other categories like here. Once you have posted in the Hire a Pro category, that will allow other members to provide booking links to our calendars for a free consultation and video assistance (including screen share).

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

Thank you so much for pointing me in the right direction. This now works!

1 Like

Sorry @samliew , I cant seem to get the error handler to work for the tags. (Categories will always exist as its a set list the ChatGPT chooses from). If it doesnt exist it is just passing on the Empty Value.