# Udemy Business

> Read your Udemy Business catalog and learning paths, and see what your learners are doing: enrollments, progress and completions for every course, plus learning path, assessment and lab activity.

App · 9 actions. Web page: https://docs.lodol.com/docs/integrations/udemy

## Actions

### Get a learner's course progress

Check how far one learner is through one course: whether they are enrolled, how much is done, and whether they have completed it.

**Inputs**

- Learner email (`user_email`, text, required): The email the learner signs in to Udemy Business with.
- Course ID (`course_id`, text, required): The course, by its id from 'List courses' or a report.

**Outputs**

- `activity` (object): The learner's row from the course activity report, empty when they are not enrolled
- `completion_ratio` (number): How much of the course is marked complete, as a percentage (0 when not enrolled)
- `found` (true/false): True when the learner is enrolled in the course
- `is_completed` (true/false): True when the learner has completed the course

**Example output**

```json
{
  "activity": {
    "assigned_by": "learning@example.com",
    "completion_ratio": 100,
    "course_category": "Development",
    "course_completion_date": "2026-10-19T17:30:00Z",
    "course_duration": 420,
    "course_enroll_date": "2026-09-01T09:12:00Z",
    "course_first_completion_date": "2026-10-19T17:30:00Z",
    "course_id": 567828,
    "course_last_accessed_date": "2026-10-19T17:30:00Z",
    "course_start_date": "2026-09-01T09:15:00Z",
    "course_subcategory": "Data Science",
    "course_title": "Data Engineering Essentials",
    "is_assigned": "Yes",
    "num_video_consumed_minutes": 401,
    "user_email": "jo.bloggs@example.com",
    "user_external_id": "E1042",
    "user_name": "Jo",
    "user_role": "student",
    "user_surname": "Bloggs"
  },
  "completion_ratio": 100,
  "found": true,
  "is_completed": true
}
```

### Get activity attempts

Get a summary of learners' attempts at learning activities, filtered by learner, course or when they last worked on them. Gets one page; to see more, run it again with the next page it gives.

**Inputs**

- Learner email (`user_email`, text): Only this learner, by the email they sign in to Udemy Business with.
- Course ID (`course_id`, text): Only this course, by its id from 'List courses' or a report.
- Last active from (`active_from`, date): Only attempts last worked on on or after this day (UTC).
- Last active until (`active_to`, date): Only attempts last worked on on or before this day (UTC).
- Next page cursor (`cursor`, text): The 'next_cursor' from an earlier step, for the next page.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `attempts` (list): The attempts on this page
- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `next_cursor` (text): Pass back as the cursor for the next page, empty if none

**Example output**

```json
{
  "attempts": [
    {
      "course_id": 567828,
      "course_title": "Data Engineering Essentials",
      "last_activity_time": "2026-10-19T17:10:00Z",
      "user_email": "jo.bloggs@example.com"
    }
  ],
  "count": 1,
  "has_more": false,
  "next_cursor": ""
}
```

### Get assessment activity

Get learners' results in Udemy Pro assessments, as Udemy reports them. Needs the Udemy Pro add-on.

**Inputs**

- Learner email (`user_email`, text): Only this learner, by the email they sign in to Udemy Business with.
- Course ID (`course_id`, text): Only this course, by its id from 'List courses' or a report.
- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `activity` (list): One row per learner and assessment
- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "activity": [
    {
      "assessment_title": "Python skills assessment",
      "score": 82,
      "user_email": "jo.bloggs@example.com"
    }
  ],
  "count": 1,
  "has_more": false,
  "next_page": 0
}
```

### Get course activity

Get one row per learner and course: when they enrolled, started and completed it, how much is done, minutes watched, and whether it was assigned. Filter by learner, course or the days they were active.

**Inputs**

- Learner email (`user_email`, text): Only this learner, by the email they sign in to Udemy Business with.
- Course ID (`course_id`, text): Only this course, by its id from 'List courses' or a report.
- Active from (`from_date`, date): Only activity on or after this day (UTC).
- Active until (`to_date`, date): Only activity on or before this day (UTC).
- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `activity` (list): One row per learner and course
- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "activity": [
    {
      "assigned_by": "learning@example.com",
      "completion_ratio": 100,
      "course_category": "Development",
      "course_completion_date": "2026-10-19T17:30:00Z",
      "course_duration": 420,
      "course_enroll_date": "2026-09-01T09:12:00Z",
      "course_first_completion_date": "2026-10-19T17:30:00Z",
      "course_id": 567828,
      "course_last_accessed_date": "2026-10-19T17:30:00Z",
      "course_start_date": "2026-09-01T09:15:00Z",
      "course_subcategory": "Data Science",
      "course_title": "Data Engineering Essentials",
      "is_assigned": "Yes",
      "num_video_consumed_minutes": 401,
      "user_email": "jo.bloggs@example.com",
      "user_external_id": "E1042",
      "user_name": "Jo",
      "user_role": "student",
      "user_surname": "Bloggs"
    }
  ],
  "count": 1,
  "has_more": false,
  "next_page": 0
}
```

