# Memos

> Save quick notes to Memos from anywhere: write memos with tags from a chat, an email or an AI step, add to them, find them by tag or words, comment, attach files and archive. Start a workflow when a memo is written or edited.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/memos

## Actions

### Add comment

Comment on a memo, such as a follow-up or an AI summary under it.

**Inputs**

- Memo (`memo`, text, required): The memo's ID, from another Memos step or the trigger, or its link in Memos (such as https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF).
- Comment (`content`, text, required): What the comment says, in Markdown.
- Who can see it (`visibility`, text): Who can read the comment. Leave blank to match the memo. One of: `private` (Private (only you)), `protected` (Protected (anyone signed in)), `public` (Public (anyone, even signed out)).

**Outputs**

- `archived` (true/false): Whether it's archived
- `attachments` (list): The files attached to it
- `comment_count` (number): How many comments it has
- `content` (text): What the memo says, in Markdown
- `created_at` (text): When it was written (ISO 8601)
- `creator` (text): The username of who wrote it
- `id` (text): The memo's ID, which other Memos steps take
- `link` (text): Where it opens in Memos
- `parent_id` (text): For a comment, the ID of the memo it's on; otherwise empty
- `pinned` (true/false): Whether it's pinned to the top
- `snippet` (text): A short plain-text preview of it
- `tags` (list): Its #tags, without the #
- `updated_at` (text): When its text was last edited (ISO 8601)
- `visibility` (text): Who can see it: private, protected, public or space

**Example output**

```json
{
  "archived": false,
  "attachments": [],
  "comment_count": 0,
  "content": "Booked for Tuesday.",
  "created_at": "2026-11-06T09:12:00Z",
  "creator": "ada",
  "id": "3vYZpXCZHiNqmZuEK3qCaR",
  "link": "https://memos.example.com/memos/3vYZpXCZHiNqmZuEK3qCaR",
  "parent_id": "agEJUpNfjqmRNCw3JRAekF",
  "pinned": false,
  "snippet": "Booked for Tuesday.",
  "tags": [],
  "updated_at": "2026-11-06T09:12:00Z",
  "visibility": "private"
}
```

### Archive or restore memo

Move a memo to the archive, out of the timeline, or bring an archived memo back.

**Inputs**

- Memo (`memo`, text, required): The memo's ID, from another Memos step or the trigger, or its link in Memos (such as https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF).
- Archive or restore (`change`, text): Archive the memo, or restore it from the archive. Defaults to Archive. One of: `archive`, `restore` (Restore from the archive). Default: `archive`.

**Outputs**

- `archived` (true/false): Whether it's archived
- `attachments` (list): The files attached to it
- `comment_count` (number): How many comments it has
- `content` (text): What the memo says, in Markdown
- `created_at` (text): When it was written (ISO 8601)
- `creator` (text): The username of who wrote it
- `id` (text): The memo's ID, which other Memos steps take
- `link` (text): Where it opens in Memos
- `parent_id` (text): For a comment, the ID of the memo it's on; otherwise empty
- `pinned` (true/false): Whether it's pinned to the top
- `snippet` (text): A short plain-text preview of it
- `tags` (list): Its #tags, without the #
- `updated_at` (text): When its text was last edited (ISO 8601)
- `visibility` (text): Who can see it: private, protected, public or space

**Example output**

```json
{
  "archived": true,
  "attachments": [],
  "comment_count": 0,
  "content": "Call the plumber about the kitchen sink\n\n#home #todo",
  "created_at": "2026-11-06T09:12:00Z",
  "creator": "ada",
  "id": "agEJUpNfjqmRNCw3JRAekF",
  "link": "https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF",
  "parent_id": "",
  "pinned": false,
  "snippet": "Call the plumber about the kitchen sink #home #todo",
  "tags": [
    "home",
    "todo"
  ],
  "updated_at": "2026-11-06T09:12:00Z",
  "visibility": "private"
}
```

### Attach file

Attach a file, such as a photo, a receipt or a PDF, to a memo.

**Inputs**

- Memo (`memo`, text, required): The memo's ID, from another Memos step or the trigger, or its link in Memos (such as https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF).
- File (`file`, text, required): The file: upload one, pick one from an earlier step, or give a public https link to download.
- File name (`filename`, text): What the file is called in Memos. Defaults to its own name.

**Outputs**

- `created_at` (text): When it was added (ISO 8601)
- `filename` (text): The file's name
- `id` (text): The file's ID in Memos
- `link` (text): Where it opens, for someone signed in to Memos
- `memo_id` (text): The ID of the memo it's attached to
- `memo_link` (text): Where the memo opens in Memos
- `size` (number): Its size in bytes
- `type` (text): What kind of file it is, such as image/png

**Example output**

