# WalkMe

> Manage WalkMe users, languages and translation files, segments and Support access, and read the account's activity log.

App · 25 actions. Web page: https://docs.lodol.com/docs/integrations/walkme

## Actions

### Create language

Add a language to a system, ready for its translations to be imported.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Short name (`short_name`, text, required): The language's short name, such as `es`.
- Display name (`display_name`, text, required): The language's name as people see it, such as Spanish.
- Show in WalkMe menu (`is_in_player`, true/false): Offer the language in WalkMe's menu. On unless turned off. Default: `true`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "displayName": "example",
    "guid": "example",
    "id": 1,
    "isDefaultLanguage": true,
    "isInPlayer": true,
    "shortName": "example"
  }
}
```

### Create segment

Create a segment from a list of end users, to show WalkMe content to them or filter Insights by them.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Name (`segment_name`, text, required): The segment's name, as the WalkMe Editor shows it.
- External ID (`external_id`, text, required): An ID of your choosing for the segment, up to 100 characters.
- User IDs (`user_ids`, list, required): The end users' IDs, as WalkMe identifies them (often their email address). Up to 25,000.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Create user

Add a user to the WalkMe account. WalkMe emails them a link to set their password.

**Inputs**

- Email (`email`, text, required): The user's email address, which is their WalkMe username.
- First name (`first_name`, text, required): The user's first name.
- Last name (`last_name`, text, required): The user's last name.
- External ID (`external_id`, text): The user's ID in your single sign-on (SAML) provider, if your account signs in that way.
- Access role (`access_role`, text): The user's role, which sets what they can do in WalkMe. A new user without one gets WalkMe's default role.
- Allowed systems (`allowed_systems`, list): The systems the user can work on. A new user without any can't open any system.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "accessRole": "example",
    "allowedSystems": [
      "example"
    ],
    "externalId": "example",
    "id": "example",
    "meta": {
      "created": "example",
      "lastLogin": "example",
      "lastModified": "example",
      "location": "example",
      "resourceType": "example"
    },
    "name": {
      "familyName": "example",
      "givenName": "example"
    },
    "schemas": [
      "example"
    ],
    "userName": "example"
  }
}
```

### Delete user

Remove a user from the WalkMe account.

**Inputs**

- User (`walkme_user_id`, text, required): The WalkMe user.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "deleted": true,
    "id": "example"
  }
}
```

### Download translation file

Get the file a translation job made, waiting up to a minute for the job to finish. The file comes back as base64.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Job ID (`job_id`, text, required): The ID of the translation job, from Export translations or Import translations.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "contentBase64": "example",
    "contentType": "example",
    "fileName": "example"
  }
}
```

### Export translations

Start exporting a language's translation file. Use Download translation file with the job ID it returns to get the file.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Language (`language_guid`, text, required): The language. Choose Default for the system's original language.
- File type (`file_type`, text, required): The file format. One of: `XLIFF`, `XLIFF_STRICT` (XLIFF, checked against WalkMe's schema), `XLSX` (Excel (XLSX)), `RESJSON`.
- Environment (`environment_id`, number): Export the content as it stands in this environment. Production unless you choose another.
- Content statuses (`content_statuses`, list): Which content to export, by its status in the WalkMe Editor. Published, published and modified, and draft unless you choose. One or more of: `published`, `publishedAndModified` (Published and modified), `draft`, `archived`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "endedAt": "example",
    "errorMessage": "example",
    "jobId": "example",
    "jobState": "example",
    "jobType": "example",
    "metadata": {
      "assetId": "example",
      "fileType": "example",
      "finalReport": [
        {}
      ],
      "languageDisplayName": "example",
      "languageGuid": "example",
      "languageId": 1,
      "transactionId": "example"
    },
    "progress": 1,
    "stage": "example",
    "startedAt": "example",
    "userId": 1
  }
}
```

### Find user by email

Get a WalkMe user by their email address.

**Inputs**

- Email (`email`, text, required): The user's email address.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "accessRole": "example",
    "allowedSystems": [
      "example"
    ],
    "externalId": "example",
    "id": "example",
    "meta": {
      "created": "example",
      "lastLogin": "example",
      "lastModified": "example",
      "location": "example",
      "resourceType": "example"
    },
    "name": {
      "familyName": "example",
      "givenName": "example"
    },
    "schemas": [
      "example"
    ],
    "userName": "example"
  }
}
```

### Get activity log

Get what people did in the WalkMe account, such as saving or publishing content. The last hour unless you choose dates.

**Inputs**

