# DoneWell

> Run your DoneWell field service business: add clients, record requests, send quotes and invoices, schedule jobs and track tasks.

App · 27 actions. Web page: https://docs.lodol.com/docs/integrations/donewell

## Actions

### Add task comment

Comment on a task; the assignee and creator are told.

**Inputs**

- Task ID (`id`, text, required): The task, from List tasks.
- Comment (`body_text`, text, required): The text, up to 5,000 characters.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "authorName": "Lodol",
      "body": "Picked this up.",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "id": "clxcom1"
    }
  }
}
```

### Create client

Add a client, with their phones, emails and service addresses.

**Inputs**

- First name (`firstName`, text, required): Their first name.
- Last name (`lastName`, text): Their last name.
- Company (`companyName`, text): Their company's name.
- Status (`status`, text): Lead, active or inactive. One of: `LEAD`, `ACTIVE`, `INACTIVE`.
- Source (`source`, text): Where they came from. One of: `WEBSITE`, `YELP`, `GOOGLE`, `REFERRAL`, `PHONE`, `OTHER`.
- Notes (`notes`, text): Notes about them.
- Phone numbers (`phones`, list): Each with phone, and optionally label and isPrimary. On an update this replaces the list.
- Email addresses (`emails`, list): Each with email, and optionally label and isPrimary. On an update this replaces the list.
- Email opt-in (`emailOptIn`, true/false): Whether they agree to marketing email.
- Text opt-in (`smsOptIn`, true/false): Whether they agree to marketing texts.
- Service addresses (`properties`, list): Each with addressLine1, and optionally addressLine2, city, state, zipCode and country. Up to 20.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "balance": 0,
      "companyName": "Acme Cleaning",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "emails": [
        {
          "email": "ada@example.com",
          "id": "clxem1",
          "isPrimary": true,
          "label": "Work"
        }
      ],
      "firstName": "Ada",
      "id": "clxcust1",
      "lastName": "Lovelace",
      "notes": "Gate code 1234",
      "phones": [
        {
          "id": "clxph1",
          "isPrimary": true,
          "label": "Mobile",
          "phone": "416-555-0100"
        }
      ],
      "properties": [
        {
          "addressLine1": "1 Main St",
          "city": "Toronto",
          "country": "Canada",
          "id": "clxprop1",
          "state": "ON",
          "zipCode": "M5V 1A1"
        }
      ],
      "source": "WEBSITE",
      "status": "LEAD",
      "tags": [
        "VIP"
      ]
    }
  }
}
```

### Create invoice

Draft an invoice for a client with its line items; totals are worked out for you.

**Inputs**

