Streamline the final stage of your content production workflow by automating publishing, formatting, metadata generation, and approval routing. This AI-powered subworkflow pulls optimized drafts from Google Sheets, enriches them with SEO metadata, converts them into publish-ready HTML, and delivers them via email and Slack for approval or distribution. Ideal for teams managing high-volume content pipelines with structured review processes. āØšš
What This Template Does
- Triggers via chat to start the content publishing process. š¬
- Fetches the latest optimized content draft from Google Sheets using a content ID. š
- Prepares metadata such as topic, intent, platform, and parameters. š§©
- Uses an AI agent (GPT-4) to generate SEO metadata, HTML-formatted article, tags, and structured publish data. š¤
- Enforces JSON structure to ensure consistent output formatting. š§±
- Saves the publish-ready content (title, meta description, HTML, tags) back into Google Sheets for version tracking. š
- Sends the content to an approver via Gmail with a previewed HTML body. š§
- Awaits approval and branches based on decision. š
- If approved, sends the final published content to the intended recipient via Gmail. šØ
- Sends a success confirmation message to Slack for team visibility. š¢
Key Benefits
ā
AI-generated SEO optimization, metadata, and HTML formatting
ā
Centralizes content versioning within Google Sheets
ā
Automates approval workflows and content delivery
ā
Ensures consistent output structure with JSON parsing
ā
Reduces manual formatting, editing, and routing tasks
ā
Delivers instant Slack notifications for team transparency
Features
- Chat-triggered publishing workflow
- Google Sheets content retrieval and storage
- AI-driven formatting, metadata generation, HTML conversion
- Structured JSON enforcement for clean automation
- Gmail integration for approval + publishing
- Slack notifications for successful publication
- Short-term memory support for context persistence
Requirements
- Google Sheets OAuth2 credentials
- OpenAI API key (GPT-4 or GPT-4 mini)
- Gmail OAuth2 credentials for sending and receiving approval messages
- Slack API credentials with chat:write access
- Preconfigured Google Sheet containing optimized content drafts
Target Audience
- Content operations teams handling recurring content workflows
- SEO and marketing teams producing high-volume articles
- Agencies managing structured approval pipelines
- Automation specialists building content publishing systems
- Teams needing standardized, AI-enhanced HTML content
Step-by-Step Setup Instructions
- Connect your Google Sheets OAuth2 credential and replace the sheet/document IDs. šļø
- Add your OpenAI API key for the AI Publishing Agent. š
- Connect Gmail credentials for both approval and final publishing emails. š§
- Update all email addresses and Slack channel IDs with your own. āļø
- Modify metadata fields (topic, intent, platform) if needed. šÆ
- Run the workflow with a sample content ID to verify the flow. š
- Enable and integrate as a subworkflow inside your main content pipeline. š