# Joplin

> Work with your Joplin notes: search, read, create, update and delete notes, organize notebooks and tags, and start a workflow when a note is created or changed.

App · 13 actions. Web page: https://docs.lodol.com/docs/integrations/joplin

## Actions

### Add tag to note

Tag a note. A tag that doesn't exist yet is created, as in Joplin's own tag box.

**Inputs**

- Note ID (`note_id`, text, required): The note's id, from 'Search notes', 'List notes' or an earlier step. A joplin:// link to the note works too.
- Tag (`tag`, text, required): The tag's name. Capitals don't matter.

**Outputs**

- `created_tag` (true/false): True when the tag was new and was created
- `note_id` (text): The note's id
- `tag` (object): The tag

**Example output**

```json
{
  "created_tag": false,
  "note_id": "4a113ec4f7ea458db942c52d7ffccfd2",
  "tag": {
    "id": "904e80869e70486ea90e84422000218f",
    "title": "work"
  }
}
```

### Create note

Create a note from Markdown, in the notebook you choose (or Joplin's default one), with the tags you name.

**Inputs**

- Title (`title`, text, required): The note's title.
- Body (`body`, text): The note's content, in Markdown.
- Notebook (`notebook_id`, text): The notebook to put the note in. Leave empty for Joplin's default notebook.
- Tags (`tags`, text): Tag names, separated by commas, such as work, ideas. A tag that doesn't exist yet is created.

**Outputs**: The new note

- `body` (text): The note's content, in Markdown
- `created_time` (text): When the note was created, as an ISO 8601 UTC time
- `id` (text): The note's id, to pass to 'Get note' or 'Update note'
- `in_trash` (true/false): Whether the note is in Joplin's trash
- `is_todo` (true/false): Whether the note is a to-do
- `link` (text): A joplin:// link that opens the note in Joplin
- `notebook_id` (text): The id of the notebook the note is in
- `source_url` (text): The web page the note was clipped from, if any
- `tags` (list): The names of the note's tags
- `title` (text): The note's title
- `todo_completed` (true/false): Whether the to-do is done
- `todo_due` (text): When the to-do is due, as an ISO 8601 UTC time, if set
- `updated_time` (text): When the note last changed, as an ISO 8601 UTC time

**Example output**

```json
{
  "body": "# Meeting notes\n\n- Ship the release on Friday",
  "created_time": "2026-11-19T09:00:00.000Z",
  "id": "4a113ec4f7ea458db942c52d7ffccfd2",
  "in_trash": false,
  "is_todo": false,
  "link": "joplin://x-callback-url/openNote?id=4a113ec4f7ea458db942c52d7ffccfd2",
  "notebook_id": "c05690a28e134ea3ac2ce5deb2f4a79b",
  "source_url": "",
  "tags": [
    "work"
  ],
  "title": "Meeting notes",
  "todo_completed": false,
  "todo_due": null,
  "updated_time": "2026-11-19T09:30:00.000Z"
}
```

### Create notebook

Create a notebook, at the top level or inside another notebook.

**Inputs**

- Name (`title`, text, required): The notebook's name.
- Inside notebook (`parent_notebook_id`, text): The notebook to put it in. Leave empty for the top level.

**Outputs**: The new notebook

- `created_time` (text): When the notebook was created, as an ISO 8601 UTC time
- `id` (text): The notebook's id
- `parent_notebook_id` (text): The id of the notebook it is inside, or empty at the top level
- `path` (text): The notebook's name after those it is inside, such as Work / Projects
- `title` (text): The notebook's name
- `updated_time` (text): When the notebook last changed, as an ISO 8601 UTC time

**Example output**

```json
{
  "created_time": "2026-11-01T09:00:00.000Z",
  "id": "c05690a28e134ea3ac2ce5deb2f4a79b",
  "parent_notebook_id": "",
  "path": "Projects",
  "title": "Projects",
  "updated_time": "2026-11-01T09:00:00.000Z"
}
```

### Delete note

Move a note to Joplin's trash, where it can be restored.

**Inputs**

- Note ID (`note_id`, text, required): The note's id, from 'Search notes', 'List notes' or an earlier step. A joplin:// link to the note works too.

**Outputs**

- `deleted` (true/false): True when the note was moved to the trash
- `id` (text): The note's id

**Example output**

```json
{
  "deleted": true,
  "id": "4a113ec4f7ea458db942c52d7ffccfd2"
}
```

### Delete notebook

Move a notebook, with the notes and notebooks in it, to Joplin's trash, where it can be restored.

**Inputs**

- Notebook (`notebook_id`, text, required): The notebook to move to the trash.

**Outputs**

- `deleted` (true/false): True when the notebook was moved to the trash
- `id` (text): The notebook's id

**Example output**

```json
{
  "deleted": true,
  "id": "c05690a28e134ea3ac2ce5deb2f4a79b"
}
```

### Delete tag

Delete a tag, taking it off every note that has it. The notes themselves stay.

**Inputs**

- Tag (`tag`, text, required): The name of the tag to delete.

**Outputs**

- `deleted` (true/false): True when the tag was deleted
- `tag` (object): The tag

**Example output**

```json
{
  "deleted": true,
  "tag": {
    "id": "904e80869e70486ea90e84422000218f",
    "title": "work"
  }
}
```

### Get note

Get one note with its Markdown content and its tags.

**Inputs**

- Note ID (`note_id`, text, required): The note's id, from 'Search notes', 'List notes' or an earlier step. A joplin:// link to the note works too.

**Outputs**: The note

- `body` (text): The note's content, in Markdown
- `created_time` (text): When the note was created, as an ISO 8601 UTC time
- `id` (text): The note's id, to pass to 'Get note' or 'Update note'
- `in_trash` (true/false): Whether the note is in Joplin's trash
- `is_todo` (true/false): Whether the note is a to-do
- `link` (text): A joplin:// link that opens the note in Joplin
- `notebook_id` (text): The id of the notebook the note is in
- `source_url` (text): The web page the note was clipped from, if any
- `tags` (list): The names of the note's tags
- `title` (text): The note's title
- `todo_completed` (true/false): Whether the to-do is done
- `todo_due` (text): When the to-do is due, as an ISO 8601 UTC time, if set
- `updated_time` (text): When the note last changed, as an ISO 8601 UTC time

**Example output**

```json
{
  "body": "# Meeting notes\n\n- Ship the release on Friday",
  "created_time": "2026-11-19T09:00:00.000Z",
  "id": "4a113ec4f7ea458db942c52d7ffccfd2",
  "in_trash": false,
  "is_todo": false,
  "link": "joplin://x-callback-url/openNote?id=4a113ec4f7ea458db942c52d7ffccfd2",
  "notebook_id": "c05690a28e134ea3ac2ce5deb2f4a79b",
  "source_url": "",
  "tags": [
    "work"
  ],
  "title": "Meeting notes",
  "todo_completed": false,
  "todo_due": null,
  "updated_time": "2026-11-19T09:30:00.000Z"
}
```

### List notebooks

List every notebook, with the notebooks it sits inside, such as Work / Projects.

**Inputs**: None.

**Outputs**

- `count` (number): How many notebooks
- `notebooks` (list): The notebooks

**Example output**

```json
{
  "count": 1,
  "notebooks": [
    {
      "created_time": "2026-11-01T09:00:00.000Z",
      "id": "c05690a28e134ea3ac2ce5deb2f4a79b",
      "parent_notebook_id": "",
      "path": "Projects",
      "title": "Projects",
      "updated_time": "2026-11-01T09:00:00.000Z"
    }
  ]
}
```

### List notes

List notes in a notebook, or in every notebook, most recently changed first unless you choose another order. Gets one page; to see more, run it again with the next page number.

**Inputs**

- Notebook (`notebook_id`, text): Only notes directly in this notebook. Leave empty for every note.
- Order by (`order_by`, text): What to sort the notes by. One of: `updated_time` (Last changed (default)), `created_time` (Created), `title`. Default: `updated_time`.
- Direction (`order_dir`, text): Newest (or Z) first, or oldest (or A) first. One of: `desc` (Newest or Z first (default)), `asc` (Oldest or A first). Default: `desc`.
- Notes per page (`limit`, number): How many notes to get, up to 100. Leave empty for 50. From 1 to 100.
- Page (`page`, number): Which page of notes to get, from 1. Leave empty for the first. At least 1.

**Outputs**

- `count` (number): How many notes are on this page
- `has_more` (true/false): Whether there are more notes after this page
- `next_page` (number): The page to ask for next, if there are more
- `notebook_id` (text): The notebook listed, or empty for every note
- `notes` (list): The notes on this page
- `page` (number): The page number returned

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_page": null,
  "notebook_id": "c05690a28e134ea3ac2ce5deb2f4a79b",
  "notes": [
    {
      "created_time": "2026-11-19T09:00:00.000Z",
      "id": "4a113ec4f7ea458db942c52d7ffccfd2",
      "is_todo": false,
      "link": "joplin://x-callback-url/openNote?id=4a113ec4f7ea458db942c52d7ffccfd2",
      "notebook_id": "c05690a28e134ea3ac2ce5deb2f4a79b",
      "source_url": "",
      "title": "Meeting notes",
      "todo_completed": false,
      "todo_due": null,
      "updated_time": "2026-11-19T09:30:00.000Z"
    }
  ],
  "page": 1
}
```

### List tags

List every tag, by name.

**Inputs**: None.

**Outputs**

- `count` (number): How many tags
- `tags` (list): The tags

**Example output**

```json
{
  "count": 1,
  "tags": [
    {
      "id": "904e80869e70486ea90e84422000218f",
      "title": "work"
    }
  ]
}
```

### Remove tag from note

Take a tag off a note. The tag stays on other notes.

**Inputs**

- Note ID (`note_id`, text, required): The note's id, from 'Search notes', 'List notes' or an earlier step. A joplin:// link to the note works too.
- Tag (`tag`, text, required): The tag's name. Capitals don't matter.

**Outputs**

- `note_id` (text): The note's id
- `removed` (true/false): True when the tag was taken off the note
- `tag` (object): The tag

**Example output**

```json
{
  "note_id": "4a113ec4f7ea458db942c52d7ffccfd2",
  "removed": true,
  "tag": {
    "id": "904e80869e70486ea90e84422000218f",
    "title": "work"
  }
}
```

### Search notes

Find notes with Joplin's search, best match first. Takes the same searches as Joplin's search box, such as invoice tag:work notebook:Projects. A note changed in the last few seconds may not be found yet.

**Inputs**

- Search (`query`, text, required): What to search for. Words match the start of words in a note's title or body; add filters such as tag:work, notebook:Projects, created:20261101 or type:todo.
- Notes per page (`limit`, number): How many notes to get, up to 100. Leave empty for 50. From 1 to 100.
- Page (`page`, number): Which page of notes to get, from 1. Leave empty for the first. At least 1.

**Outputs**

- `count` (number): How many notes are on this page
- `has_more` (true/false): Whether there are more notes after this page
- `next_page` (number): The page to ask for next, if there are more
- `notes` (list): The notes on this page
- `page` (number): The page number returned
- `query` (text): The search that was run

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "next_page": null,
  "notes": [
    {
      "created_time": "2026-11-19T09:00:00.000Z",
      "id": "4a113ec4f7ea458db942c52d7ffccfd2",
      "is_todo": false,
      "link": "joplin://x-callback-url/openNote?id=4a113ec4f7ea458db942c52d7ffccfd2",
      "notebook_id": "c05690a28e134ea3ac2ce5deb2f4a79b",
      "source_url": "",
      "title": "Meeting notes",
      "todo_completed": false,
      "todo_due": null,
      "updated_time": "2026-11-19T09:30:00.000Z"
    }
  ],
  "page": 1,
  "query": "meeting"
}
```