- Client (`customerId`, text, required): The client it is for. Pick one, or use a client ID from List clients.
- Property ID (`propertyId`, text): The service address. Leave empty when the client has only one.
- Job ID (`jobId`, text): The job it bills.
- Quote ID (`quoteId`, text): The quote it comes from.
- Title (`title`, text): Its title.
- Notes (`notes`, text): Notes.
- Issue date (`issueDate`, date and time): Its issue date. Leave empty for today.
- Payment terms (`paymentTerms`, text): Sets the due date from the issue date. Leave empty for your usual terms. One of: `DUE_ON_RECEIPT` (Due on receipt), `NET_15` (Net 15), `NET_30` (Net 30), `NET_45` (Net 45), `NET_60` (Net 60), `CUSTOM`.
- Due date (`dueDate`, date and time): A due date of your own, instead of the terms.
- Message to client (`clientMessage`, text): A message shown to the client on the invoice.
- Line items (`lineItems`, list): The lines: each needs a name, qty (more than 0) and unitPrice; description and isTaxable are optional.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "amountPaid": 0,
      "balanceDue": 271.2,
      "createdAt": "2026-08-01T14:30:00.000Z",
      "customerId": "clxcust1",
      "customerName": "Ada Lovelace",
      "dueDate": "2026-08-31T00:00:00.000Z",
      "id": "clxinv1",
      "issueDate": "2026-08-01T00:00:00.000Z",
      "jobId": "clxjob1",
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "number": 1001,
      "paidAt": "2026-08-20T00:00:00.000Z",
      "paymentTerms": "NET_30",
      "propertyId": "clxprop1",
      "quoteId": "clxquote1",
      "sentAt": "2026-08-01T15:00:00.000Z",
      "status": "SENT",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2
    }
  }
}
```

### Create job

Create a job for a client, scheduled or to be scheduled later.

**Inputs**

- Client (`customerId`, text, required): The client it is for. Pick one, or use a client ID from List clients.
- Title (`title`, text, required): What the job is.
- Property ID (`propertyId`, text): The service address. Leave empty when the client has only one.
- Quote ID (`quoteId`, text): The quote it comes from.
- Instructions (`instructions`, text): The crew's brief.
- Notes (`notes`, text): Notes.
- Start (`startAt`, date and time): When the first visit starts, on the company's clock. Leave empty to schedule later.
- End (`endAt`, date and time): When it ends, the same day. Needed with a start time.
- Any time that day (`anytime`, true/false): Whether the visit has a day but no set time.
- Assigned to (`assignedToId`, text): The lead technician.
- Line items (`lineItems`, list): The lines: each needs a name, qty (more than 0) and unitPrice; description and isTaxable are optional.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "assignedToId": "clxuser1",
      "assignedToName": "Ada Field",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "customerId": "clxcust1",
      "customerName": "Ada Lovelace",
      "endAt": "2026-08-01T11:00:00.000Z",
      "id": "clxjob1",
      "jobNumber": 88,
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "propertyId": "clxprop1",
      "quoteId": "clxquote1",
      "startAt": "2026-08-01T09:00:00.000Z",
      "status": "SCHEDULED",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2
    }
  }
}
```

### Create quote

Draft a quote for a client with its line items; totals are worked out for you.

**Inputs**

- Client (`customerId`, text, required): The client it is for. Pick one, or use a client ID from List clients.
- Property ID (`propertyId`, text): The service address. Leave empty when the client has only one.
- Title (`title`, text): Its title.
- Notes (`notes`, text): Notes.
- Line items (`lineItems`, list): The lines: each needs a name, qty (more than 0) and unitPrice; description and isTaxable are optional.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "createdAt": "2026-07-25T14:30:00.000Z",
      "customerId": "clxcust1",
      "id": "clxquote1",
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "propertyId": "clxprop1",
      "quoteNumber": 512,
      "status": "DRAFT",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2,
      "validUntil": "2026-08-24T14:30:00.000Z"
    }
  }
}
```

### Create request

Record a work request, for a client or just a contact.

**Inputs**

- Title (`title`, text, required): What the request is for.
- Description (`description`, text): What is needed.
- Client (`customerId`, text): The client it is for. Leave empty to use only the contact fields.
- Contact name (`contactName`, text): The contact's name.
- Contact phone (`contactPhone`, text): The contact's phone.
- Contact email (`contactEmail`, text): The contact's email.
- Source (`source`, text): Where it came from. One of: `WEBSITE`, `YELP`, `GOOGLE`, `REFERRAL`, `PHONE`, `OTHER`.
- Status (`status`, text): Its status. Leave empty for New. One of: `NEW`, `IN_PROGRESS` (In progress), `QUOTED`, `CONVERTED`, `CLOSED`.
- Preferred date (`preferredDate`, date and time): When the client would like the work done.
- Alternate date (`alternateDate`, date and time): Another time that suits them.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "contactEmail": "ada@example.com",
      "contactName": "Ada Lovelace",
      "contactPhone": "416-555-0100",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "customerId": "clxcust1",
      "description": "Three rooms",
      "id": "clxreq1",
      "jobId": "clxjob1",
      "preferredDate": "2026-08-01T14:00:00.000Z",
      "propertyId": "clxprop1",
      "quoteId": "clxquote1",
      "requestNumber": 1042,
      "source": "WEBSITE",
      "status": "NEW",
      "title": "Carpet cleaning",
      "total": 0
    }
  }
}
```

### Create task

Create a task, on a board or just on the calendar.

**Inputs**

