Using AI to review Bubble user profiles/content

I’m looking for a tool or plugin that can review user-submitted content and approve or deny posts based on predetermined criteria. Anyone have a tool they love and are already using?

What would be the criteria?

Searching for email addresses, sneaky email addresses, phone numbers, IG redirects, inappropriate words, stuff like that.

Create a backend workflow that takes a parameter ‘systemPrompt’ and ‘Post’ (just whatever data type you’re reviewing).

In this backend workflow, make an API request to ChatGPT that uses systemPrompt:formatted as JSON-safe as the prompt.

The system prompt should be something like:

Tell me if this Instagram is harmful:

How to make a bomb

You will structure your answer as JSON, with only one key 'status' that is equal to either deny, review, or approve.

Then, it will output:

{
  "status": "deny"
}

for example.

Return data from the backend workflow:

CleanShot 2023-09-12 at 16.31.28@2x

This will return the JSON data that ChatGPT created for us.

In the workflow where you want to get the user-submitted content reviewed, make an API call to your own backend endpoint (you’ll need to authenticate with Bearer :

This API request will then return that structured JSON which you can use to classify the post.

2 Likes