Publish ContentPulse articles to your Lovable app.
Lovable apps store their data in Supabase (Lovable Cloud). ContentPulse pushes reviewed, SEO-ready articles straight into your app's database through a small, secure Edge Function you deploy in your own project, body HTML, featured image, slug, and excerpt already set. No copy-paste, and your database keys never leave your side.
Works with any Lovable app that has Lovable Cloud (Supabase) enabled. You deploy one Edge Function once; ContentPulse calls it with a shared secret.
Set up in four steps
Add a posts table
In your Lovable app, make sure your blog/content data lives in a Supabase table (e.g. posts) with columns like title, slug, body, and status. Just ask Lovable to "add a blog backed by a posts table" if you do not have one yet.
Deploy the publish function
Deploy the small ContentPulse publish Edge Function in your Supabase project. It checks a shared secret and inserts (or updates) a row in your posts table using the service-role key that already lives in your project, so that key is never shared with anyone.
Connect Lovable in ContentPulse
In your ContentPulse website settings, open Integrations, pick Lovable, paste the function URL https://PROJECT_REF.supabase.co/functions/v1/contentpulse-publish and the shared secret, then hit Connect.
Draft & publish
Draft an article, review it, then hit Publish to Lovable. The post is written to your Supabase table with its body, featured image, slug, and excerpt, ready to render in your Lovable app.
Installation guide
Confirm your Supabase posts table
Lovable apps use Lovable Cloud, which is Supabase under the hood. Open your project and confirm the table that holds your articles. The default field names ContentPulse sends (title, slug, body, excerpt, cover_image_url, status, published_at) are configurable, so they can match your existing columns.
Deploy the Edge Function with a secret
Create a Supabase Edge Function named contentpulse-publish using the template we provide. Set a CONTENTPULSE_SECRET environment variable to a long random string. The function verifies that secret on every request and performs the privileged upsert with your service-role key, which stays inside your project.
Connect Lovable in ContentPulse
In the ContentPulse dashboard, open your website, go to the Integrations tab and select the Lovable tile. Enter the function URL https://PROJECT_REF.supabase.co/functions/v1/contentpulse-publish, paste the shared secret, and click Connect. Your next published article will appear in your Lovable app.
What the integration handles for you
Body HTML
Article content is rendered to clean, theme-neutral HTML and written to your body column, headings, paragraphs, lists, quotes, and links render correctly wherever your Lovable app shows the post.
Featured image
The hero image URL is sent in the cover image field so your app can display it at the top of the post and in listings.
Configurable field names
The JSON keys ContentPulse sends (title, slug, body, excerpt, cover image, status, published date) are configurable, so the function maps cleanly onto whatever columns your table already uses.
SEO slug & excerpt
The slug and meta description are sent alongside the body so the published page keeps its SEO-optimized URL and listing summary.
Draft or live
A status value of draft or published is sent with each post, so your app can keep reviewed articles hidden or show them live, matching the status you choose in ContentPulse.
Refresh, not duplicate
When an article is refreshed, the same external id is sent so your function updates the existing row in place (same slug, same URL) instead of creating a duplicate.
Common questions
Ship fresh content to your Lovable app without the copy-paste routine.