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).

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150

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.

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.