```json
{
  "created_at": "2026-11-06T09:12:40Z",
  "filename": "receipt.pdf",
  "id": "8xjNNr6UbHPUwYpjTpkiVH",
  "link": "https://memos.example.com/file/attachments/8xjNNr6UbHPUwYpjTpkiVH/receipt.pdf",
  "memo_id": "agEJUpNfjqmRNCw3JRAekF",
  "memo_link": "https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF",
  "size": 48213,
  "type": "application/pdf"
}
```

### Create memo

Write a memo, such as a quick note, a link to read later or an AI summary, in Markdown, with tags, and choose who can see it.

**Inputs**

- Content (`content`, text, required): What the memo says, in Markdown. #words in it become tags.
- Tags (`tags`, list): Tags to add at the end, such as ideas or work/planning, without the #.
- Who can see it (`visibility`, text): Who can read the memo. Defaults to Private. One of: `private` (Private (only you)), `protected` (Protected (anyone signed in)), `public` (Public (anyone, even signed out)). Default: `private`.
- Pinned (`pinned`, true/false): Pin the memo to the top of your timeline. Default: `false`.

**Outputs**

- `archived` (true/false): Whether it's archived
- `attachments` (list): The files attached to it
- `comment_count` (number): How many comments it has
- `content` (text): What the memo says, in Markdown
- `created_at` (text): When it was written (ISO 8601)
- `creator` (text): The username of who wrote it
- `id` (text): The memo's ID, which other Memos steps take
- `link` (text): Where it opens in Memos
- `parent_id` (text): For a comment, the ID of the memo it's on; otherwise empty
- `pinned` (true/false): Whether it's pinned to the top
- `snippet` (text): A short plain-text preview of it
- `tags` (list): Its #tags, without the #
- `updated_at` (text): When its text was last edited (ISO 8601)
- `visibility` (text): Who can see it: private, protected, public or space

**Example output**

```json
{
  "archived": false,
  "attachments": [],
  "comment_count": 0,
  "content": "Call the plumber about the kitchen sink\n\n#home #todo",
  "created_at": "2026-11-06T09:12:00Z",
  "creator": "ada",
  "id": "agEJUpNfjqmRNCw3JRAekF",
  "link": "https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF",
  "parent_id": "",
  "pinned": false,
  "snippet": "Call the plumber about the kitchen sink #home #todo",
  "tags": [
    "home",
    "todo"
  ],
  "updated_at": "2026-11-06T09:12:00Z",
  "visibility": "private"
}
```

### Delete memo

Delete a memo, with its comments and files, from Memos. It can't be restored from Lodol.

**Inputs**

- Memo (`memo`, text, required): The memo's ID, from another Memos step or the trigger, or its link in Memos (such as https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF).

**Outputs**

- `comments_deleted` (number): How many comments were deleted with it
- `deleted` (true/false): Whether the memo was deleted
- `id` (text): The memo's ID
- `snippet` (text): A preview of what it said
- `tags` (list): Its tags

**Example output**

```json
{
  "comments_deleted": 1,
  "deleted": true,
  "id": "agEJUpNfjqmRNCw3JRAekF",
  "snippet": "Call the plumber about the kitchen sink #home #todo",
  "tags": [
    "home",
    "todo"
  ]
}
```

### Find memos

Find your memos with a tag, some words or since a date, newest first.

**Inputs**