- Title (`title`, text, required): What needs doing.
- Description (`description`, text): More about it.
- Due date (`dueDate`, date): The day it is due.
- Due time (`dueTime`, time): The time it is due, with a due date.
- Priority (`priority`, text): How urgent it is. One of: `LOW`, `NORMAL`, `HIGH`, `URGENT`.
- Assigned to (`assignedToId`, text): The team member doing it.
- Job ID (`relatedJobId`, text): A job it is about.
- Client (`relatedCustomerId`, text): A client it is about. Pick one, or use a client ID from List clients.
- Board ID (`boardId`, text): The board to put it on. Leave empty for a calendar-only task.
- Column (`column`, text): The column's name on that board. Leave empty for the first column.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "archived": false,
      "assignedToId": "clxuser1",
      "board": {
        "id": "clxboard1",
        "name": "Ops"
      },
      "column": {
        "category": "UNSTARTED",
        "id": "clxcol1",
        "isDone": false,
        "name": "Ready"
      },
      "createdAt": "2026-07-25T14:30:00.000Z",
      "description": "Brakes squeal",
      "dueDate": "2026-08-01",
      "dueTime": "09:00",
      "id": "clxtask1",
      "labels": [
        {
          "color": "#2563eb",
          "id": "clxlab1",
          "name": "Fleet"
        }
      ],
      "number": 142,
      "priority": "HIGH",
      "relatedCustomerId": "clxcust1",
      "relatedJobId": "clxjob1",
      "status": "PENDING",
      "title": "Fix the van",
      "updatedAt": "2026-07-25T14:30:00.000Z"
    }
  }
}
```

### Delete client

Delete a client that no other record still uses.

**Inputs**

- Client (`id`, text, required): The client. Pick one, or use a client ID from List clients.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "deleted": true
    }
  }
}
```

### Delete invoice

Delete an invoice that has no payments.

**Inputs**

- Invoice ID (`id`, text, required): The invoice, from List invoices.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "deleted": true
    }
  }
}
```

### Delete job

Delete a job for good.

**Inputs**

- Job ID (`id`, text, required): The job, from List jobs.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "deleted": true
    }
  }
}
```

### Delete quote

Delete a quote for good.

**Inputs**

- Quote ID (`id`, text, required): The quote, from List quotes.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "deleted": true
    }
  }
}
```

### Delete request

Delete a request for good.

**Inputs**

- Request ID (`id`, text, required): The request, from List requests.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "deleted": true
    }
  }
}
```

### Get client

Get one client with their phones, emails, addresses, tags and balance.

**Inputs**

- Client (`id`, text, required): The client. Pick one, or use a client ID from List clients.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "balance": 0,
      "companyName": "Acme Cleaning",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "emails": [
        {
          "email": "ada@example.com",
          "id": "clxem1",
          "isPrimary": true,
          "label": "Work"
        }
      ],
      "firstName": "Ada",
      "id": "clxcust1",
      "lastName": "Lovelace",
      "notes": "Gate code 1234",
      "phones": [
        {
          "id": "clxph1",
          "isPrimary": true,
          "label": "Mobile",
          "phone": "416-555-0100"
        }
      ],
      "properties": [
        {
          "addressLine1": "1 Main St",
          "city": "Toronto",
          "country": "Canada",
          "id": "clxprop1",
          "state": "ON",
          "zipCode": "M5V 1A1"
        }
      ],
      "source": "WEBSITE",
      "status": "LEAD",
      "tags": [
        "VIP"
      ]
    }
  }
}
```

### Get invoice

Get one invoice with its lines, totals and what is still owed.

**Inputs**

- Invoice ID (`id`, text, required): The invoice, from List invoices.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "amountPaid": 0,
      "balanceDue": 271.2,
      "createdAt": "2026-08-01T14:30:00.000Z",
      "customerId": "clxcust1",
      "customerName": "Ada Lovelace",
      "dueDate": "2026-08-31T00:00:00.000Z",
      "id": "clxinv1",
      "issueDate": "2026-08-01T00:00:00.000Z",
      "jobId": "clxjob1",
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "number": 1001,
      "paidAt": "2026-08-20T00:00:00.000Z",
      "paymentTerms": "NET_30",
      "propertyId": "clxprop1",
      "quoteId": "clxquote1",
      "sentAt": "2026-08-01T15:00:00.000Z",
      "status": "SENT",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2
    }
  }
}
```

