# Agiled

> Add contacts to Agiled and follow its contacts, deals, tickets, projects, tasks and invoices.

App · 22 actions. Web page: https://docs.lodol.com/docs/integrations/agiled

## Actions

### Create contact

Add a contact to your CRM.

**Inputs**

- First name (`first_name`, text, required): Their first name.
- Last name (`last_name`, text): Their last name.
- Email (`email`, text): Their email address.
- Phone (`phone`, text): Their phone number.
- Retry key (`idempotency_key`, text): Any text that identifies this contact in your other system, so a retry doesn't add it twice.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Delete contact

Delete a contact.

**Inputs**

- Contact (`contactId`, text, required): The contact's Agiled ID.

**Outputs**

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

**Example output**

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

### Get account

Get one account by ID.

**Inputs**

- Account (`accountId`, text, required): The account's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `contacts`, `assigned_user` (Owner), `assigned_users` (Assigned users).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Get API key details

See the workspace the key belongs to and what it may do.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "abilities": [
        "contacts:read",
        "contacts:write"
      ],
      "organization_id": "1042",
      "token_id": "77"
    }
  }
}
```

### Get contact

Get one contact by ID.

**Inputs**

- Contact (`contactId`, text, required): The contact's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `accounts`, `assigned_user` (Owner), `assigned_users` (Assigned users).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Get deal

Get one deal by ID.

**Inputs**

- Deal (`dealId`, text, required): The deal's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `account`, `contacts`, `assigned_user` (Owner), `assigned_users` (Assigned users).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Get invoice

Get one invoice by ID.

**Inputs**

- Invoice (`invoiceId`, text, required): The invoice's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `account`, `payments`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Get project

Get one project by ID.

**Inputs**

- Project (`projectId`, text, required): The project's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `owner`, `members`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Get task

Get one task by ID.

**Inputs**

- Task (`taskId`, text, required): The task's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `project`, `assigned_user` (Assignee), `assignees`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### Get ticket

Get one ticket by ID.

**Inputs**

- Ticket (`ticketId`, text, required): The ticket's Agiled ID.
- Include (`include`, list): Related records to add to each one. One or more of: `account`, `contact`, `assigned_user` (Assignee), `project`, `related_task` (Related task), `invoice`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": {
      "created_at": "2026-11-02T10:15:00Z",
      "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
      "updated_at": "2026-11-20T08:30:00Z"
    }
  }
}
```

### List accounts

List accounts, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `name`, `email`.
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Name (`name`, text): Only accounts with this name.
- Email (`email`, text): Only accounts with this email address.
- Include (`include`, list): Related records to add to each one. One or more of: `contacts`, `assigned_user` (Owner), `assigned_users` (Assigned users).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List contacts

List contacts, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `first_name` (First name), `last_name` (Last name), `email`.
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Email (`email`, text): Only contacts with this email address.
- Full name (`full_name`, text): Only contacts with this full name.
- Include (`include`, list): Related records to add to each one. One or more of: `accounts`, `assigned_user` (Owner), `assigned_users` (Assigned users).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List deals

List deals, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `name`, `status`, `value`.
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Name (`name`, text): Only deals with this name.
- Status (`status`, text): Only deals with this status, as your pipeline names it.
- Include (`include`, list): Related records to add to each one. One or more of: `account`, `contacts`, `assigned_user` (Owner), `assigned_users` (Assigned users).

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List invoices

List invoices, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `invoice_number` (Invoice number), `status`, `issue_date` (Issue date), `due_date` (Due date).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Invoice number (`invoice_number`, text): Only the invoice with this number.
- Status (`status`, text): Only invoices with this status.
- Include (`include`, list): Related records to add to each one. One or more of: `account`, `payments`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List payments

List payments, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `payment_date` (Payment date), `status`, `amount`.
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Invoice (`invoice_id`, text): Only payments on this invoice.
- Status (`status`, text): Only payments with this status.
- Payment method (`payment_method`, text): Only payments made this way.
- Include (`include`, list): Related records to add to each one. One or more of: `invoice`, `account`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List pipelines

List your deal pipelines, with their stages if you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `name`, `created_at` (Created), `updated_at` (Last changed).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Search (`search`, text): Only pipelines matching this text.
- Include (`include`, list): Related records to add to each one. One or more of: `stages`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List products

List products, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `name`, `price`, `sku`, `is_active` (Active).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Search (`search`, text): Only products matching this text.
- Type (`type`, text): Only products of this type.
- Category ID (`category_id`, text): Only products in this category.
- Active (`is_active`, true/false): Only active, or only inactive, products.
- Include (`include`, list): Related records to add to each one. One or more of: `category`, `tags`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List projects

List projects, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `name`, `status`, `start_date` (Start date), `end_date` (End date).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Name (`name`, text): Only projects with this name.
- Status (`status`, text): Only projects with this status.
- Include (`include`, list): Related records to add to each one. One or more of: `owner`, `members`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List tasks

List tasks, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `title`, `status`, `due_date` (Due date).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Title (`title`, text): Only tasks with this title.
- Status (`status`, text): Only tasks with this status.
- Project (`project_id`, text): Only tasks in this project.
- Include (`include`, list): Related records to add to each one. One or more of: `project`, `assigned_user` (Assignee), `assignees`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List tickets

List tickets, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `subject`, `status`, `priority`, `due_date` (Due date).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Subject (`subject`, text): Only tickets with this subject.
- Status (`status`, text): Only tickets with this status.
- Priority (`priority`, text): Only tickets with this priority.
- Account (`account_id`, text): Only tickets for this account.
- Contact (`contact_id`, text): Only tickets for this contact.
- Include (`include`, list): Related records to add to each one. One or more of: `account`, `contact`, `assigned_user` (Assignee), `project`, `related_task` (Related task), `invoice`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List time entries

List time entries, one page at a time, filtered and sorted as you choose.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `created_at` (Created), `updated_at` (Last changed), `start_time` (Start), `end_time` (End).
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- User ID (`user`, text): Only time logged by this user.
- Project (`project_id`, text): Only time on this project.
- Task (`task_id`, text): Only time on this task.
- From (`date_from`, date): Only time on or after this day.
- To (`date_to`, date): Only time on or before this day.
- Include (`include`, list): Related records to add to each one. One or more of: `project`, `task`, `user`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```

### List users

List the people in your Agiled workspace.

**Inputs**

- Page (`page`, number): The page to read, starting at 1. At least 1.
- Per page (`per_page`, number): How many records a page holds (25 if empty, up to 100). From 1 to 100.
- Sort by (`sort_by`, text): What to sort by. One of: `name`, `email`.
- Sort direction (`sort_direction`, text): Ascending or descending. One of: `asc` (Ascending), `desc` (Descending).
- Search (`search`, text): Only users matching this text.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "data": [
      {
        "created_at": "2026-11-02T10:15:00Z",
        "id": "9f8b2c1d-4e5a-4b6c-8d7e-0a1b2c3d4e5f",
        "updated_at": "2026-11-20T08:30:00Z"
      }
    ],
    "meta": {
      "current_page": 1,
      "last_page": 3,
      "per_page": 25,
      "total": 68
    }
  }
}
```
