# Workflowy

> Read and organize your Workflowy outline.

App · 12 actions. Web page: https://docs.lodol.com/docs/integrations/workflowy

## Actions

### Complete a node

Mark a bullet as complete.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Create a mirror

Show the same bullet in another part of your outline.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.
- Parent ID (`parent_id`, text, required): The full ID of the destination node.
- Position (`position`, text): Place the bullet at the top or bottom. One of: `top`, `bottom`.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "item_id": "example",
    "origin_id": "example"
  }
}
```

### Create a node

Add a bullet to your outline.

**Inputs**

- Name (`name`, text, required): The text of the new bullet.
- Parent (`parent_id`, text): Choose a shortcut or use the ID of a node.
- Note (`note`, text): The note attached to the bullet.
- Layout mode (`layout_mode`, text): How the bullet appears. One of: `bullets`, `todo`, `h1`, `h2`, `h3`, `code-block`, `quote-block`.
- Position (`position`, text): Place the bullet at the top or bottom. One of: `top`, `bottom`.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "item_id": "example"
  }
}
```

### Delete a mirror

Remove a mirrored bullet from its location.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Delete a node

Permanently remove a bullet and its children.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Export all nodes

Read the full outline as one flat list.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "nodes": [
      {
        "completed": true,
        "completedAt": 1,
        "createdAt": 1,
        "data": {
          "layoutMode": "example"
        },
        "id": "example",
        "modifiedAt": 1,
        "name": "example",
        "note": "example",
        "parent_id": "example",
        "priority": 1
      }
    ]
  }
}
```

### Get a node

Read a bullet and its completion status.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "node": {
      "completed": true,
      "completedAt": 1,
      "createdAt": 1,
      "data": {
        "layoutMode": "example"
      },
      "id": "example",
      "modifiedAt": 1,
      "name": "example",
      "note": "example",
      "parent_id": "example",
      "priority": 1
    }
  }
}
```

### List child nodes

Read the bullets under a parent node.

**Inputs**

- Parent (`parent_id`, text): Choose a shortcut or use the ID of a node.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "nodes": [
      {
        "completed": true,
        "completedAt": 1,
        "createdAt": 1,
        "data": {
          "layoutMode": "example"
        },
        "id": "example",
        "modifiedAt": 1,
        "name": "example",
        "note": "example",
        "parent_id": "example",
        "priority": 1
      }
    ]
  }
}
```

### List shortcuts

Read the available outline shortcuts.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "targets": [
      {
        "key": "example",
        "name": "example",
        "type": "system"
      }
    ]
  }
}
```

### Move a node

Move a bullet under another parent.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.
- Parent (`parent_id`, text): Choose a shortcut or use the ID of a node.
- Position (`position`, text): Place the bullet at the top or bottom. One of: `top`, `bottom`.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Reopen a node

Mark a completed bullet as incomplete.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```

### Update a node

Change the text, note, or layout of a bullet.

**Inputs**

- Node ID (`node_id`, text, required): The ID, short ID, or calendar shortcut of the node.
- Name (`name`, text): The text of the bullet.
- Note (`note`, text): The note attached to the bullet.
- Layout mode (`layout_mode`, text): How the bullet appears. One of: `bullets`, `todo`, `h1`, `h2`, `h3`, `code-block`, `quote-block`.

**Outputs**

- `data` (object): The response from Workflowy.

**Example output**

```json
{
  "data": {
    "status": "example"
  }
}
```