### List clients

List one page of your clients, newest first.

**Inputs**

- Status (`status`, text): Only clients with this status. One of: `LEAD`, `ACTIVE`, `INACTIVE`.
- Search (`search`, text): Part of a first name, last name or company name.
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "balance": 0,
        "companyName": "Acme Cleaning",
        "createdAt": "2026-07-25T14:30:00.000Z",
        "emails": [
          {
            "email": "ada@example.com",
            "id": "clxem1",
            "isPrimary": true,
            "label": "Work"
          }
        ],
        "firstName": "Ada",
        "id": "clxcust1",
        "lastName": "Lovelace",
        "notes": "Gate code 1234",
        "phones": [
          {
            "id": "clxph1",
            "isPrimary": true,
            "label": "Mobile",
            "phone": "416-555-0100"
          }
        ],
        "properties": [
          {
            "addressLine1": "1 Main St",
            "city": "Toronto",
            "country": "Canada",
            "id": "clxprop1",
            "state": "ON",
            "zipCode": "M5V 1A1"
          }
        ],
        "source": "WEBSITE",
        "status": "LEAD",
        "tags": [
          "VIP"
        ]
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List invoices

List one page of invoices, newest first.

**Inputs**

- Status (`status`, text): Only invoices with this status. One of: `DRAFT`, `SENT`, `AWAITING_PAYMENT` (Awaiting payment), `PARTIAL` (Partly paid), `PAID`, `OVERDUE`, `BAD_DEBT` (Bad debt), `VOID`.
- Client (`customerId`, text): Only this client's records. Pick one, or use a client ID from List clients.
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "amountPaid": 0,
        "balanceDue": 271.2,
        "createdAt": "2026-08-01T14:30:00.000Z",
        "customerId": "clxcust1",
        "customerName": "Ada Lovelace",
        "dueDate": "2026-08-31T00:00:00.000Z",
        "id": "clxinv1",
        "issueDate": "2026-08-01T00:00:00.000Z",
        "jobId": "clxjob1",
        "lineItems": [
          {
            "description": "Steam clean",
            "id": "clxline1",
            "isTaxable": true,
            "name": "Carpet cleaning, 3 rooms",
            "qty": 1,
            "total": 240,
            "unitPrice": 240
          }
        ],
        "notes": "",
        "number": 1001,
        "paidAt": "2026-08-20T00:00:00.000Z",
        "paymentTerms": "NET_30",
        "propertyId": "clxprop1",
        "quoteId": "clxquote1",
        "sentAt": "2026-08-01T15:00:00.000Z",
        "status": "SENT",
        "subtotal": 240,
        "taxAmount": 31.2,
        "title": "Carpet cleaning",
        "total": 271.2
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List jobs

List one page of jobs, newest first or by start.

**Inputs**

- Status (`status`, text): Only jobs with this status. One of: `SCHEDULED`, `IN_PROGRESS` (In progress), `DONE`, `CANCELED`, `REQUIRES_INVOICING` (Requires invoicing).
- Client (`customerId`, text): Only this client's records. Pick one, or use a client ID from List clients.
- Order (`order`, text): Newest first (the default) or earliest start first. One of: `created` (Newest first), `start` (Earliest start first).
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "assignedToId": "clxuser1",
        "assignedToName": "Ada Field",
        "createdAt": "2026-07-25T14:30:00.000Z",
        "customerId": "clxcust1",
        "customerName": "Ada Lovelace",
        "endAt": "2026-08-01T11:00:00.000Z",
        "id": "clxjob1",
        "jobNumber": 88,
        "lineItems": [
          {
            "description": "Steam clean",
            "id": "clxline1",
            "isTaxable": true,
            "name": "Carpet cleaning, 3 rooms",
            "qty": 1,
            "total": 240,
            "unitPrice": 240
          }
        ],
        "notes": "",
        "propertyId": "clxprop1",
        "quoteId": "clxquote1",
        "startAt": "2026-08-01T09:00:00.000Z",
        "status": "SCHEDULED",
        "subtotal": 240,
        "taxAmount": 31.2,
        "title": "Carpet cleaning",
        "total": 271.2
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List payments

