Back to Prompts
generation

Blog Generation with AI

Generate blog posts using OpenAI and save to database

Prompt Template

When a user clicks New Blog, show a modal with 2 options:

1. Create from scratch
2. Create with AI

If the AI option is chosen, show a text area describing what the blog post is about.

When a user presses generate, do the following:

Send data to OpenAI for processing, include all of the necessary columns for a blog post, aside from the image.

Save the data to Supabase then redirect a user to the edit page and populate the returned data from OpenAI

Tags

blogopenaisupabasecontent-generation

Skill Level

intermediate