Wiki.js

App · 8 actions

Keep your Wiki.js wiki up to date: publish and update pages from workflows, read a page for an AI step or an email, search the wiki, and tag, move and tidy pages. Start a workflow when a page is added or edited.

Actions

ActionWhat it does
Create pagePublish a page at a path, such as meeting notes, a report or a policy, written in Markdown or HTML, with tags.
Delete pageDelete a page from Wiki.js.
Get pageGet a page's details and what it says, as Markdown, HTML or plain text, such as for an AI step or an email.
List pagesList pages with a tag, in a folder or in a language, most recently updated first.
List tagsList every tag used on the wiki's pages, A to Z.
Move pageMove or rename a page by giving it a new path, or move it into another language.
Search pagesFind published pages with the wiki's own search, best match first.
Update pageChange a page's content, by replacing it or adding to the end, its title, description or tags, or whether it's published.

Create page

Publish a page at a path, such as meeting notes, a report or a policy, written in Markdown or HTML, with tags.

Inputs

PathpathtextRequired
Where the page lives, which is also its address, such as meetings/2026-11-05. Spaces become hyphens; dots aren't allowed.
TitletitletextRequired
The page's title.
ContentcontenttextRequired
What the page says, in the format chosen.
Formatcontent_formattext
How the content is written. Defaults to Markdown; HTML opens in Wiki.js's visual editor.One of: markdown, html. Default: markdown.
Descriptiondescriptiontext
A short line shown under the title and in search results.
Tagstagslist
Tags to add, such as meeting or finance.
Languagelocaletext
The page's language. Leave blank for the wiki's own language.
Publishedpublishedtrue/false
Whether people can see the page. Turn off to keep it as a draft only editors see. Defaults to on.Default: true.

Outputs

created_attext
When it was added (ISO 8601)
created_bytext
Who added it; empty in a list
descriptiontext
The short description shown under its title
editortext
The editor it's written in, such as markdown or ckeditor
idnumber
The page's ID
linktext
Where it opens in Wiki.js
localetext
The page's language, such as en
pathtext
Where the page lives, such as docs/handbook
publishedtrue/false
Whether people can see it
tagslist
Its tags, in lower case
titletext
The page's title
updated_attext
When it last changed (ISO 8601)
updated_bytext
Who last changed it; empty in a list
Example output
{
  "created_at": "2026-11-05T10:00:00.000Z",
  "created_by": "Ada Lovelace",
  "description": "Notes from the weekly team meeting",
  "editor": "markdown",
  "id": 42,
  "link": "https://wiki.example.com/en/meetings/2026-11-05",
  "locale": "en",
  "path": "meetings/2026-11-05",
  "published": true,
  "tags": [
    "meeting",
    "finance"
  ],
  "title": "Team meeting, 5 November",
  "updated_at": "2026-11-05T10:00:04.000Z",
  "updated_by": "Ada Lovelace"
}

Delete page

Delete a page from Wiki.js. It can't be restored from Lodol.

Inputs

PagepagetextRequired
The page's ID (a number, such as 42) from another Wiki.js step or the trigger, its path (such as docs/handbook), or its link in Wiki.js.
Languagelocaletext
The page's language, when it's named by its path in a wiki with a folder per language. Leave blank for the wiki's own language.

Outputs

deletedtrue/false
Whether the page was deleted
idnumber
The page's ID
localetext
Its language
pathtext
Where it was
titletext
Its title
Example output
{
  "deleted": true,
  "id": 42,
  "locale": "en",
  "path": "meetings/2026-11-05",
  "title": "Team meeting, 5 November"
}

Get page

Get a page's details and what it says, as Markdown, HTML or plain text, such as for an AI step or an email.

Inputs

PagepagetextRequired
The page's ID (a number, such as 42) from another Wiki.js step or the trigger, its path (such as docs/handbook), or its link in Wiki.js.
Languagelocaletext
The page's language, when it's named by its path in a wiki with a folder per language. Leave blank for the wiki's own language.
Formatcontent_formattext
How to give the content. Defaults to Markdown.One of: markdown, html, plain_text (Plain text). Default: markdown.