List one page of payments, most recently paid first.

**Inputs**

- Invoice ID (`invoiceId`, text): Only payments on this invoice.
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "amount": 271.2,
        "createdAt": "2026-08-20T00:00:00.000Z",
        "currency": "CAD",
        "customerName": "Ada Lovelace",
        "id": "clxpay1",
        "invoiceId": "clxinv1",
        "invoiceNumber": 1001,
        "method": "CARD",
        "notes": "",
        "paidAt": "2026-08-20T00:00:00.000Z",
        "refundedAmount": 0,
        "status": "SUCCEEDED",
        "tipAmount": 0
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List quotes

List one page of quotes, newest first.

**Inputs**

- Status (`status`, text): Only quotes with this status. One of: `DRAFT`, `AWAITING_RESPONSE` (Awaiting response), `APPROVED`, `DECLINED`, `CONVERTED`, `ARCHIVED`.
- Client (`customerId`, text): Only this client's records. Pick one, or use a client ID from List clients.
- Search (`search`, text): Words from the title or client name, or a quote number.
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "createdAt": "2026-07-25T14:30:00.000Z",
        "customerId": "clxcust1",
        "id": "clxquote1",
        "lineItems": [
          {
            "description": "Steam clean",
            "id": "clxline1",
            "isTaxable": true,
            "name": "Carpet cleaning, 3 rooms",
            "qty": 1,
            "total": 240,
            "unitPrice": 240
          }
        ],
        "notes": "",
        "propertyId": "clxprop1",
        "quoteNumber": 512,
        "status": "DRAFT",
        "subtotal": 240,
        "taxAmount": 31.2,
        "title": "Carpet cleaning",
        "total": 271.2,
        "validUntil": "2026-08-24T14:30:00.000Z"
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List requests

List one page of work requests, newest first.

**Inputs**

- Status (`status`, text): Only requests with this status. One of: `NEW`, `IN_PROGRESS` (In progress), `QUOTED`, `CONVERTED`, `CLOSED`.
- Client (`customerId`, text): Only this client's records. Pick one, or use a client ID from List clients.
- Search (`search`, text): Words from the title, contact or client name, or a request number.
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "contactEmail": "ada@example.com",
        "contactName": "Ada Lovelace",
        "contactPhone": "416-555-0100",
        "createdAt": "2026-07-25T14:30:00.000Z",
        "customerId": "clxcust1",
        "description": "Three rooms",
        "id": "clxreq1",
        "jobId": "clxjob1",
        "preferredDate": "2026-08-01T14:00:00.000Z",
        "propertyId": "clxprop1",
        "quoteId": "clxquote1",
        "requestNumber": 1042,
        "source": "WEBSITE",
        "status": "NEW",
        "title": "Carpet cleaning",
        "total": 0
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List tasks

List one page of tasks and board cards, filtered as you choose.

**Inputs**

- Status (`status`, text): Only pending or completed tasks. One of: `PENDING`, `COMPLETED`.
- Assigned to (`assignedToId`, text): Only tasks assigned to this person.
- Board ID (`boardId`, text): Only cards on this board.
- Column (`column`, text): Only cards in the column with this name.
- Label (`label`, text): Only cards with the label of this name.
- Due on or after (`dueFrom`, date): Only tasks due on or after this day.
- Due on or before (`dueTo`, date): Only tasks due on or before this day.
- Archived (`archived`, true/false): Yes to list only archived cards instead of live ones.
- Order (`order`, text): Newest first (the default) or by due date. One of: `due` (By due date).
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "archived": false,
        "assignedToId": "clxuser1",
        "board": {
          "id": "clxboard1",
          "name": "Ops"
        },
        "column": {
          "category": "UNSTARTED",
          "id": "clxcol1",
          "isDone": false,
          "name": "Ready"
        },
        "createdAt": "2026-07-25T14:30:00.000Z",
        "description": "Brakes squeal",
        "dueDate": "2026-08-01",
        "dueTime": "09:00",
        "id": "clxtask1",
        "labels": [
          {
            "color": "#2563eb",
            "id": "clxlab1",
            "name": "Fleet"
          }
        ],
        "number": 142,
        "priority": "HIGH",
        "relatedCustomerId": "clxcust1",
        "relatedJobId": "clxjob1",
        "status": "PENDING",
        "title": "Fix the van",
        "updatedAt": "2026-07-25T14:30:00.000Z"
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### List team members

