Atlassian Confluence Create

Atlassian Confluence Create

Certified

Create Confluence page from Markdown

Creates a page in a Confluence space using REST API v2. Renders Markdown to Confluence storage HTML, supports optional status/parent/subtype flags, and passes embedded/private/root-level query parameters. Requires spaceId, title, markdown, and Basic authentication.

yaml
type: io.kestra.plugin.confluence.pages.Create

Create a basic page in a Confluence space.

yaml
id: create-confluence-page
namespace: company.team

tasks:
  - id: create_page
    type: io.kestra.plugin.confluence.pages.Create
    serverUrl: https://your-domain.atlassian.net
    username: your-email@example.com
    apiToken: "{{ secret('CONFLUENCE_API_TOKEN') }}"
    spaceId: "123456"
    title: My New Page from Kestra
    markdown: |
      # Kestra-Generated Page
      This page was created automatically from a Kestra flow.
      - List item 1
      - List item 2
Properties

API token for Basic auth

Atlassian API token associated with the username; keep in a secret and avoid logging.

Set Confluence site URL

Base Confluence site URL (e.g., https://your-domain.atlassian.net) without a trailing slash.

Target space ID

Authentication username (email)

Confluence account email used for Basic authentication; render from secrets where possible.

Default/wiki/api/v2

API base path

Base path appended to the server URL before the resource endpoint. Defaults to /wiki/api/v2 for Confluence Cloud. Override for On-Premise instances (e.g., /rest/api or a custom context root).

Create content as embedded

Sets embedded=true so Confluence stores the page in the new content service. Default: false

Make page private

If true, only the creator can view and edit the page until permissions are changed. Default: false

Markdown content to upload

Markdown rendered to Confluence storage HTML before sending to the API. Required.

Parent page ID

Parent content ID. When rootLevel is false and omitted, Confluence uses the space homepage; ignored when rootLevel is true.

Reference (ref) of the pluginDefaults to apply to this task.

Create page at space root

Creates the page at the space root (outside the homepage tree) and forbids parentId. Default: false

Page status

Optional page status. Valid values: current, draft. Confluence applies its default when omitted.

Page subtype

Optional subtype. Use live to create a collaborative live doc; omit for a regular page.

Page title

Display title for the new Confluence page. Required.

Confluence API response

Full JSON response returned by Confluence after the page is created.