LearnDash icon

LearnDash

Interact with the LearnDash LMS REST API

Actions60

Essays → Create

AI-generated

Summary

Create a new essay in LearnDash by specifying essay details such as title, content, excerpt, status, slug, related course ID, grading status, and points information.

Inputs

  • Essay Fields — Provide specific fields for the essay being created including Title, Content, Excerpt, Status (e.g., draft, publish), Slug, Course ID (parent course), Grading Status (graded or not graded), Max Points, and Points Awarded.
  • Body (JSON) — Optional JSON payload for advanced use cases to include additional or custom fields not covered by standard Essay Fields.

Output shape

a list of JSON objects representing the created essay resource(s)

The output is a JSON array containing the API response from the LearnDash REST API after creating the essay. If multiple items are processed, the output includes each created essay's details. Use JSON formatting for advanced custom body parameters. Errors in JSON input will cause node operation errors.

Examples

Example 1: Create an essay with title 'My Essay', linked to course ID 123, with grading status set to 'graded' and max points 100.

Set Essay Fields: Title='My Essay', Course ID=123, Grading Status='graded', Max Points=100; leave Body (JSON) empty.

Discussion