- From (`start_time`, date and time): Events from this time.
- To (`end_time`, date and time): Events up to this time.
- Limit (`limit`, number): The most events to return. 1,000 unless you choose. From 1 to 1000.
- Offset (`offset`, number): How many events to skip, to read the next page. At least 0.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "events": [
      {
        "accountId": 1,
        "accountName": "example",
        "actionDescription": "example",
        "actionDisplayName": "example",
        "actionType": "example",
        "additionalInfo": {
          "action": "example",
          "details": "example",
          "object": "example",
          "status": "example",
          "systemId": "example"
        },
        "eventId": "example",
        "geoCity": "example",
        "geoContinent": "example",
        "geoCountry": "example",
        "geoRegion": "example",
        "httpMethod": "example",
        "impersonatorEmail": "example",
        "impersonatorId": 1,
        "ip": "example",
        "isImpersonated": true,
        "path": "example",
        "statusCode": 1,
        "timestamp": "example",
        "uaBrowser": "example",
        "uaDevice": "example",
        "uaOs": "example",
        "userAgent": "example",
        "userEmail": "example",
        "userId": 1
      }
    ],
    "limit": 1,
    "offset": 1,
    "total": 1
  }
}
```

### Get language

Get one of a system's languages.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Language (`language_guid`, text, required): The language. Choose Default for the system's original language.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "displayName": "example",
    "guid": "example",
    "id": 1,
    "isDefaultLanguage": true,
    "isInPlayer": true,
    "shortName": "example"
  }
}
```

### Get translation job

Get the progress of a translation export or import.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Job ID (`job_id`, text, required): The ID of the translation job, from Export translations or Import translations.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "endedAt": "example",
    "errorMessage": "example",
    "jobId": "example",
    "jobState": "example",
    "jobType": "example",
    "metadata": {
      "assetId": "example",
      "fileType": "example",
      "finalReport": [
        {}
      ],
      "languageDisplayName": "example",
      "languageGuid": "example",
      "languageId": 1,
      "transactionId": "example"
    },
    "progress": 1,
    "stage": "example",
    "startedAt": "example",
    "userId": 1
  }
}
```

### Get user

Get a WalkMe user by their ID.

**Inputs**

- User (`walkme_user_id`, text, required): The WalkMe user.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "accessRole": "example",
    "allowedSystems": [
      "example"
    ],
    "externalId": "example",
    "id": "example",
    "meta": {
      "created": "example",
      "lastLogin": "example",
      "lastModified": "example",
      "location": "example",
      "resourceType": "example"
    },
    "name": {
      "familyName": "example",
      "givenName": "example"
    },
    "schemas": [
      "example"
    ],
    "userName": "example"
  }
}
```

### Get WalkMe Support access

See whether WalkMe Support can sign in to the account as its users, and as which.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "accessRestricted": true,
    "allowedUserEmails": [
      "example"
    ],
    "restrictionStartsAt": "example"
  }
}
```

### Import translations

Import a translation file into a language. WalkMe imports up to 500 items a file and returns a job to follow.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Language (`language_guid`, text, required): The language. Choose Default for the system's original language.
- File (`file`, text, required): The translation file.
- File type (`file_type`, text, required): The file format. One of: `XLIFF`, `XLIFF_STRICT` (XLIFF, checked against WalkMe's schema), `XLSX` (Excel (XLSX)), `RESJSON`.
- File name (`file_name`, text): The file's name. The uploaded file's own name unless you enter one.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "endedAt": "example",
    "errorMessage": "example",
    "jobId": "example",
    "jobState": "example",
    "jobType": "example",
    "metadata": {
      "assetId": "example",
      "fileType": "example",
      "finalReport": [
        {}
      ],
      "languageDisplayName": "example",
      "languageGuid": "example",
      "languageId": 1,
      "transactionId": "example"
    },
    "progress": 1,
    "stage": "example",
    "startedAt": "example",
    "userId": 1
  }
}
```

### List access roles

List the access roles defined in the WalkMe account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Resources": [
      {
        "id": "example",
        "meta": {
          "created": "example",
          "lastModified": "example",
          "location": "example",
          "resourceType": "example"
        },
        "name": "example",
        "schemas": [
          "example"
        ]
      }
    ],
    "schemas": [
      "example"
    ],
    "totalResults": 1
  }
}
```

### List environments

List a system's environments, such as Production and Test.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "environments": [
      {
        "id": 1,
        "name": "example"
      }
    ]
  }
}
```

### List languages

List the languages set up for a system.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.

**Outputs**

- `data` (list): The response from WalkMe.

**Example output**

```json
{
  "data": [
    {
      "displayName": "example",
      "guid": "example",
      "id": 1,
      "isDefaultLanguage": true,
      "isInPlayer": true,
      "shortName": "example"
    }
  ]
}
```

### List segments

List the segments of a system that were made through WalkMe's Segments API.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "segments": [
      {}
    ]
  }
}
```

### List systems

List the account's systems: the apps and sites WalkMe runs on.

**Inputs**: None.

**Outputs**

- `data` (list): The response from WalkMe.

**Example output**

```json
{
  "data": [
    {
      "displayName": "example",
      "guid": "example",
      "id": 1
    }
  ]
}
```

### List users

List the WalkMe users (builders, publishers and admins) in the account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "Resources": [
      {
        "accessRole": "example",
        "allowedSystems": [
          "example"
        ],
        "externalId": "example",
        "id": "example",
        "meta": {
          "created": "example",
          "lastLogin": "example",
          "lastModified": "example",
          "location": "example",
          "resourceType": "example"
        },
        "name": {
          "familyName": "example",
          "givenName": "example"
        },
        "schemas": [
          "example"
        ],
        "userName": "example"
      }
    ],
    "schemas": [
      "example"
    ],
    "totalResults": 1
  }
}
```

