# Appwrite

> Route new Appwrite Cloud signups into workflows and look up or update project users.

App · 3 actions. Web page: https://docs.lodol.com/docs/integrations/appwrite

## Actions

### Get a project user

Get an Appwrite user's name, email, verification status and labels.

**Inputs**

- User ID (`account_id`, text, required): The Appwrite user's ID.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "$createdAt": "example",
    "$id": "example",
    "$updatedAt": "example",
    "email": "example",
    "emailVerification": true,
    "labels": [
      "example"
    ],
    "name": "example",
    "status": true
  }
}
```

### List project users

Find the latest accounts in your Appwrite project or search them by name or email.

**Inputs**

- Search (`search`, text): A name or email address to search for.
- Limit (`limit`, number): How many users to return. From 1 to 100.
- Cursor (`cursor`, text): The last user ID from the previous page.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "total": 1,
    "users": [
      {
        "$createdAt": "example",
        "$id": "example",
        "$updatedAt": "example",
        "email": "example",
        "emailVerification": true,
        "labels": [
          "example"
        ],
        "name": "example",
        "status": true
      }
    ]
  }
}
```

### Update a user's name

Change the display name of an Appwrite user.

**Inputs**

- User ID (`account_id`, text, required): The Appwrite user's ID.
- Name (`name`, text, required): The new display name for the user.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "$createdAt": "example",
    "$id": "example",
    "$updatedAt": "example",
    "email": "example",
    "emailVerification": true,
    "labels": [
      "example"
    ],
    "name": "example",
    "status": true
  }
}
```
