Create ​Create

yaml
type: "io.kestra.plugin.notion.page.create"
yaml
id: notion_create_page
namespace: company.team

tasks:
  - id: create_page
    type: io.kestra.plugin.notion.page.Create
    apiToken: "{{ secret('NOTION_API_TOKEN') }}"
    title: "Meeting Notes"
    content: |
      # Meeting Notes - {{ now() }}

      ## Attendees
      - John Doe
      - Jane Smith

      ## Action Items
      - [ ] Review proposal
      - [ ] Schedule follow-up

yaml
id: notion_create_child_page
namespace: company.team

tasks:
  - id: create_child_page
    type: io.kestra.plugin.notion.page.Create
    apiToken: "{{ secret('NOTION_API_TOKEN') }}"
    title: "Sprint Planning"
    parentPageId: "12345678-1234-1234-1234-123456789abc"
    content: |
      # Sprint Planning

      **Sprint Goal:** Improve user authentication

      ## Stories
      - Implement OAuth2
      - Add password reset
Properties
Format date-time
Format date-time
Format duration
Default PT5M
Format duration
Default false
SubType integer
Default UTF-8
Default true
SubType string
Possible Values
REQUEST_HEADERSREQUEST_BODYRESPONSE_HEADERSRESPONSE_BODY
Default DIRECT
Possible Values
DIRECTHTTPSOCKS