# WorkRamp

> Manage learners, groups and training assignments in WorkRamp, and follow guide, path and event progress.

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

## Actions

### Add user to group

Add a user to a WorkRamp group. The group's automations may then assign them training.

**Inputs**

- Group (`group_id`, number, required): The group. Pick one, or enter a group ID from an earlier step.
- User (`member_id`, number, required): The WorkRamp user. Pick one, or enter a user ID from an earlier step.
- Start date (`start_date`, date): The user's start date, which the group's automations use to work out due dates.

**Outputs**

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

**Example output**

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

### Assign guide

Assign a guide (course) to a user.

**Inputs**

- Guide (`guide_id`, text, required): The guide (course). Pick one, or enter a guide ID from an earlier step.
- User (`member_id`, number): The WorkRamp user. Pick one, or enter a user ID from an earlier step.
- Email (`email`, text): The user's email address, instead of choosing the user.
- Due date (`due_date`, date): When it's due. Leave empty for no due date.
- Due at end of day (`due_at_end_of_day`, true/false): Make it due at the end of the due date (WorkRamp's default) rather than at its start. Default: `true`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "completedAt": 1,
    "courseId": "example",
    "createdAt": 1,
    "dueDate": 1,
    "id": "example",
    "isArchived": true,
    "isCompleted": true,
    "numCompletedTasks": 1,
    "numCompletedTestQuestions": 1,
    "numCorrectTestQuestions": 1,
    "numGradedTestQuestions": 1,
    "numViewedTasks": 1,
    "score": 1,
    "title": "example",
    "trainingSeriesUserAssignmentId": "example",
    "updatedAt": 1,
    "userId": 1
  }
}
```

### Assign path

Assign a path (training series) to a user.

**Inputs**

- Path ID (`path_id`, text, required): The path's ID. It's in the path's address in WorkRamp, or in the path of an assignment from an earlier step.
- User (`member_id`, number): The WorkRamp user. Pick one, or enter a user ID from an earlier step.
- Email (`email`, text): The user's email address, instead of choosing the user.
- Due date (`due_date`, date): When it's due. Leave empty for no due date.
- Due at end of day (`due_at_end_of_day`, true/false): Make it due at the end of the due date (WorkRamp's default) rather than at its start. Default: `true`.
- Tag (`tag`, text): A label for this assignment, to find assignments made by this workflow later.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "assignerId": 1,
    "createdAt": 1,
    "createdThrough": "example",
    "dueDate": 1,
    "id": "example",
    "isCompleted": true,
    "modulesCompleted": 1,
    "numModules": 1,
    "trainingSeriesId": "example",
    "updatedAt": 1,
    "userId": 1
  }
}
```

### Create user

Add a person to your WorkRamp account.

**Inputs**

- Email (`email`, text, required): The person's email address.
- Name (`name`, text): The person's full name.
- Managers (`manager_ids`, list): The person's managers.
- Groups (`group_ids`, list): Groups to add the person to.
- Admin (`is_admin`, true/false): Make the person a WorkRamp admin.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "email": "example",
    "groups": [
      {
        "createdAt": 1,
        "enterpriseId": 1,
        "id": 1,
        "name": "example",
        "updatedAt": 1
      }
    ],
    "id": 1,
    "isAdmin": true,
    "isDeleted": true,
    "mentors": [
      {
        "createdAt": 1,
        "email": "example",
        "id": 1,
        "isAdmin": true,
        "name": "example",
        "updatedAt": 1
      }
    ],
    "name": "example",
    "updatedAt": 1
  }
}
```

### Delete guide assignment

Unassign a guide from a user.

**Inputs**

- Guide assignment ID (`assignment_id`, text, required): The guide assignment's ID, from an earlier step.

**Outputs**

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

**Example output**

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

### Delete path assignment

Unassign a path from a user.

**Inputs**

- Path assignment ID (`assignment_id`, text, required): The path assignment's ID, from an earlier step.

**Outputs**

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

**Example output**

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

### Delete user

Delete a user from your WorkRamp account.

**Inputs**

- User (`member_id`, number, required): The WorkRamp user. Pick one, or enter a user ID from an earlier step.

**Outputs**

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

**Example output**

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

### Find user by email

Look up a WorkRamp user by their email address.

**Inputs**

- Email (`email`, text, required): The email address to look for.
- Include deactivated (`include_deleted`, true/false): Also find a deactivated user.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "found": true,
    "user": {
      "certifications": [
        {
          "id": 1,
          "title": "example"
        }
      ],
      "createdAt": 1,
      "directReports": [
        {
          "email": "example",
          "id": 1,
          "name": "example"
        }
      ],
      "email": "example",
      "id": 1,
      "isAdmin": true,
      "isDeleted": true,
      "isPermanentlyDeleted": true,
      "name": "example",
      "updatedAt": 1
    }
  }
}
```

