What This Agent Does
This powerful automation agent transforms your content creation workflow by automatically generating SEO-optimized blog articles and publishing them directly to GitHub repositories. Simply mark topics as pending in your spreadsheet, and the agent handles the entire pipeline—from intelligent article generation using Claude AI to repository creation and publication tracking. This end-to-end solution eliminates manual content creation bottlenecks and ensures consistent, high-quality output across your publishing channels.
Key benefits include:
-
Time savings: Reduce content creation time from hours to minutes per article
-
Consistency: Maintain uniform SEO optimization and quality standards across all published content
-
Automation: Eliminate manual GitHub repository setup and spreadsheet updates
-
Scalability: Process multiple topics in a single workflow execution
-
Audit trail: Automatic tracking of published content status in your spreadsheet
Ideal for:
- Content marketing teams managing multiple blog topics
- Technical documentation teams publishing to GitHub
- Agencies producing SEO-optimized content at scale
- Solo creators looking to automate repetitive publishing tasks
Who Is It For
This agent is designed for content creators, marketing teams, and technical writers who need to:
- Generate multiple blog articles efficiently
- Maintain a centralized content calendar in spreadsheets
- Publish directly to GitHub repositories
- Track publication status automatically
- Ensure SEO best practices without manual optimization
Whether you're a solo entrepreneur, part of a marketing department, or managing a content agency, this workflow adapts to your needs and scales with your content volume.
Required Integrations
Spreadsheet Integration
Why it's needed: Your spreadsheet serves as the central hub for content planning and publication tracking. It stores pending topics, article metadata, and publication status—creating a single source of truth for your entire content operation.
Setup steps:
-
Connect your spreadsheet account
- Navigate to TaskAGI's Integration Hub
- Search for "Spreadsheet" and click Connect
- Authenticate with your Google Workspace or Microsoft 365 account
- Grant TaskAGI permission to read and write spreadsheet data
-
Prepare your spreadsheet structure
- Create a new Google Sheet or Excel workbook
- Set up columns:
Topic, Status, GitHub_URL, Published_Date, SEO_Keywords
- Add sample rows with topics marked as
"Pending" in the Status column
- Example topics: "Machine Learning Best Practices", "Cloud Security Guide", "API Design Patterns"
-
Share your spreadsheet
- Right-click your spreadsheet and select Share
- Grant edit access to your TaskAGI service account email
- Copy the spreadsheet ID from the URL (the long alphanumeric string)
-
Configure in TaskAGI
- In the workflow editor, select the Query Pending Topics node
- Paste your spreadsheet ID in the
spreadsheet_id field
- Set the sheet name to
"Sheet1" (or your actual sheet name)
- Configure the query filter:
Status = "Pending"
- Test the connection by clicking Preview Data
Anthropic Integration (Claude AI)
Why it's needed: Claude AI generates comprehensive, SEO-optimized blog articles based on your topics. The Haiku model provides fast, cost-effective generation while maintaining high quality for content creation tasks.
Setup steps:
-
Create an Anthropic API account
-
Generate your API key
- Navigate to API Keys in your account dashboard
- Click Create Key
- Copy the generated key (starts with
sk-ant-)
- Store it securely—you'll need it in the next step
-
Connect to TaskAGI
- Go to TaskAGI's Integration Hub
- Search for "Anthropic" and click Connect
- Paste your API key in the authentication field
- Click Test Connection to verify
-
Configure the article generation node
- Select the Generate SEO Article node in your workflow
- Verify the model is set to
claude-haiku-4-5
- The prompt is pre-configured to generate comprehensive, SEO-optimized articles
- Customize the prompt if needed (e.g., add specific keywords, tone preferences, or length requirements)
- Example customization: "Write a comprehensive, SEO-optimized blog article about {topic} targeting keywords: {keywords}. Include an introduction, 3-4 main sections, and a conclusion. Optimize for search engines while maintaining readability."
GitHub Integration
Why it's needed: GitHub serves as your content repository and publication platform. The agent automatically creates repositories for each article, enabling version control, collaboration, and easy sharing of your published content.
Setup steps:
-
Create a GitHub account or use existing
- Visit github.com if you don't have an account
- Sign in to your existing GitHub account
-
Generate a Personal Access Token
- Click your profile icon → Settings
- Navigate to Developer settings → Personal access tokens → Tokens (classic)
- Click Generate new token
- Name it
TaskAGI-Content-Publisher
- Select scopes:
repo (full control of private repositories)
- Set expiration to 90 days (or longer based on your preference)
- Click Generate token and copy the token immediately
-
Connect to TaskAGI
- Open TaskAGI's Integration Hub
- Search for "GitHub" and click Connect
- Paste your Personal Access Token
- Click Authenticate to verify
-
Configure repository settings
- Select the Create GitHub Repo node
- Set the repository owner to your GitHub username
- Configure naming pattern:
blog-{topic-slug} (e.g., blog-machine-learning-basics)
- Enable "Initialize with README" for professional presentation
- Set visibility to
public or private based on your preference
Configuration Steps
Step 1: Manual Trigger Setup
The workflow begins with a Manual Trigger, giving you complete control over when content generation runs.
-
Configuration: No setup required—this node activates when you click Run Workflow
-
Best practice: Run during off-peak hours to avoid rate limiting
-
Tip: You can schedule recurring executions using TaskAGI's scheduler for automated daily/weekly runs
Step 2: Query Pending Topics
This node retrieves all topics marked as "Pending" from your spreadsheet.
-
Spreadsheet ID: Your Google Sheet's unique identifier
-
Sheet name: The specific tab containing your content calendar (usually
"Sheet1")
-
Query filter:
Status = "Pending" (returns only unpublished topics)
-
Expected output: A list of topic objects with fields like
Topic, Keywords, Description
Example data returned:
[
{ "Topic": "AI Ethics", "Keywords": "artificial intelligence, ethics, responsibility", "Status": "Pending" },
{ "Topic": "DevOps Automation", "Keywords": "devops, ci/cd, automation", "Status": "Pending" }
]
Step 3: Loop Topics
The Loop node processes each topic individually, ensuring every pending item gets its own article.
-
Input: Array of pending topics from the previous node
-
Iteration: Executes the following nodes once per topic
-
Data available in loop: Each topic's fields are accessible to downstream nodes via
{topic.Topic}, {topic.Keywords}, etc.
Step 4: Generate SEO Article
Claude AI creates a comprehensive, SEO-optimized article for each topic.
-
Model:
claude-haiku-4-5 (fast, cost-effective, ideal for content generation)
-
Prompt template: Pre-configured to generate 1,500-2,500 word articles
-
Input variables:
-
{topic.Topic} - The article subject
-
{topic.Keywords} - SEO keywords to target
-
{topic.Description} - Optional additional context
Customization example:
Write a comprehensive, SEO-optimized blog article about {topic.Topic}.
Target these keywords: {topic.Keywords}.
Include: introduction, 3-4 main sections with subheadings, practical examples,
and a conclusion with call-to-action. Optimize for search engines while
maintaining engaging, readable prose. Article length: 2000 words.
-
Output: Complete article text ready for publication
Step 5: Create GitHub Repository
A new repository is automatically created to host each article.
-
Repository name: Generated from topic (e.g.,
blog-ai-ethics)
-
Description: Auto-populated with topic and keywords
-
README: Automatically includes article metadata and publication date
-
Visibility: Set to public for SEO benefits or private for internal use
-
Output: Repository URL for tracking and sharing
Step 6: Mark as Published
The spreadsheet is automatically updated to reflect publication status.
-
Update fields:
-
Status: Changed from "Pending" to "Published"
-
GitHub_URL: Populated with the new repository link
-
Published_Date: Set to current date/time
-
Purpose: Maintains accurate content calendar and prevents duplicate processing
-
Verification: Check your spreadsheet to confirm updates
Step 7: Loop Completion
After processing all pending topics, the workflow completes the loop and transitions to the Done node.
-
Automatic: No configuration needed
-
Result: All pending topics are now published and marked as complete
Testing Your Agent
Pre-Flight Checklist
Before running your first workflow, verify:
- ✅ All three integrations are connected and authenticated
- ✅ Your spreadsheet contains at least one topic marked "Pending"
- ✅ GitHub Personal Access Token has
repo scope enabled
- ✅ Anthropic API key is valid and has available credits
Test Execution
Step 1: Prepare test data
- Open your spreadsheet
- Add a test topic:
"Test Article: Workflow Automation" with Status "Pending"
- Add sample keywords:
"automation, workflow, productivity"
Step 2: Run the workflow
- Click the Run Workflow button in TaskAGI
- Monitor the execution in real-time using the Execution Log
- Watch for any error messages or warnings
Step 3: Verify each step
| Node |
What to Check |
Success Indicator |
| Query Pending Topics |
Data retrieval |
Your test topic appears in the log |
| Generate SEO Article |
Article quality |
1,500+ word article generated with proper formatting |
| Create GitHub Repo |
Repository creation |
New repo visible in your GitHub account |
| Mark as Published |
Spreadsheet update |
Status changed to "Published", URL populated |
Step 4: Validate outputs
-
Check GitHub: Visit your GitHub profile and confirm the new repository exists
-
Review article: Open the repository and read the generated article for quality
-
Verify spreadsheet: Confirm your test topic now shows "Published" status with a GitHub URL
-
Check timestamps: Ensure Published_Date reflects the current date
Expected Results
A successful test execution should produce:
- ✅ One new GitHub repository with a descriptive name
- ✅ A complete, well-formatted blog article in the repository
- ✅ Updated spreadsheet row with publication details
- ✅ Zero errors in the execution log
- ✅ Total execution time: 2-5 minutes depending on article length
Troubleshooting Common Issues
"Spreadsheet query returned no results"
- Verify your Status column contains exactly
"Pending" (case-sensitive)
- Check that your spreadsheet ID is correct
- Ensure TaskAGI has edit access to the spreadsheet
"GitHub authentication failed"
- Confirm your Personal Access Token hasn't expired
- Verify the token has
repo scope enabled
- Regenerate a new token if needed
"Article generation timed out"
- Check your Anthropic API account has available credits
- Reduce article length in the prompt if needed
- Try again—temporary API delays are normal
Congratulations! Your content automation agent is now ready to transform your publishing workflow. Start with small batches of topics, monitor the quality of generated content, and scale up as you gain confidence in the system. Happy publishing! 🚀