Skip to content

Add WordPress Integration: Zyra Workflow Blocks with Scheduling, Narratives, and Optional Human Review #171

@Hackshaven

Description

@Hackshaven

We propose adding support for WordPress integration to extend Zyra workflows into a publishing environment. The goal is to make data + narratives from Zyra available in WordPress as live, reproducible, and optionally human-reviewed content.


🔄 Workflow Summary

  1. Workflow YAML in WordPress Block (inline editing, external reference).
  2. Execution on Zyra Runner Server (datasets + processing live there).
  3. Results Returned → Visuals, Narratives, Metadata.
  4. Embedding in Gutenberg Block (with provenance).
  5. Updates via WP-Cron / triggers.
  6. Optional human-in-the-loop review (auto, review-required, hybrid).

🧩 Feature Matrix

Editors

  • Live Preview in Gutenberg.
  • Parameter overrides (UI sliders/dropdowns for workflow params).
  • Scheduling panel (auto/review/hybrid).
  • Diff viewer (visual + text).
  • Accessibility helpers (auto alt-text from narrate stage).

Readers

  • Toggle static vs. interactive embed.
  • Provenance panel with workflow version & dataset info.
  • Explorable parameters (optional lightweight interactivity).
  • Bundled narrative + visual outputs.

Admins

  • Configure Zyra Runner server endpoint.
  • Define default update policy (auto, review).
  • Role-based permissions for workflow editing.
  • Storage & caching control (media vs. external CDN).
  • Logs & analytics (refresh history, execution errors).

🛠️ Needed Zyra Changes

  • New exporter target (wordpress) for artifact + metadata exchange.
  • Runner API to accept workflow YAML + return structured results.
  • Support for output “review modes” (auto, pending review, hybrid).

🚀 Benefits

  • Enables reproducible, updatable, and transparent data stories in WordPress.
  • Fits naturally into WordPress editorial workflow (drafts, revisions, review).
  • Balances automation (auto-updating dashboards) with accountability (human-reviewed narratives).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestworkflow-gapMissing CLI functionality or structural gap

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions