Actions60
- Courses Actions
- Lessons Actions
- Topics Actions
- Quizzes Actions
- Groups Actions
- Course Users Actions
- Group Users Actions
- Custom Actions
- Assignments Actions
- Essays Actions
- Questions Actions
- Group Leaders Actions
- User Course Progress Actions
- User Courses Actions
- Group Courses Actions
- User Groups Actions
Courses → Create
AI-generatedSummary
Create a new LearnDash course by specifying course details such as title, content, status, pricing, and prerequisites.
Inputs
- Course Fields — Set course-specific fields including title, content, excerpt, status (e.g., draft, publish), slug, featured image (by ID or URL), price type and related prices, prerequisite settings, and points configuration.
- Body (JSON) — Provide a JSON payload directly to customize the request body for advanced use cases, overriding or adding to the common fields.
Output shape
a single JSON object representing the newly created course.
If a Featured Image URL is provided, the node will download and upload the image to WordPress media and set it as the course thumbnail before creation. Use either 'Course Fields' inputs or a JSON body optionally, where JSON body overrides are merged.
Examples
Example 1: Create a simple published course with title and content
Set 'Title' and 'Content' in Course Fields and optionally set 'Status' to 'publish'.
Example 2: Create a course with a featured image from an external URL
Provide 'Featured Image URL' and optionally 'Featured Image Filename' in Course Fields along with other course details.