### Get lab activity

Get learners' activity in Udemy Pro hands-on labs, as Udemy reports it. Needs the Udemy Pro add-on.

**Inputs**

- Learner email (`user_email`, text): Only this learner, by the email they sign in to Udemy Business with.
- Course ID (`course_id`, text): Only this course, by its id from 'List courses' or a report.
- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `activity` (list): One row per learner and lab
- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "activity": [
    {
      "lab_title": "Deploy a container to the cloud",
      "status": "completed",
      "user_email": "jo.bloggs@example.com"
    }
  ],
  "count": 1,
  "has_more": false,
  "next_page": 0
}
```

### Get learner activity

Get each learner's totals: courses enrolled in, started and completed, lectures completed, minutes of video watched and when they last visited. Give dates to count only that period.

**Inputs**

- Learner email (`user_email`, text): Only this learner, by the email they sign in to Udemy Business with.
- Active from (`from_date`, date): Only activity on or after this day (UTC).
- Active until (`to_date`, date): Only activity on or before this day (UTC).
- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `learners` (list): One row per learner
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "learners": [
    {
      "last_date_visit": "2026-10-19T22:44:51Z",
      "num_completed_courses": 1,
      "num_completed_lectures": 10,
      "num_new_assigned_courses": 1,
      "num_new_enrolled_courses": 3,
      "num_new_started_courses": 2,
      "num_video_consumed_minutes": 365,
      "num_web_visited_days": 12,
      "report_date": "2026-10-20T07:00:00Z",
      "user_email": "jo.bloggs@example.com",
      "user_external_id": "E1042",
      "user_joined_date": "2025-04-21T07:00:00Z",
      "user_name": "Jo",
      "user_role": "student",
      "user_surname": "Bloggs"
    }
  ],
  "next_page": 0
}
```

### Get learning path activity

Get one row per learner and learning path they are enrolled in, with their progress, as Udemy reports it.

**Inputs**

- Learner email (`user_email`, text): Only this learner, by the email they sign in to Udemy Business with.
- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `activity` (list): One row per learner and learning path
- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "activity": [
    {
      "path_id": 4417,
      "path_title": "New manager essentials",
      "user_email": "jo.bloggs@example.com"
    }
  ],
  "count": 1,
  "has_more": false,
  "next_page": 0
}
```

### List courses

List the courses in your Udemy Business catalog, a page at a time, with each course's title, link, length, categories, instructors and what learners get out of it.

**Inputs**

- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `count` (number): How many rows match in all, across every page
- `courses` (list): The courses on this page
- `has_more` (true/false): True when there is another page
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "count": 1,
  "courses": [
    {
      "categories": [
        "Development"
      ],
      "description": "<p>Build reliable data pipelines.</p>",
      "estimated_content_length": 420,
      "id": 567828,
      "images": {
        "size_240x135": "https://img-c.udemycdn.com/course/240x135/1.jpg"
      },
      "instructors": [
        "Nancy Example",
        "Joan Sample"
      ],
      "num_lectures": 64,
      "num_videos": 58,
      "requirements": {
        "list": [
          "Basic SQL"
        ]
      },
      "title": "Data Engineering Essentials",
      "url": "https://acme.udemy.com/course/data-engineering-essentials/",
      "what_you_will_learn": {
        "list": [
          "Design an ETL pipeline"
        ]
      }
    }
  ],
  "has_more": false,
  "next_page": 0
}
```

### List learning paths

List your Udemy Business learning paths, a page at a time, with everything Udemy sends about each one.

**Inputs**

- Page (`page`, number): Which page to get, starting at 1. Use 'next_page' from the last one. At least 1.
- Rows per page (`page_size`, number): How many to return, 1 to 100. Udemy returns 12 when left empty, and answers fastest at 20 or fewer. From 1 to 100.

**Outputs**

- `count` (number): How many rows match in all, across every page
- `has_more` (true/false): True when there is another page
- `learning_paths` (list): The learning paths on this page
- `next_page` (number): The page number to ask for next, 0 if none

**Example output**

```json
{
  "count": 1,
  "has_more": false,
  "learning_paths": [
    {
      "description": "Your first 90 days leading a team.",
      "id": 4417,
      "title": "New manager essentials"
    }
  ],
  "next_page": 0
}
```