### Get event session

Get an event session's times, instructors and meeting links.

**Inputs**

- Event (`event_id`, text, required): The event. Pick one, or enter an event ID from an earlier step.
- Session (`session_id`, text, required): The event's session. Pick one, or enter a session ID from an earlier step.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "end": 1,
    "id": "example",
    "start": 1,
    "title": "example",
    "trainingClassId": "example",
    "trainingClassSessionInstructors": [
      {
        "id": "example",
        "sessionId": "example",
        "user": {
          "displayName": "example",
          "email": "example",
          "id": 1
        }
      }
    ],
    "zoomMeetingId": "example",
    "zoomMeetingJoinUrl": "example",
    "zoomMeetingStartUrl": "example"
  }
}
```

### Get path assignment

Get a path assignment with its status and progress.

**Inputs**

- Path assignment ID (`assignment_id`, text, required): The path assignment's ID, from an earlier step.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "assignerId": 1,
    "completedAt": 1,
    "completionPercentage": 1,
    "createdAt": 1,
    "createdThrough": "example",
    "dueDate": 1,
    "firstAccessedAt": 1,
    "id": "example",
    "isCompleted": true,
    "isCompletedOnTime": true,
    "isOverdue": true,
    "lastAccessedAt": 1,
    "modulesCompleted": 1,
    "numDaysOverdue": 1,
    "numModules": 1,
    "overallGrade": 1,
    "passed": true,
    "passingGradeRequired": true,
    "status": "example",
    "tags": [
      "example"
    ],
    "timeSpent": 1,
    "title": "example",
    "trainingSeriesId": "example",
    "updatedAt": 1,
    "userId": 1
  }
}
```

### Get user custom attributes

Get the custom attribute values set on a WorkRamp user.

**Inputs**

- User (`member_id`, number, required): The WorkRamp user. Pick one, or enter a user ID from an earlier step.

**Outputs**

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

**Example output**

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

### Invite to event session

Register users or whole groups for an event session.

**Inputs**

- Event (`event_id`, text, required): The event. Pick one, or enter an event ID from an earlier step.
- Session (`session_id`, text, required): The event's session. Pick one, or enter a session ID from an earlier step.
- Users (`member_ids`, list): Users to register.
- Groups (`group_ids`, list): Groups whose members to register.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "message": "example",
    "status_code": 1
  }
}
```

### List events

List your WorkRamp events with their sessions and who is invited, registered or attended.

**Inputs**

- Sessions after (`session_start_date`, date and time): Only events with sessions after this time.
- Sessions before (`session_end_date`, date and time): Only events with sessions before this time.
- Leave out groups (`exclude_groups`, true/false): Leave out each learner's groups, for a shorter answer.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "id": "example",
        "name": "example",
        "sessions": [
          {
            "end_time": "example",
            "id": "example",
            "learners": [
              {
                "attended_event": true,
                "declined_date": "example",
                "email": "example",
                "groups": [
                  "example"
                ],
                "invitation_date": "example",
                "is_archived": true,
                "name": "example",
                "registration_date": "example",
                "registration_status": "example",
                "user_id": 1
              }
            ],
            "start_time": "example",
            "title": "example"
          }
        ],
        "type": "example"
      }
    ]
  }
}
```

### List groups

List the groups in your WorkRamp account.