List the active people in your company, with their user IDs.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "email": "ada@acme.test",
        "firstName": "Ada",
        "lastName": "Field",
        "roleName": "Technician",
        "userId": "clxuser1"
      }
    ]
  }
}
```

### List visits

List the visits on a day or range of days, or a client's visits.

**Inputs**

- Day (`date`, date): One day. Give this, or a From and To, or a client.
- From (`from`, date): The first day of a range, with To.
- To (`to`, date): The last day of a range, at most 62 days after From.
- Crew member (`assignee`, text): Only visits this person is on.
- Client (`customerId`, text): Only this client's visits. Pick one, or use a client ID from List clients.
- Page size (`limit`, number): How many to return, from 1 to 100. From 1 to 100.
- Next page (`cursor`, text): The nextCursor from the page before, to read the page after it.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "anytime": false,
        "createdAt": "2026-07-25T14:30:00.000Z",
        "crew": [
          {
            "firstName": "Ada",
            "lastName": "Field",
            "role": "LEAD",
            "userId": "clxuser1"
          }
        ],
        "customer": {
          "email": "ada@example.com",
          "id": "clxcust1",
          "name": "Ada Lovelace",
          "phone": "416-555-0100"
        },
        "date": "2026-08-01",
        "endDate": "2026-08-01",
        "endTime": "11:00",
        "id": "clxvisit1",
        "instructions": "Use side door",
        "job": {
          "id": "clxjob1",
          "jobNumber": 88,
          "status": "SCHEDULED",
          "title": "Carpet cleaning"
        },
        "noteCount": 0,
        "property": {
          "addressLine1": "1 Main St",
          "city": "Toronto",
          "id": "clxprop1",
          "state": "ON",
          "zipCode": "M5V 1A1"
        },
        "startTime": "09:00",
        "status": "SCHEDULED",
        "title": "Ada Lovelace - Carpet cleaning"
      }
    ],
    "pagination": {
      "hasMore": true,
      "nextCursor": "clx9next"
    }
  }
}
```

### Send invoice

Send an invoice to its client with the online payment link, as the Send button does.

**Inputs**

- Invoice ID (`id`, text, required): The invoice, from List invoices.
- Send by (`channel`, text): Email (the default) or text message, which needs DoneWell's SMS module. One of: `email`, `sms` (Text message).
- Recipients (`recipients`, list): Up to 10 addresses (or numbers, for a text). Leave empty for the client's main one.
- Subject (`subject`, text): The email's subject. Leave empty for your template's.
- Message (`body_text`, text): The message. Leave empty for your template's.
- Attach PDF (`attachPdf`, true/false): Whether to attach the invoice as a PDF to the email. Default yes.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "amountPaid": 0,
      "balanceDue": 271.2,
      "createdAt": "2026-08-01T14:30:00.000Z",
      "customerId": "clxcust1",
      "customerName": "Ada Lovelace",
      "dueDate": "2026-08-31T00:00:00.000Z",
      "id": "clxinv1",
      "issueDate": "2026-08-01T00:00:00.000Z",
      "jobId": "clxjob1",
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "number": 1001,
      "paidAt": "2026-08-20T00:00:00.000Z",
      "paymentTerms": "NET_30",
      "propertyId": "clxprop1",
      "quoteId": "clxquote1",
      "sentAt": "2026-08-01T15:00:00.000Z",
      "status": "SENT",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2
    }
  }
}
```

### Send quote

Send a quote to its client by email or text, as the Send button does.

**Inputs**

- Quote ID (`id`, text, required): The quote, from List quotes.
- Send by (`channel`, text): Email (the default) or text message, which needs DoneWell's SMS module. One of: `email`, `sms` (Text message).
- Attach PDF (`attachPdf`, true/false): Whether to attach the quote as a PDF to the email.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "createdAt": "2026-07-25T14:30:00.000Z",
      "customerId": "clxcust1",
      "id": "clxquote1",
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "propertyId": "clxprop1",
      "quoteNumber": 512,
      "status": "DRAFT",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2,
      "validUntil": "2026-08-24T14:30:00.000Z"
    }
  }
}
```