Outputs

contenttext
What the page says, in the format asked for
created_attext
When it was added (ISO 8601)
created_bytext
Who added it; empty in a list
descriptiontext
The short description shown under its title
editortext
The editor it's written in, such as markdown or ckeditor
formattext
The content's format: markdown, html or plain_text
idnumber
The page's ID
linktext
Where it opens in Wiki.js
localetext
The page's language, such as en
pathtext
Where the page lives, such as docs/handbook
publishedtrue/false
Whether people can see it
tagslist
Its tags, in lower case
titletext
The page's title
updated_attext
When it last changed (ISO 8601)
updated_bytext
Who last changed it; empty in a list
Example output
{
  "content": "## Decisions\n\n- Close the books on the 30th",
  "created_at": "2026-11-05T10:00:00.000Z",
  "created_by": "Ada Lovelace",
  "description": "Notes from the weekly team meeting",
  "editor": "markdown",
  "format": "markdown",
  "id": 42,
  "link": "https://wiki.example.com/en/meetings/2026-11-05",
  "locale": "en",
  "path": "meetings/2026-11-05",
  "published": true,
  "tags": [
    "meeting",
    "finance"
  ],
  "title": "Team meeting, 5 November",
  "updated_at": "2026-11-05T10:00:04.000Z",
  "updated_by": "Ada Lovelace"
}

List pages

List pages with a tag, in a folder or in a language, most recently updated first.

Inputs

Tagtagtext
Only pages with this tag. Leave blank for every page.
Folderpathtext
Only pages in this folder, such as meetings. Leave blank for every folder.
Languagelocaletext
Only pages in this language. Leave blank for every language.
Ordersorttext
Which come first. Defaults to recently updated.One of: updated (Recently updated), created (Recently added), title, path. Default: updated.
How manylimitnumber
The most to list. Defaults to 25.From 1 to 100.

Outputs

countnumber
How many are listed
pageslist
The pages
totalnumber
How many there are in all
Example output
{
  "count": 1,
  "pages": [
    {
      "created_at": "2026-11-05T10:00:00.000Z",
      "created_by": "Ada Lovelace",
      "description": "Notes from the weekly team meeting",
      "editor": "markdown",
      "id": 42,
      "link": "https://wiki.example.com/en/meetings/2026-11-05",
      "locale": "en",
      "path": "meetings/2026-11-05",
      "published": true,
      "tags": [
        "meeting",
        "finance"
      ],
      "title": "Team meeting, 5 November",
      "updated_at": "2026-11-05T10:00:04.000Z",
      "updated_by": "Ada Lovelace"
    }
  ],
  "total": 1
}

List tags

List every tag used on the wiki's pages, A to Z.

Inputs

None.

Outputs

countnumber
How many are listed
tagslist
The tags
Example output
{
  "count": 1,
  "tags": [
    {
      "link": "https://wiki.example.com/t/finance",
      "tag": "finance",
      "title": "Finance"
    }
  ]
}

Move page

Move or rename a page by giving it a new path, or move it into another language. Its old address stops working.

Inputs

PagepagetextRequired
The page's ID (a number, such as 42) from another Wiki.js step or the trigger, its path (such as docs/handbook), or its link in Wiki.js.
Languagelocaletext
The page's language, when it's named by its path in a wiki with a folder per language. Leave blank for the wiki's own language.
New pathnew_pathtextRequired
Where the page goes, such as meetings/archive/2026-11-05.
New languagenew_localetext
A language to move it into. Leave blank to keep its language.

Outputs

