[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"insight-a-new-era-of-content-automation-at-illusion-arc":3,"insight-related-a-new-era-of-content-automation-at-illusion-arc":23},{"id":4,"title":5,"slug":6,"excerpt":7,"cover_image_url":8,"cover_image_path":8,"category":9,"tags":10,"seo_title":8,"seo_description":8,"seo_keywords":16,"content_markdown":17,"content_html":8,"status":18,"is_featured":19,"is_deleted":19,"reading_time_minutes":20,"published_at":21,"created_at":22,"updated_at":22},"28a714e5-2bc6-477e-9a10-97144f66df26","A New Era of Content Automation at illusion Arc","a-new-era-of-content-automation-at-illusion-arc","We fully automated our Insights publishing pipeline using Nuxt and Supabase. Discover how our new API enables rapid, headless content creation directly from automation tools.",null,"Engineering",[11,12,13,14,15],"automation","nuxt","supabase","api","engineering",[],"# A New Era of Blog Automation\n\nContent is king, but the publishing process should not be a bottleneck. Today, we successfully deployed a new endpoint to illusion Arc that fundamentally changes how we handle blog content.\n\n## The Architecture\n\nWe implemented a secure, headless server-side endpoint `POST /api/insights/publish` inside our Nuxt 3 backend powered by Supabase.\n\nHere are the core features:\n\n*   **Headless Integration:** Articles can now be written in tools like n8n, Make, or Zapier and pushed instantly to our live site.\n*   **Robust Security:** The endpoint is locked behind a strict `x-publisher-key` header, ensuring no unauthorized access.\n*   **SECURITY DEFINER Function:** Blog inserts run via a privileged Postgres function, so no broad table grants are needed. The database stays fully locked.\n*   **Smart Defaults:** Slugs are auto-generated from titles and reading times are calculated automatically.\n\n## Real-World Impact\n\nThis exact article was published using the very API we built. We fired a simple JSON payload containing Markdown, and the Nuxt frontend immediately picked it up and displayed it on our Insights page.\n\n## What Is Next?\n\nThis new API unlocks endless possibilities — AI content pipelines, automated release notes, and event-driven publishing workflows.\n\nThe future of our content pipeline is automated, fast, and highly scalable.","published",false,2,"2026-04-20T11:31:53.36+00:00","2026-04-20T11:31:53.624177+00:00",[]]