### Update client

Change a client's details; phones and emails you send replace the old ones.

**Inputs**

- Client (`id`, text, required): The client. Pick one, or use a client ID from List clients.
- First name (`firstName`, text): Their first name.
- Last name (`lastName`, text): Their last name.
- Company (`companyName`, text): Their company's name.
- Status (`status`, text): Lead, active or inactive. One of: `LEAD`, `ACTIVE`, `INACTIVE`.
- Source (`source`, text): Where they came from. One of: `WEBSITE`, `YELP`, `GOOGLE`, `REFERRAL`, `PHONE`, `OTHER`.
- Notes (`notes`, text): Notes about them.
- Phone numbers (`phones`, list): Each with phone, and optionally label and isPrimary. On an update this replaces the list.
- Email addresses (`emails`, list): Each with email, and optionally label and isPrimary. On an update this replaces the list.
- Email opt-in (`emailOptIn`, true/false): Whether they agree to marketing email.
- Text opt-in (`smsOptIn`, true/false): Whether they agree to marketing texts.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "balance": 0,
      "companyName": "Acme Cleaning",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "emails": [
        {
          "email": "ada@example.com",
          "id": "clxem1",
          "isPrimary": true,
          "label": "Work"
        }
      ],
      "firstName": "Ada",
      "id": "clxcust1",
      "lastName": "Lovelace",
      "notes": "Gate code 1234",
      "phones": [
        {
          "id": "clxph1",
          "isPrimary": true,
          "label": "Mobile",
          "phone": "416-555-0100"
        }
      ],
      "properties": [
        {
          "addressLine1": "1 Main St",
          "city": "Toronto",
          "country": "Canada",
          "id": "clxprop1",
          "state": "ON",
          "zipCode": "M5V 1A1"
        }
      ],
      "source": "WEBSITE",
      "status": "LEAD",
      "tags": [
        "VIP"
      ]
    }
  }
}
```

### Update job

Change a job's status or notes, or link it to a quote.

**Inputs**

- Job ID (`id`, text, required): The job, from List jobs.
- Status (`status`, text): The new status. One of: `SCHEDULED`, `IN_PROGRESS` (In progress), `DONE`, `CANCELED`, `REQUIRES_INVOICING` (Requires invoicing).
- Notes (`notes`, text): Notes.
- Quote ID (`quoteId`, text): The quote it comes from.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "assignedToId": "clxuser1",
      "assignedToName": "Ada Field",
      "createdAt": "2026-07-25T14:30:00.000Z",
      "customerId": "clxcust1",
      "customerName": "Ada Lovelace",
      "endAt": "2026-08-01T11:00:00.000Z",
      "id": "clxjob1",
      "jobNumber": 88,
      "lineItems": [
        {
          "description": "Steam clean",
          "id": "clxline1",
          "isTaxable": true,
          "name": "Carpet cleaning, 3 rooms",
          "qty": 1,
          "total": 240,
          "unitPrice": 240
        }
      ],
      "notes": "",
      "propertyId": "clxprop1",
      "quoteId": "clxquote1",
      "startAt": "2026-08-01T09:00:00.000Z",
      "status": "SCHEDULED",
      "subtotal": 240,
      "taxAmount": 31.2,
      "title": "Carpet cleaning",
      "total": 271.2
    }
  }
}
```
