Notion

Attach File to Notion Page

Attach one or more files to a Notion page or database row, in the page body or in a files property of the row, including private Connie chat and app files.

1 creditRuns in your Notion account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
pageIdstring · requiredstringrequired

Page to attach the file to. Select a page or insert its ID or URL.

fileUrlstring · optionalstringoptional

Public file URL, when no private file ID is supplied.

blockTypestring · optionalstringoptional

One of: file (File), image (Image), pdf (PDF), video (Video), audio (Audio)

Default: file

attachmentIdstring · optionalstringoptional

Private Connie chat attachment ID.

appIdstring · optionalstringoptional

App containing the file. Also supply its fileId.

fileIdstring · optionalstringoptional

App file ID from app-manage file-storage or add-files.

filesrepeating-group · optionalrepeating-groupoptional

Up to 100 files in one call. Each needs one attachmentId, one appId/fileId pair, or one public fileUrl. Private files: up to 20 MB each, subject to the selected Notion account’s plan.

propertystring · optionalstringoptional

Name of a files property of the database row, for example Asset. When set, the files are added to that property, after the files it already holds, instead of the page body.

Response schema

{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object"
      }
    }
  }
}

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.