Recipe: Internal Ops Bot
Build an automated operations bot that pulls data from Google Workspace and Jira, generates daily standup summaries, and posts them to Slack.
What You'll Build
A scheduled agent that:
- Pulls yesterday's activity from Jira (completed tickets, new issues)
- Checks Google Calendar for today's meetings
- Generates a daily standup summary
- Posts it to a Slack channel every morning
Prerequisites
- BlueNexus account with
agents-allscope - Google Workspace, Jira, and Slack connected in BlueNexus
Step 1: Create the Agent
curl -X POST https://api.bluenexus.ai/api/v1/agents \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Ops Bot",
"llm": "bluenexus/glm-4.7-flash-tee",
"personality": "You are an internal operations assistant. Your job is to generate clear, concise daily summaries. Format summaries with sections for:\n- Completed yesterday\n- In progress\n- Blocked\n- Today'\''s meetings\n\nUse bullet points. Keep it under 500 words. Tag relevant people by name when mentioning their work.",
"temperature": 0.3,
"enabledBuiltInTools": ["provider-tools"]
}'
Step 2: Schedule the Daily Summary
curl -X POST https://api.bluenexus.ai/api/v1/agents/AGENT_ID/scheduled-tasks \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Morning Standup",
"prompt": "1. Check Jira for tickets completed yesterday and tickets currently in progress for the engineering team.\n2. Check Google Calendar for today'\''s meetings.\n3. Generate a standup summary.\n4. Post the summary to the #standup channel in Slack with the title \"Daily Standup Summary - [today'\''s date]\".",
"cronExpression": "0 9 * * 1-5",
"timezone": "America/New_York",
"enabled": true
}'
Step 3: Add a Weekly Report
curl -X POST https://api.bluenexus.ai/api/v1/agents/AGENT_ID/scheduled-tasks \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Weekly Report",
"prompt": "Generate a weekly engineering report:\n1. Pull all Jira tickets completed this week\n2. Summarize key achievements and blockers\n3. List next week'\''s priorities based on current sprint\n4. Post to #engineering in Slack",
"cronExpression": "0 17 * * 5",
"timezone": "America/New_York",
"enabled": true
}'
Step 4: Ad-Hoc Queries
Use the agent for ad-hoc queries too:
curl -X POST https://api.bluenexus.ai/api/v1/agents/AGENT_ID/chat/completions \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{"role": "user", "content": "How many Jira tickets did the team close this sprint? Break down by assignee."}
]
}'
Using via MCP
curl -X POST https://api.bluenexus.ai/mcp \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-H "X-Response-Format: json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "use-agent",
"arguments": {
"prompt": "Check Jira for all open bugs with high priority and post a summary to #engineering in Slack"
}
},
"id": "1"
}'