**Inputs**: None.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "items": [
      {
        "createdAt": 1,
        "enterpriseId": 1,
        "id": 1,
        "name": "example",
        "updatedAt": 1
      }
    ]
  }
}
```

### List guide assignments

List guide assignments created or changed in a time range, or due on a day, with each learner and their progress.

**Inputs**

- Changed since (`start_time`, date and time): Only guide assignments created or updated at or after this time. Give this or a due date.
- Changed until (`end_time`, date and time): Only guide assignments created or updated at or before this time.
- Due on (`due_date`, date): Only guide assignments due on this day (UTC).
- Guide (`guide_id`, text): Only this guide's assignments. Leave empty for every guide.
- Include deleted (`include_deleted`, true/false): Also return guide assignments that were deleted.
- Page (`page`, number): Which page of guide assignments to read, starting at 1. Use next_page from a previous step for the next one. At least 1.
- Per page (`per_page`, number): How many guide assignments to return, up to 200. WorkRamp's default is 20. From 1 to 200.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "has_more": true,
    "items": [
      {
        "guide": {
          "display_title": "example",
          "id": "example",
          "time_estimate_seconds": 1
        },
        "guide_assignment": {
          "completed_at": 1,
          "completion_percentage": 1,
          "created_at": 1,
          "due_date": 1,
          "id": "example",
          "is_completed": true,
          "is_completed_and_passed": true,
          "is_deleted": true,
          "is_mandatory": true,
          "last_viewed_at": 1,
          "num_completed_tasks": 1,
          "num_viewed_tasks": 1,
          "path_assignment_id": "example",
          "path_id": "example",
          "rating": 1,
          "score": 1,
          "status": "example",
          "time_spent": 1,
          "updated_at": 1
        },
        "user": {
          "created_at": 1,
          "email": "example",
          "groups": [
            {
              "id": 1,
              "name": "example"
            }
          ],
          "id": 1,
          "is_admin": true,
          "is_deleted": true,
          "is_permanently_deleted": true,
          "managers": [
            {
              "email": "example",
              "id": 1,
              "name": "example"
            }
          ],
          "name": "example",
          "updated_at": 1
        }
      }
    ],
    "next_page": 1
  }
}
```

### List guides

List the guides (courses) in your WorkRamp account.

**Inputs**

- Page (`page`, number): Which page of guides to read, starting at 1. Use next_page from a previous step for the next one. At least 1.
- Per page (`per_page`, number): How many guides to return, up to 200. WorkRamp's default is 20. From 1 to 200.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "has_more": true,
    "items": [
      {
        "created_at": 1,
        "id": "example",
        "num_total_tasks": 1,
        "num_total_test_questions": 1,
        "tags": [
          "example"
        ],
        "title": "example",
        "updated_at": 1
      }
    ],
    "next_page": 1
  }
}
```

### List path assignments

List path assignments created or changed in a time range, or due on a day, with each learner and their progress.

**Inputs**

- Changed since (`start_time`, date and time): Only path assignments created or updated at or after this time. Give this or a due date.
- Changed until (`end_time`, date and time): Only path assignments created or updated at or before this time.
- Due on (`due_date`, date): Only path assignments due on this day (UTC).
- Path ID (`path_id`, text): Only this path's assignments. Leave empty for every path.
- Include deleted (`include_deleted`, true/false): Also return path assignments that were deleted.
- Page (`page`, number): Which page of path assignments to read, starting at 1. Use next_page from a previous step for the next one. At least 1.
- Per page (`per_page`, number): How many path assignments to return, up to 200. WorkRamp's default is 20. From 1 to 200.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "has_more": true,
    "items": [
      {
        "path": {
          "display_title": "example",
          "id": "example",
          "total_time_estimate": 1
        },
        "path_assignment": {
          "assigner_id": 1,
          "completed_at": 1,
          "completion_percentage": 1,
          "created_at": 1,
          "deleted_at": 1,
          "due_date": 1,
          "id": "example",
          "is_completed": true,
          "is_failed": true,
          "is_passed": true,
          "num_modules": 1,
          "num_modules_completed": 1,
          "overall_grade": 1,
          "status": "example",
          "time_spent": 1,
          "updated_at": 1
        },
        "user": {
          "created_at": 1,
          "email": "example",
          "groups": [
            {
              "id": 1,
              "name": "example"
            }
          ],
          "id": 1,
          "is_admin": true,
          "is_deleted": true,
          "is_permanently_deleted": true,
          "managers": [
            {
              "email": "example",
              "id": 1,
              "name": "example"
            }
          ],
          "name": "example",
          "updated_at": 1
        }
      }
    ],
    "next_page": 1
  }
}
```

### List SCORM assignments

List SCORM course assignments created or changed in a time range, or due on a day, with each learner and their progress.

**Inputs**

