Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
14 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/docs/content/docs/en/tools/granola.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Lists meeting notes from Granola with optional date filters and pagination.
| `createdBefore` | string | No | Return notes created before this date \(ISO 8601\) |
| `createdAfter` | string | No | Return notes created after this date \(ISO 8601\) |
| `updatedAfter` | string | No | Return notes updated after this date \(ISO 8601\) |
| `folderId` | string | No | Return notes in this folder and its child folders \(e.g., fol_4y6LduVdwSKC27\) |
| `cursor` | string | No | Pagination cursor from a previous response |
| `pageSize` | number | No | Number of notes per page \(1-30, default 10\) |

Expand Down Expand Up @@ -69,6 +70,7 @@ Retrieves a specific meeting note from Granola by ID, including summary, attende
| `ownerEmail` | string | Note owner email |
| `createdAt` | string | Creation timestamp |
| `updatedAt` | string | Last update timestamp |
| `webUrl` | string | URL to view the note in Granola |
| `summaryText` | string | Plain text summary of the meeting |
| `summaryMarkdown` | string | Markdown-formatted summary of the meeting |
| `attendees` | json | Meeting attendees |
Expand Down
10 changes: 10 additions & 0 deletions apps/sim/blocks/blocks/granola.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ export const GranolaBlock: BlockConfig = {
generationType: 'timestamp',
},
},
{
id: 'folderId',
title: 'Folder ID',
type: 'short-input',
placeholder: 'e.g., fol_4y6LduVdwSKC27',
condition: { field: 'operation', value: 'list_notes' },
mode: 'advanced',
},
{
id: 'pageSize',
title: 'Page Size',
Expand Down Expand Up @@ -134,6 +142,7 @@ export const GranolaBlock: BlockConfig = {
createdAfter: { type: 'string', description: 'Filter notes created after this date' },
createdBefore: { type: 'string', description: 'Filter notes created before this date' },
updatedAfter: { type: 'string', description: 'Filter notes updated after this date' },
folderId: { type: 'string', description: 'Filter notes by folder ID' },
pageSize: { type: 'number', description: 'Results per page (1-30)' },
cursor: { type: 'string', description: 'Pagination cursor' },
},
Expand All @@ -151,6 +160,7 @@ export const GranolaBlock: BlockConfig = {
ownerEmail: { type: 'string', description: 'Note owner email' },
createdAt: { type: 'string', description: 'Creation timestamp' },
updatedAt: { type: 'string', description: 'Last update timestamp' },
webUrl: { type: 'string', description: 'URL to view the note in Granola' },
summaryText: { type: 'string', description: 'Plain text meeting summary' },
summaryMarkdown: { type: 'string', description: 'Markdown meeting summary' },
attendees: { type: 'json', description: 'Meeting attendees (name, email)' },
Expand Down
Loading
Loading