Skip to content

[Integration] Notion - Workspace operations #30

Description

@MAlshaik

Category: Data

Priority: P2 | Complexity: Medium

Description

Integrate with Notion for workspace management.

Credential Definition

export const NotionCredential = {
  name: 'notion',
  type: 'bearer',
  schema: z.object({ accessToken: z.string() }),
  authenticate: {
    type: 'header',
    properties: {
      Authorization: 'Bearer {{accessToken}}',
      'Notion-Version': '2022-06-28',
    },
  },
};

Operations

  • notionCreatePage - Create page in database
  • notionUpdatePage - Update page properties
  • notionQueryDatabase - Query database with filters
  • notionAppendBlocks - Add content blocks to page

API Docs

https://developers.notion.com/

Acceptance Criteria

  • Bearer credential
  • All 4 operations
  • Block support
  • Zod schemas
  • Unit tests

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions