Building an AI-Powered Content Workflow with Drupal and Antigravity

do, 6 aug 2026
Building an AI-Powered Content Workflow with Drupal and Antigravity
📸 Photo / Image Credit: Workflow diagram © endegraaf

Building an AI-Powered Content Workflow with Drupal and Antigravity

Original Source & Credits


TL;DR

  • Automated Research to Publishing: Pairs Google Antigravity AI capabilities with Drupal 11 and DDEV to turn web articles, YouTube videos, and markdown drafts into published blog posts automatically.
  • Git-Backed Content Store: Markdown posts with YAML frontmatter are saved directly in Git repository for offline backup, revision control, and full data ownership.
  • Custom Drush Importer: A custom PHP Drush script (import-markdown.php) handles node creation, tag taxonomy assignment, image processing, and owner assignment automatically.

Automating content generation while maintaining high quality and human editorial control is the holy grail for modern blogs and media sites.

By pairing Google Antigravity with Drupal 11 and DDEV, we can create an end-to-end publishing pipeline that turns web articles, YouTube videos, and research topics into fully-formatted Drupal blog posts automatically.



How the Workflow Works

Here is a step-by-step breakdown of the automation pipeline:

1. Research & Extraction: The personal assistant uses specialized skills (baoyu-youtube-transcript, web search, URL reading) to pull raw information, transcripts, and cover media.
2. Markdown Storage: The assistant drafts a clean Markdown file with YAML frontmatter in content/posts/.
3. Drupal Node Import: A custom Drush script (scripts/import-markdown.php) parses the Markdown post, creates/updates the Drupal Article node, sets taxonomy tags, and attaches featured media.
4. Live Deployment: The local DDEV site syncs directly with endegraaf.nl.

All posts are preserved in Git as clean Markdown files, giving you full revision history and local offline backups.


Code Sample: Triggering the Import

ddev drush php:script scripts/import-markdown.php -- /path/to/post.md

Stay tuned for more updates on automated Drupal site management!