created_attext
When it was added (ISO 8601)
created_bytext
Who added it; empty in a list
descriptiontext
The short description shown under its title
editortext
The editor it's written in, such as markdown or ckeditor
idnumber
The page's ID
linktext
Where it opens in Wiki.js
localetext
The page's language, such as en
old_pathtext
Where the page was before
pathtext
Where the page lives, such as docs/handbook
publishedtrue/false
Whether people can see it
tagslist
Its tags, in lower case
titletext
The page's title
updated_attext
When it last changed (ISO 8601)
updated_bytext
Who last changed it; empty in a list
Example output
{
  "created_at": "2026-11-05T10:00:00.000Z",
  "created_by": "Ada Lovelace",
  "description": "Notes from the weekly team meeting",
  "editor": "markdown",
  "id": 42,
  "link": "https://wiki.example.com/en/meetings/archive/2026-11-05",
  "locale": "en",
  "old_path": "meetings/2026-11-05",
  "path": "meetings/archive/2026-11-05",
  "published": true,
  "tags": [
    "meeting",
    "finance"
  ],
  "title": "Team meeting, 5 November",
  "updated_at": "2026-11-05T10:00:04.000Z",
  "updated_by": "Ada Lovelace"
}

Search pages

Find published pages with the wiki's own search, best match first.

Inputs

Search forquerytextRequired
Words to find. Wiki.js's built-in search looks in titles, descriptions and paths; the search engine an admin chooses may look in the text too.
Folderpathtext
Only pages whose path starts with this, such as docs. Leave blank to search everywhere.
Languagelocaletext
Only pages in this language. Leave blank for every language.
How manylimitnumber
The most to list. Defaults to 25.From 1 to 100.

Outputs

countnumber
How many are listed
resultslist
The pages found, best match first
totalnumber
How many there are in all
Example output
{
  "count": 1,
  "results": [
    {
      "description": "Notes from the weekly team meeting",
      "id": 42,
      "link": "https://wiki.example.com/en/meetings/2026-11-05",
      "locale": "en",
      "path": "meetings/2026-11-05",
      "title": "Team meeting, 5 November"
    }
  ],
  "total": 1
}

Update page

Change a page's content, by replacing it or adding to the end, its title, description or tags, or whether it's published. Fields left blank keep what the page has.

Inputs

PagepagetextRequired
The page's ID (a number, such as 42) from another Wiki.js step or the trigger, its path (such as docs/handbook), or its link in Wiki.js.
Languagelocaletext
The page's language, when it's named by its path in a wiki with a folder per language. Leave blank for the wiki's own language.
Contentcontenttext
The new content, in the format chosen. Leave blank to keep it.
Formatcontent_formattext
How the content is written. Defaults to Markdown, which is turned into HTML for a page in the visual editor.One of: markdown, html. Default: markdown.
Replace or addmodetext
Whether the content replaces what the page says, or is added to the end of it, such as for a running log.One of: replace (Replace the content), append (Add to the end). Default: replace.
Titletitletext
A new title. Leave blank to keep it.
Descriptiondescriptiontext
A new description. Leave blank to keep it.
Tagstagslist
Tags that replace the page's tags. Leave blank to keep them.
Add tagsadd_tagslist
Tags to add, keeping the ones the page has, such as reviewed.
Publishedpublishedtext
Publish the page, or hide it from everyone but editors. Leave blank to keep it as it is.One of: published, unpublished (Not published).

Outputs

created_attext
When it was added (ISO 8601)
created_bytext
Who added it; empty in a list
descriptiontext
The short description shown under its title
editortext
The editor it's written in, such as markdown or ckeditor
idnumber
The page's ID
linktext
Where it opens in Wiki.js
localetext
The page's language, such as en
pathtext
Where the page lives, such as docs/handbook
publishedtrue/false
Whether people can see it
tagslist
Its tags, in lower case
titletext
The page's title
updated_attext
When it last changed (ISO 8601)
updated_bytext
Who last changed it; empty in a list
Example output
{
  "created_at": "2026-11-05T10:00:00.000Z",
  "created_by": "Ada Lovelace",
  "description": "Notes from the weekly team meeting",
  "editor": "markdown",
  "id": 42,
  "link": "https://wiki.example.com/en/meetings/2026-11-05",
  "locale": "en",
  "path": "meetings/2026-11-05",
  "published": true,
  "tags": [
    "meeting",
    "finance"
  ],
  "title": "Team meeting, 5 November",
  "updated_at": "2026-11-05T10:00:04.000Z",
  "updated_by": "Ada Lovelace"
}

On this page