- Changed since (`start_time`, date and time): Only SCORM assignments created or updated at or after this time. Give this or a due date.
- Changed until (`end_time`, date and time): Only SCORM assignments created or updated at or before this time.
- Due on (`due_date`, date): Only SCORM assignments due on this day (UTC).
- SCORM course (`scorm_id`, text): Only this SCORM course's assignments. Leave empty for every course.
- Include deleted (`include_deleted`, true/false): Also return SCORM assignments that were deleted.
- Page (`page`, number): Which page of SCORM assignments to read, starting at 1. Use next_page from a previous step for the next one. At least 1.
- Per page (`per_page`, number): How many SCORM assignments to return, up to 200. WorkRamp's default is 20. From 1 to 200.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "has_more": true,
    "items": [
      {
        "scorm": {
          "display_title": "example",
          "id": "example",
          "time_estimate_seconds": 1
        },
        "scorm_assignment": {
          "completed_at": 1,
          "completion_percentage": 1,
          "created_at": 1,
          "deleted_at": 1,
          "due_date": 1,
          "id": "example",
          "is_completed": true,
          "is_passed": true,
          "score": 1,
          "status": "example",
          "time_spent": 1,
          "updated_at": 1
        },
        "user": {
          "created_at": 1,
          "email": "example",
          "groups": [
            {
              "id": 1,
              "name": "example"
            }
          ],
          "id": 1,
          "is_admin": true,
          "is_deleted": true,
          "is_permanently_deleted": true,
          "managers": [
            {
              "email": "example",
              "id": 1,
              "name": "example"
            }
          ],
          "name": "example",
          "updated_at": 1
        }
      }
    ],
    "next_page": 1
  }
}
```

### List SCORM courses

List the SCORM courses in your WorkRamp account.

**Inputs**

- Page (`page`, number): Which page of SCORM courses to read, starting at 1. Use next_page from a previous step for the next one. At least 1.
- Per page (`per_page`, number): How many SCORM courses to return, up to 200. WorkRamp's default is 20. From 1 to 200.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "has_more": true,
    "items": [
      {
        "created_at": 1,
        "id": "example",
        "time_estimate": 1,
        "title": "example"
      }
    ],
    "next_page": 1
  }
}
```

### List user's assignments

List everything assigned to a user, with each assignment's status and progress: guides, paths, challenges and SCORM courses.

**Inputs**

- User (`member_id`, number, required): The WorkRamp user. Pick one, or enter a user ID from an earlier step.
- Page (`page`, number): Which page of assignments to read, starting at 1. Use next_page from a previous step for the next one. At least 1.
- Per page (`per_page`, number): How many assignments to return, up to 200. WorkRamp's default is 20. From 1 to 200.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "challenge_assignments": [
      {
        "calculated_grade": 1,
        "challenge_id": "example",
        "completed_at": 1,
        "completion_percentage": 1,
        "created_at": 1,
        "due_date": 1,
        "id": "example",
        "is_completed": true,
        "is_submitted": true,
        "passed": true,
        "status": "example",
        "title": "example",
        "updated_at": 1
      }
    ],
    "guide_assignments": [
      {
        "completed_at": 1,
        "completion_percentage": 1,
        "course_id": "example",
        "created_at": 1,
        "due_date": 1,
        "id": "example",
        "is_completed": true,
        "is_overdue": true,
        "passed": true,
        "score": 1,
        "status": "example",
        "title": "example",
        "updated_at": 1
      }
    ],
    "has_more": true,
    "next_page": 1,
    "path_assignments": [
      {
        "completed_at": 1,
        "completion_percentage": 1,
        "created_at": 1,
        "due_date": 1,
        "id": "example",
        "is_completed": true,
        "is_overdue": true,
        "modules_completed": 1,
        "num_modules": 1,
        "passed": true,
        "status": "example",
        "title": "example",
        "training_series_id": "example",
        "updated_at": 1
      }
    ],
    "scorm_assignments": [
      {
        "completion_percentage": 1,
        "due_date": 1,
        "id": "example",
        "is_completed": true,
        "score": 1,
        "tags": [
          "example"
        ],
        "top_level_content_id": "example"
      }
    ]
  }
}
```

### List users

List the people in your WorkRamp account, a page at a time.

**Inputs**

- Limit (`limit`, number): How many users to return, up to 100 (the default here). From 1 to 100.
- Page (`page`, number): Which page to read, starting at 0. Use next_page from a previous step for the next one. At least 0.
- Name (`name`, text): Only users whose name matches this (WorkRamp matches case-sensitively).
- Include deactivated (`include_deleted`, true/false): Also return deactivated users.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "count": 1,
    "has_more": true,
    "items": [
      {
        "certifications": [
          {
            "id": 1,
            "title": "example"
          }
        ],
        "createdAt": 1,
        "directReports": [
          {
            "email": "example",
            "id": 1,
            "name": "example"
          }
        ],
        "email": "example",
        "id": 1,
        "isAdmin": true,
        "isDeleted": true,
        "isPermanentlyDeleted": true,
        "name": "example",
        "updatedAt": 1
      }
    ],
    "next_page": 1
  }
}
```

