Blossom icon

Blossom

Interact with Blossom LMS/LXP API - manage users, groups, memberships, and learning data

Performance → Upload Diploma

AI-generated

Summary

Upload a diploma file or remove an existing diploma for a user in a group object via the Blossom API.

Inputs

  • domain (required) — Domain name or ID
  • userIdentifier (required) — User identifier. One of: external_id, user_id, user_name, identity_num. Mapped to API as first present value.
  • groupIdentifier (required) — Group identifier. One of: group_external_id, group_id. Mapped to API as first present value.
  • diplomaFile — Diploma file content or file path. Uploaded as PDF unless removeDiploma is true.
  • removeDiploma — Whether to remove the diploma instead of uploading. If true, diplomaFile is ignored.

Output shape

The response from the Blossom API, typically containing the operation result metadata.

Returned data is whatever the Blossom UploadDiploma endpoint returns; errors are handled via n8n's continueOnFail mechanism.

Examples

Example 1: Upload a diploma PDF for a user identified by external ID in a group identified by external ID.

domain=1, userIdentifier.external_id=EXT-123, groupIdentifier.group_external_id=GRP-456, diplomaFile=base64_encoded_pdf_content, removeDiploma=false

Example 2: Remove an existing diploma for a user.

domain=1, userIdentifier.user_id=12345, groupIdentifier.group_id=67890, removeDiploma=true (diplomaFile ignored)

Discussion