### Send Workstation notification

Send a WalkMe Workstation notification, from a template, to end users or audiences.

**Inputs**

- Template ID (`template_id`, text, required): The notification template's ID, from the template in WalkMe's Communication Center.
- End user IDs (`end_user_ids`, list): The end users to notify, by their WalkMe end-user ID.
- Audience IDs (`audience_ids`, list): The audiences to notify, by their ID.
- Workstation system ID (`system_id`, text): The Workstation system to send from. Needed only when the account has more than one.
- Title (`title`, text): A title for the notification.
- Runtime title (`runtime_title`, text): A title shown in place of the template's.
- Runtime description (`runtime_description`, text): A description shown in place of the template's.
- Start (`start_at`, date and time): When to start showing it. Right away unless you choose.
- End (`end_at`, date and time): When to stop showing it. 30 days after it starts unless you choose.
- Template values (`overrides`, object): Values for the template's placeholders, by placeholder key, such as a link to open: {"ticketUrl": "https://..."}.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Update end-user data

Send an end user's attributes to WalkMe through an End User Update integration, for segments and Insights.

**Inputs**

- Integration token (`integration_token`, text, required): The integration's token, from Integration Center > End User Update API in the WalkMe console.
- Identifier field (`identifier_name`, text, required): The name of the field that identifies the user, as the integration names it, such as `Email`.
- User identifier (`identifier`, text, required): The user's value for that field, such as their email address.
- Attributes (`attributes`, object, required): The fields to send, by the names the integration imports, such as {"Status": "New", "Type": "Internal"}. Dates are YYYY-MM-DD.

**Outputs**

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

**Example output**

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

### Update language

Rename a system's language or show or hide it in WalkMe's menu. Details left empty stay as they are.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Language (`language_guid`, text, required): The language. Choose Default for the system's original language.
- Short name (`short_name`, text): A new short name, such as `es`.
- Display name (`display_name`, text): A new name for the language as people see it.
- Show in WalkMe menu (`is_in_player`, true/false): Whether to offer the language in WalkMe's menu.

**Outputs**

- `data` (true/false): The response from WalkMe.

**Example output**

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

### Update segment users

Add users to a segment, remove them, or replace its users.

**Inputs**

- System (`system_guid`, text, required): The WalkMe system (the app WalkMe runs on) to work in.
- Segment (`segment_guid`, text, required): The segment.
- Change (`change`, text, required): What to do with the users. One of: `add` (Add these users), `remove` (Remove these users), `override` (Replace the segment's users with these).
- User IDs (`user_ids`, list, required): The end users' IDs, as WalkMe identifies them. Up to 25,000.

**Outputs**

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

**Example output**

```json
{
  "data": {}
}
```

### Update user

Change a WalkMe user's name, email, role or systems. Details left empty stay as they are.

**Inputs**

- User (`walkme_user_id`, text, required): The WalkMe user.
- Email (`email`, text): The user's email address, which is their WalkMe username.
- First name (`first_name`, text): The user's first name.
- Last name (`last_name`, text): The user's last name.
- External ID (`external_id`, text): The user's ID in your single sign-on (SAML) provider, if your account signs in that way.
- Access role (`access_role`, text): The user's role, which sets what they can do in WalkMe. A new user without one gets WalkMe's default role.
- Allowed systems (`allowed_systems`, list): The systems the user can work on. Replaces the user's systems; leave empty to keep them.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "accessRole": "example",
    "allowedSystems": [
      "example"
    ],
    "externalId": "example",
    "id": "example",
    "meta": {
      "created": "example",
      "lastLogin": "example",
      "lastModified": "example",
      "location": "example",
      "resourceType": "example"
    },
    "name": {
      "familyName": "example",
      "givenName": "example"
    },
    "schemas": [
      "example"
    ],
    "userName": "example"
  }
}
```

### Update WalkMe Support access

Let WalkMe Support sign in as the account's users, limit it to some users, or block it now or from a later day.

**Inputs**

- Block WalkMe Support (`restrict_access`, true/false, required): On to block WalkMe Support; off to let it sign in.
- Block starts (`restriction_delay`, text): When a block starts. One of: `0` (Right away), `1` (In 1 day), `3` (In 3 days), `7` (In 7 days), `30` (In about a month), `60` (In about two months).
- Allowed users (`allowed_user_emails`, list): Only these users' accounts can WalkMe Support sign in as. Replaces the list; leave empty to keep it. Up to 50.
- Allow all users (`allow_all_users`, true/false): Clear the list of allowed users, so WalkMe Support can sign in as any user.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "accessRestricted": true,
    "allowedUserEmails": [
      "example"
    ],
    "restrictionStartsAt": "example"
  }
}
```
