> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automate.ax/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Send Notion file upload

> Send file bytes or one numbered part to a pending upload.

`notion.sendFileUpload` send file bytes or one numbered part to a pending upload.

## Example

```ts automations/notion-send-file-upload.automation.ts theme={null}
import { automation, onSchedule } from "automate.ax"
import { notion } from "automate.ax/notion"

export default automation("Send Notion file upload", () => {
  onSchedule({ schedule: "0 9 * * *" })

  notion.sendFileUpload({
    file_upload_id: "upload-id",
    file: {
      data: new Blob(["hello"], { type: "text/plain; charset=utf-8" }),
      filename: "hello.txt",
    },
  })
})
```

## Inputs

`file_upload_id` and `file` are required. Filenames are limited to 900 bytes. When the create step records or infers a content type, use a `Blob` with the same media type for the file data. Provide `part_number` as a string from `1` through `10000` for multipart uploads. OAuth requires no additional content capability; personal access tokens use their normal API access. Every input accepts a compatible signal, and an optional second argument can select a named account.

## Output

Returns the updated `file_upload` object.

This request uses `multipart/form-data`; do not base64-wrap ordinary text or `Blob` input unless the file format itself requires it.