- Tag (`tag`, text): Only memos with this tag, written exactly as in the memo; it also finds its sub-tags, such as work/planning for work.
- Words (`words`, text): Only memos whose text contains this, such as invoice.
- Who can see them (`visibility`, text): Only memos with this choice of who can see them. Leave blank for any. One of: `private` (Private (only you)), `protected` (Protected (anyone signed in)), `public` (Public (anyone, even signed out)).
- Archived (`state`, text): Look at memos that aren't archived, or at your archive. One of: `active` (Not archived), `archived`. Default: `active`.
- Written since (`since`, date and time): Only memos written at or after this time.
- Whose memos (`whose`, text): Your own memos, or everyone's you can see on this Memos, such as other people's public ones. One of: `mine` (Yours), `all` (Everyone's you can see). Default: `mine`.
- Order (`sort`, text): Which come first. Defaults to newest first. One of: `newest` (Newest first), `updated` (Recently edited first), `oldest` (Oldest first). Default: `newest`.
- How many (`limit`, number): The most to list. Defaults to 25. From 1 to 100.

**Outputs**

- `count` (number): How many are listed
- `has_more` (true/false): Whether more memos match than were listed
- `memos` (list): The memos found

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "memos": [
    {
      "archived": false,
      "attachments": [],
      "comment_count": 0,
      "content": "Call the plumber about the kitchen sink\n\n#home #todo",
      "created_at": "2026-11-06T09:12:00Z",
      "creator": "ada",
      "id": "agEJUpNfjqmRNCw3JRAekF",
      "link": "https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF",
      "parent_id": "",
      "pinned": false,
      "snippet": "Call the plumber about the kitchen sink #home #todo",
      "tags": [
        "home",
        "todo"
      ],
      "updated_at": "2026-11-06T09:12:00Z",
      "visibility": "private"
    }
  ]
}
```

### Get memo

Get a memo's text, tags and attached files, such as for an AI step or an email.

**Inputs**

- Memo (`memo`, text, required): The memo's ID, from another Memos step or the trigger, or its link in Memos (such as https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF).

**Outputs**

- `archived` (true/false): Whether it's archived
- `attachments` (list): The files attached to it
- `comment_count` (number): How many comments it has
- `content` (text): What the memo says, in Markdown
- `created_at` (text): When it was written (ISO 8601)
- `creator` (text): The username of who wrote it
- `id` (text): The memo's ID, which other Memos steps take
- `link` (text): Where it opens in Memos
- `parent_id` (text): For a comment, the ID of the memo it's on; otherwise empty
- `pinned` (true/false): Whether it's pinned to the top
- `snippet` (text): A short plain-text preview of it
- `tags` (list): Its #tags, without the #
- `updated_at` (text): When its text was last edited (ISO 8601)
- `visibility` (text): Who can see it: private, protected, public or space

**Example output**

```json
{
  "archived": false,
  "attachments": [],
  "comment_count": 0,
  "content": "Call the plumber about the kitchen sink\n\n#home #todo",
  "created_at": "2026-11-06T09:12:00Z",
  "creator": "ada",
  "id": "agEJUpNfjqmRNCw3JRAekF",
  "link": "https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF",
  "parent_id": "",
  "pinned": false,
  "snippet": "Call the plumber about the kitchen sink #home #todo",
  "tags": [
    "home",
    "todo"
  ],
  "updated_at": "2026-11-06T09:12:00Z",
  "visibility": "private"
}
```

### List tags

List the tags on your memos, A to Z, with how many memos carry each.

**Inputs**: None.

**Outputs**

- `count` (number): How many tags there are
- `tags` (list): The tags, A to Z

**Example output**

```json
{
  "count": 2,
  "tags": [
    {
      "memo_count": 4,
      "tag": "home"
    },
    {
      "memo_count": 2,
      "tag": "work/planning"
    }
  ]
}
```

### Update memo

Change a memo's text, by replacing it or adding to the end, add tags, pin or unpin it, or change who can see it. Fields left blank keep what the memo has.

**Inputs**

- Memo (`memo`, text, required): The memo's ID, from another Memos step or the trigger, or its link in Memos (such as https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF).
- Content (`content`, text): The new text, in Markdown. Leave blank to keep the text.
- Replace or add (`mode`, text): Whether the text replaces what the memo says (and so its tags), or is added to the end of it, such as for a running log. One of: `replace` (Replace the text), `append` (Add to the end). Default: `replace`.
- Add tags (`add_tags`, list): Tags to add at the end, keeping the ones it has, such as done.
- Who can see it (`visibility`, text): A new choice of who can read it. Leave blank to keep it. One of: `private` (Private (only you)), `protected` (Protected (anyone signed in)), `public` (Public (anyone, even signed out)).
- Pin or unpin (`pinned`, text): Pin it to the top of the timeline, or unpin it. Leave blank to keep it as it is. One of: `pin`, `unpin`.

**Outputs**

- `archived` (true/false): Whether it's archived
- `attachments` (list): The files attached to it
- `comment_count` (number): How many comments it has
- `content` (text): What the memo says, in Markdown
- `created_at` (text): When it was written (ISO 8601)
- `creator` (text): The username of who wrote it
- `id` (text): The memo's ID, which other Memos steps take
- `link` (text): Where it opens in Memos
- `parent_id` (text): For a comment, the ID of the memo it's on; otherwise empty
- `pinned` (true/false): Whether it's pinned to the top
- `snippet` (text): A short plain-text preview of it
- `tags` (list): Its #tags, without the #
- `updated_at` (text): When its text was last edited (ISO 8601)
- `visibility` (text): Who can see it: private, protected, public or space

**Example output**

```json
{
  "archived": false,
  "attachments": [],
  "comment_count": 0,
  "content": "Call the plumber about the kitchen sink\n\n#home #todo",
  "created_at": "2026-11-06T09:12:00Z",
  "creator": "ada",
  "id": "agEJUpNfjqmRNCw3JRAekF",
  "link": "https://memos.example.com/memos/agEJUpNfjqmRNCw3JRAekF",
  "parent_id": "",
  "pinned": false,
  "snippet": "Call the plumber about the kitchen sink #home #todo",
  "tags": [
    "home",
    "todo"
  ],
  "updated_at": "2026-11-06T09:12:00Z",
  "visibility": "private"
}
```