### Set user custom attribute

Set one custom attribute on a WorkRamp user, keeping their other attributes.

**Inputs**

- User (`member_id`, number, required): The WorkRamp user. Pick one, or enter a user ID from an earlier step.
- Attribute (`attribute`, text, required): The attribute's API name, as shown in WorkRamp's custom attribute settings.
- Value (`value`, text, required): The value to set. Write a date as YYYY-MM-DD.

**Outputs**

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

**Example output**

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

### Update guide assignment

Change a guide assignment's due date, mark it completed, or record a score.

**Inputs**

- Guide assignment ID (`assignment_id`, text, required): The guide assignment's ID, from an earlier step.
- Due date (`due_date`, date): When it's due. Leave empty for no due date.
- Due at end of day (`due_at_end_of_day`, true/false): Make it due at the end of the due date (WorkRamp's default) rather than at its start. Default: `true`.
- Completed (`is_completed`, true/false): Mark the assignment completed.
- Completed on (`completed_date`, date): The day it was completed. This alone doesn't complete it.
- Score (`score`, number): A score from 0 to 100. This alone doesn't complete it. From 0 to 100.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "completedAt": 1,
    "courseId": "example",
    "createdAt": 1,
    "dueDate": 1,
    "id": "example",
    "isArchived": true,
    "isCompleted": true,
    "numCompletedTasks": 1,
    "numCompletedTestQuestions": 1,
    "numCorrectTestQuestions": 1,
    "numGradedTestQuestions": 1,
    "numViewedTasks": 1,
    "score": 1,
    "title": "example",
    "trainingSeriesUserAssignmentId": "example",
    "updatedAt": 1,
    "userId": 1
  }
}
```

### Update path assignment

Change a path assignment's due date.

**Inputs**

- Path assignment ID (`assignment_id`, text, required): The path assignment's ID, from an earlier step.
- Due date (`due_date`, date, required): When it's due. Leave empty for no due date.
- Due at end of day (`due_at_end_of_day`, true/false): Make it due at the end of the due date (WorkRamp's default) rather than at its start. Default: `true`.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "assignerId": 1,
    "createdAt": 1,
    "createdThrough": "example",
    "dueDate": 1,
    "id": "example",
    "isCompleted": true,
    "modulesCompleted": 1,
    "numModules": 1,
    "trainingSeriesId": "example",
    "updatedAt": 1,
    "userId": 1
  }
}
```

### Update user

Change a WorkRamp user's name, email, admin access or managers, or deactivate them.

**Inputs**

- User (`member_id`, number, required): The WorkRamp user. Pick one, or enter a user ID from an earlier step.
- Email (`email`, text): The new email address.
- Name (`name`, text): The new full name.
- Admin (`is_admin`, true/false): Whether the user is a WorkRamp admin.
- Deactivated (`is_deactivated`, true/false): Turn on to deactivate the user, or off to reactivate them.
- Manager emails (`manager_emails`, list): Email addresses of existing users to add as the user's managers.
- Replace managers (`replace_managers`, true/false): Make the manager emails the user's only managers. With no manager emails, this removes all their managers.

**Outputs**

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

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "email": "example",
    "groups": [
      {
        "createdAt": 1,
        "enterpriseId": 1,
        "id": 1,
        "name": "example",
        "updatedAt": 1
      }
    ],
    "id": 1,
    "isAdmin": true,
    "isDeleted": true,
    "mentors": [
      {
        "createdAt": 1,
        "email": "example",
        "id": 1,
        "isAdmin": true,
        "name": "example",
        "updatedAt": 1
      }
    ],
    "name": "example",
    "updatedAt": 1
  }
}
```
