Skills.MD
# Granola CI Integration
## Overview
Build automated workflows that process Granola meeting notes as part of your development pipeline.
## Prerequisites
- Granola Pro or Business plan
- Zapier account
- GitHub repository (for Actions)
- Development workflow understanding
## Architecture
### Meeting-to-Action Pipeline
```
Meeting Ends
↓
Granola Processes Notes
↓
Zapier Webhook Triggered
↓
Processing Pipeline
├── Create Issues/Tasks
├── Update Documentation
├── Notify Team
└── Update CRM
```
## Zapier Webhook Setup
### Step 1: Create Webhook Endpoint
```yaml
# Create a Zapier Zap
Trigger: Granola - New Note Created
Filter: Meeting title contains "sprint" OR "planning"
```
### Step 2: Parse Meeting Content
```javascript
// Zapier Code Step - Parse Action Items
const noteContent = inputData.note_content;
// Extract action items
const actionPattern = /- \[ \] (.+?)(?:\(@(\w+)\))?/g;
const actions = [];
let match;
while ((match = actionPattern.exec(noteContent)) !== null) {
actions.push({
task: match[1].trim(),
assignee: match[2] || 'unassigned'
});
}
return { actions: JSON.stringify(actions) };
```
### Step 3: Create GitHub Issues
```yaml
Action: GitHub - Create Issue
Repository: your-org/your-repo
Title: "Meeting Action: {{task}}"
Body: |
From meeting: {{meeting_title}}
Date: {{meeting_date}}
Task: {{task}}
Assignee: {{assignee}}
---
Auto-created by Granola integration
Labels: ["from-meeting", "action-item"]
Assignee: {{assignee}}
```
## GitHub Actions Integration
### Workflow: Process Meeting Notes
```yaml
# .github/workflows/process-meeting-notes.yml
name: Process Meeting Notes
on:
repository_dispatch:
types: [granola-meeting-completed]
jobs:
process-notes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Parse Meeting Notes
id: parse
run: |
echo "Processing meeting: ${{ github.event.client_payload.title }}"
echo "Date: ${{ github.event.client_payload.date }}"
- name: Update Meeting Log
run: |
# Append to meetings log
echo "| ${{ github.event.client_payload.date }} | ${{ github.event.client_payload.title }} | [Link](${{ github.event.client_payload.url }}) |" >> docs/meetings.md
- name: Create Issue for Action Items
uses: actions/github-script@v7
with:
script: |
const actions = JSON.parse('${{ github.event.client_payload.action_items }}');
for (const action of actions) {
await github.rest.issues.create({
owner: context.repo.owner,
repo: context.repo.repo,
title: `Meeting Action: ${action.task}`,
body: `From: ${{ github.event.client_payload.title }}\n\n${action.task}`,
labels: ['meeting-action']
});
}
- name: Commit Changes
run: |
git config user.name "Granola Bot"
git config user.email "bot@granola.ai"
git add docs/meetings.md
git commit -m "docs: add meeting notes from ${{ github.event.client_payload.date }}"
git push
```
### Trigger Workflow from Zapier
```yaml
# Zapier Webhook Action
Method: POST
URL: https://api.github.com/repos/your-org/your-repo/dispatches
Headers:
Authorization: Bearer {{github_token}}
Accept: application/vnd.github.v3+json
Body:
{
"event_type": "granola-meeting-completed",
"client_payload": {
"title": "{{meeting_title}}",
"date": "{{meeting_date}}",
"url": "{{granola_link}}",
"summary": "{{summary}}",
"action_items": {{action_items_json}}
}
}
```
## Linear Integration Pipeline
### Auto-Create Tasks from Meetings
```yaml
# Zapier Multi-Step Workflow
Step 1 - Trigger:
App: Granola
Event: New Note Created
Step 2 - Filter:
Condition: Summary contains "TODO" or "action item"
Step 3 - Parse:
App: Code by Zapier
Script: Extract action items with assignees
Step 4 - Loop:
For each action item:
App: Linear
Action: Create Issue
Team: Engineering
Title: {{action.task}}
Description: |
From meeting: {{meeting_title}}
Date: {{meeting_date}}
Context: {{surrounding_text}}
Assignee: {{action.assignee}}
State: Todo
```
## Slack Bot Integration
### Meeting Summary Bot
```yaml
# Automated Slack Post
Trigger: New Granola Note
Slack Message:
Channel: #dev-meetings
Blocks:
- type: header
text: "Meeting Notes: {{meeting_title}}"
- type: section
text: "{{summary}}"
- type: divider
- type: section
text: "*Action Items:*\n{{action_items}}"
- type: actions
elements:
- type: button
text: "View Full Notes"
url: "{{granola_link}}"
- type: button
text: "Create Tasks"
action_id: "create_tasks"
```
## Testing & Validation
### Test Webhook Endpoint
```bash
# Test Zapier webhook with sample data
curl -X POST https://hooks.zapier.com/hooks/catch/YOUR_HOOK_ID \
-H "Content-Type: application/json" \
-d '{
"meeting_title": "Test Sprint Planning",
"meeting_date": "2025-01-06",
"summary": "Discussed Q1 priorities",
"action_items": [
{"task": "Review PRs", "assignee": "mike"},
{"task": "Update docs", "assignee": "sarah"}
]
}'
```
### Validate Integration
```markdown
## Integration Test Checklist
- [ ] Schedule test meeting
- [ ] Complete meeting with sample action items
- [ ] Verify Zapier trigger fires
- [ ] Check GitHub issues created
- [ ] Confirm Slack notification sent
- [ ] Validate Linear tasks appear
```
## Error Handling
### Retry Configuration
```yaml
# Zapier Error Handling
On Error:
Retry: 3 times
Delay: 5 minutes between retries
Fallback: Send error to Slack #ops-alerts
```
### Common Errors
| Error | Cause | Solution |
|-------|-------|----------|
| Webhook timeout | Large payload | Add processing delay |
| Auth expired | Token invalid | Refresh OAuth tokens |
| Rate limited | Too many requests | Add delays between actions |
| Parse failed | Note format changed | Update parsing logic |
## Resources
- [Zapier Webhooks](https://zapier.com/help/create/code-webhooks)
- [GitHub Actions Events](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows)
## Next Steps
Proceed to `granola-deploy-integration` for native app integrations.
评论 0
还没有评论,来抢沙发。
相关内容
同类或同场景的收录内容
building-with-kafka-strimzi
在 Kubernetes 上构建基于 Apache Kafka 的事件驱动系统,支持高可靠的消息传递、事务性处理与精确一次语义,结合 Strimzi 运营商实现集群自动化管理,利用 Schema Registry 保障事件模式演进,适用于微服务间解耦通信与实时数据流处理场景。
站外数据与分析
609 0.0
personal-tool-builder
专注于从个人真实痛点出发快速构建实用工具,涵盖命令行程序、本地优先应用和自动化脚本的开发与演进,强调先满足自身需求再逐步扩展,通过持续自用打磨功能,避免过度设计,确保工具简洁有效且长期可维护。
站外商业与营销
196 0.0
threejs-lighting
实现三维场景中的光照与阴影控制,支持多种光源类型及环境光照明,提供从基础布光到高级阴影优化的完整方案,适用于需要真实感渲染或性能平衡的可视化项目。
站外效率工具
442 0.0
aggregation-helper
提供数据聚合场景的自动化辅助能力,涵盖 SQL 查询编写、统计分析建模、可视化方案设计及商业智能配置,支持从需求理解到生产级代码生成的全流程指导。
站外效率工具数据与分析
217 0.0
举报「granola-ci-integration」
举报信息仅审核团队可见,同一资产 24 小时内仅可举报一次