### Update note

Change a note's title, replace its content, or move it to another notebook. Empty fields are left as they are.

**Inputs**

- Note ID (`note_id`, text, required): The note's id, from 'Search notes', 'List notes' or an earlier step. A joplin:// link to the note works too.
- New title (`title`, text): The note's new title. Leave empty to keep it.
- New body (`body`, text): The note's new content, in Markdown. It replaces everything in the note. Leave empty to keep it.
- Move to notebook (`notebook_id`, text): The notebook to move the note to. Leave empty to keep it where it is.

**Outputs**: The note as it is now

- `body` (text): The note's content, in Markdown
- `created_time` (text): When the note was created, as an ISO 8601 UTC time
- `id` (text): The note's id, to pass to 'Get note' or 'Update note'
- `in_trash` (true/false): Whether the note is in Joplin's trash
- `is_todo` (true/false): Whether the note is a to-do
- `link` (text): A joplin:// link that opens the note in Joplin
- `notebook_id` (text): The id of the notebook the note is in
- `source_url` (text): The web page the note was clipped from, if any
- `tags` (list): The names of the note's tags
- `title` (text): The note's title
- `todo_completed` (true/false): Whether the to-do is done
- `todo_due` (text): When the to-do is due, as an ISO 8601 UTC time, if set
- `updated_time` (text): When the note last changed, as an ISO 8601 UTC time

**Example output**

```json
{
  "body": "# Meeting notes\n\n- Ship the release on Friday",
  "created_time": "2026-11-19T09:00:00.000Z",
  "id": "4a113ec4f7ea458db942c52d7ffccfd2",
  "in_trash": false,
  "is_todo": false,
  "link": "joplin://x-callback-url/openNote?id=4a113ec4f7ea458db942c52d7ffccfd2",
  "notebook_id": "c05690a28e134ea3ac2ce5deb2f4a79b",
  "source_url": "",
  "tags": [
    "work"
  ],
  "title": "Meeting notes",
  "todo_completed": false,
  "todo_due": null,
  "updated_time": "2026-11-19T09:30:00.000Z"
}
```
