hermes - 💡(How to fix) Fix [Feature]: Notion Direct File Upload (v1/file_uploads) in default skills [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#16542Fetched 2026-04-28 06:52:42
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

  • Support common MIME types, file size limits, and relevant error handling
  • Include tests for both success and failure paths (auth error, unsupported type, upload error)

Fix Action

Fix / Workaround

Workarounds with externally hosted URLs or separate file storage are brittle, less secure, and do not leverage the latest Notion Data API features. Using the direct upload flow is the most robust, official, and future-proof approach.

RAW_BUFFERClick to expand / collapse

Problem or Use Case

The default Notion skills currently lack support for direct file uploads using Notion’s v1/file_uploads API. This prevents attaching local or generated files (e.g. images, PDFs, artifacts) directly to Notion pages, as the existing workflow relies on externally hosted URLs and misses Notion’s new, official upload flow.

Reference:

Proposed Solution

Default Notion skills should support the complete direct file upload and attachment flow using Notion’s v1/file_uploads API, including:

  1. Create file upload metadata (POST /v1/file_uploads)
  2. Upload the file content to the provided URL(s)
  3. Complete and attach upload as required by Notion
  4. Attach the uploaded file to Notion blocks/pages/databases as supported

The implementation should:

  • Add a new Notion skill action (e.g. notion_upload_file) wrapping the full upload lifecycle
  • Support common MIME types, file size limits, and relevant error handling
  • Return a reference usable for subsequent Notion create or update calls
  • Include tests for both success and failure paths (auth error, unsupported type, upload error)
  • Update docs with usage examples for Hermes workflows

Alternatives Considered

Workarounds with externally hosted URLs or separate file storage are brittle, less secure, and do not leverage the latest Notion Data API features. Using the direct upload flow is the most robust, official, and future-proof approach.

Feature Type

New bundled skill

Scope

Small (single file, < 50 lines)

Contribution

  • I'd like to implement this myself and submit a PR

Debug Report (optional)

extent analysis

TL;DR

Implement a new Notion skill action, notion_upload_file, to support direct file uploads using Notion's v1/file_uploads API.

Guidance

  • Review the Notion API documentation (https://developers.notion.com/guides/data-apis/working-with-files-and-media) to understand the required steps for direct file uploads.
  • Create a new Notion skill action that wraps the full upload lifecycle, including creating file upload metadata, uploading file content, and completing the upload.
  • Ensure the implementation supports common MIME types, file size limits, and relevant error handling, and returns a reference usable for subsequent Notion create or update calls.
  • Develop tests for both success and failure paths, including authentication errors, unsupported types, and upload errors.

Example

No code example is provided due to the lack of implementation details in the issue.

Notes

The implementation should be a small, self-contained change (< 50 lines) and should include updates to the documentation with usage examples for Hermes workflows.

Recommendation

Apply workaround: Implement the proposed solution to support direct file uploads using Notion's v1/file_uploads API, as it is the most robust and future-proof approach.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix [Feature]: Notion Direct File Upload (v1/file_uploads) in default skills [1 participants]