How to approve or reject a text if not falls under specific category

Hey, make_expert! I have added the RSS to look for update, now I want to add such modules to reject if not fall in under specific category or approve to the next gpt4 module. kindly understand me on the modules should be added.

Welcome to the Make community!

You can add a filter after the RSS module to remove the items you don’t want to proceed further with.

To allow others to assist you with your scenario, please provide the following:

1. Relevant Screenshots

Please share screenshots of your scenario, any error messages, relevant module fields, and filters in question? It would really help other community members to see what you’re looking at.

You can upload images here using the Upload icon in the text editor:

2. Scenario Blueprint

Please export the scenario blueprint file to allow others to view the mapped variables in the module fields. At the bottom of the scenario editor, you can click on the three dots to find the Export Blueprint menu item.

3. Output Bundles of Modules

Please provide the output bundles of the modules by running the scenario (or get from the scenario History tab), then click the white speech bubble on the top-right of each module and select “Download input/output bundles”.

A. Upload as Text File

Save each bundle contents in your text editor as a bundle.txt file, and upload it here into this discussion thread.

B. Insert as Formatted Code Block

If you are unable to upload files on this forum, alternatively you can paste the formatted bundles.
These are the two ways to format text so that it won’t be modified by the forum:

  • Method 1: Type code block manually

    Add three backticks ``` before and after the content/bundle, like this:

    ```
    content goes here
    ```

  • Method 2. Highlight and click the format button in the editor

Providing the input/output bundles will allow others to replicate what is going on in the scenario even if they do not use the external service.

Following these steps will allow others to assist you here. Thanks!

1 Like

Hey @samliew thank you for the response. I experimented with some modules that seemed relevant but none of them worked so I deleted them. Now only the existing modules appear in the history.

here are my details:

(RSS module to look for updates, chatGPT module to generate text) these two are presented but…
I need here a module to filter them out like chatgpt can understand what the article written about. if the text output from backend gpt module recognized in the desired category it will approve and sent to wordpress otherwise trash it.

If you want to fetch the website, this is basically called Web Scraping.

For web scraping, some apps you can use are ScrapingBee and ScrapeNinja to get content from the page.

I’ve used ScrapeNinja, and you can use jQuery-like selectors in the extractor function.

ScrapeNinja also can run the page in a real web-browser, loading all the content and running the page load scripts so it closely simulates what you see, as opposed to just the raw page HTML fetched from the HTTP module.

If you want an example, take a look at Grab data from page and url - #5 by samliew

You can also use AI-powered web scraping tools like Dumpling AI.

This is probably the easiest and quickest way to set-up, because all you need to do is to describe the content that you want, instead of inspecting the element to create selectors, or having to come up with regular expression patterns.

The plus-side of this is that such services combine BOTH fetching and extracting of the data in a single module (saving operations), and doing away with the lengthy setup from the other methods.

For more information on the different methods of web scraping, see Overview of Different Web Scraping Techniques in Make 🌐

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

— @samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

@samliew, I think there might have been a bit of confusion with my question. I have already set up the RSS and the content is fed into chatgpt. the output is then filtered by a module to determine if the article fits a category like auto industry, mobile phones, pets etc If it is relevant it will move on to the next module like google docs or spreadsheet otherwise, it will be discarded.

I appreciate the suggestions you provided on some tools but I they might not be entirely relevant and can develop challenge for me as those tools are more focused on web scraping and my work is more about filtering and categorizing content that’s already generated. any further advice on this specific process would be greatly appreciated.

@Uewfg can you add that information in the ChatGPT prompt and check for it? Why information does the second module need to have that you can’t include in the ChatGPT prompt?

If both @samliew and I aren’t giving you the advice you’re looking for, try to diagram the process you’re trying to do (with a visual diagram or numbered steps) and highlight the pieces that are problematic for you.

L

thank you @L_Duperval for the suggestion. I don’t think that GPT4 prompt can directly control the flow of automation process.

I want any relevant module could either stop the process or proceed to the next step.

It would help if you had provided the requested information above, especially Scenario Blueprint and Output Bundles of your trigger module.

Then, we can see the content and format of the data you need to filter.

Otherwise, you can learn more about filters in the Make Academy.

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

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

— @samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!