You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Low Risk
Narrow integration schema/mapping fix for Granola get_note with no auth or core platform changes; consumers that assumed nullable webUrl may see '' instead of null.
Overview
Aligns Granola Get Note with the official API: webUrl is now a required string (empty string when missing) instead of optional/nullable, and transcript segments expose speakerName from speaker.name, which was previously dropped.
Block output docs, tool outputs, response types, and the transform in get_note are updated so workflows and LLM tool schemas match the real response shape.
This PR tightens the Granola get_note tool to match the official Granola OpenAPI spec: webUrl is now a required non-nullable string (was string | null), and the previously-dropped speakerName field is now extracted from each transcript entry's speaker.name property.
webUrl is changed from ?? null to ?? '' in the transform, the TypeScript interface is narrowed to string, and the optional: true marker is removed from the output descriptor — three-way consistent.
speakerName: string | null is added to both the runtime transform (t.speaker?.name ?? null) and the TypeScript interface, mirroring the existing speakerLabel pattern.
The block-level transcript output description is updated to mention the new field.
Confidence Score: 5/5
Safe to merge — the changes are a narrow, well-scoped alignment with the external API spec with no logic changes that could affect existing callers negatively.
The three changed files are fully consistent: the runtime transform, the TypeScript interface, and the output descriptor all agree on the new shape. The webUrl fallback switches from null to an empty string, which is a no-worse default for a field the API guarantees is present. speakerName is additive and optional, so downstream consumers that don't use it are unaffected.
No files require special attention.
Important Files Changed
Filename
Overview
apps/sim/tools/granola/get_note.ts
Core fix file: changes webUrl fallback from null to empty string, adds speakerName field extraction from speaker.name, and removes the optional marker from webUrl's output descriptor — all consistent with the stated API spec alignment.
apps/sim/tools/granola/types.ts
Type change: webUrl narrowed from string
apps/sim/blocks/blocks/granola.ts
Documentation-only update: adds speakerName to the transcript output description string to reflect the newly exposed field.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
webUrlinget_noteto be a required non-nullable string per spec (was modeled as optional/nullable)speakerNamefield to transcript entries (resolved speaker name, present in the API but previously dropped)Type of Change
Testing
Tested manually
Checklist