View as Markdown
Illumidesk icon

Illumidesk ACTION

Create Course Lesson

Create a new lesson in a course. See the documentation
  • Action
  • Writes data
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Illumidesk account once, then configure and run Create Course Lesson from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "illumidesk-create-course-lesson",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    illumidesk: { authProvisionId: "apn_xxxxxxx" },
    campusSlug: "Campus Slug",
    courseSlug: "Course ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Course Lesson inputs
Property Type Description
campusSlug Campus Slug string
The slug for the campus
Required Dynamic
courseSlug Course ID string
The slug for the course
Required Dynamic
title Title string
Title of the new lesson
Required
description Description string
Description of the new lesson
Optional
order Order integer
An integer representing the order of the lesson (0 respresents the first position in the list)
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
illumidesk-create-course-lesson
Version
0.0.2
App
Illumidesk
Authentication
API key
Read-only
No
Destructive
No
Open world
Yes