Workflow trigger types
Workflows in PartnerOS can be triggered by the following events. These trigger types are defined in the workflow schema and are used when creating workflows through the workflow builder:List specializations
Returns all published enablement specializations for your organization, ordered alphabetically by title. Specializations are used in workflow builders to target training programs at specific partner competency tracks.GET /api/workflow-pickers/specializations
Response fields
object[]
required
Array of published specialization records.
Example
This endpoint returns only specializations with
isPublished = true. Draft specializations are excluded.List training modules
Returns all published training modules for your organization, ordered alphabetically by title. Training modules represent individual learning units that can be assigned to partners as steps in a workflow automation.GET /api/workflow-pickers/trainings
Response fields
object[]
required
Array of published training module records.
Example
List training tags
Returns a deduplicated, sorted list of all tags that appear on your organization’s published training modules. Tags are used in workflow builders to filter or target training assignments by topic or audience.GET /api/workflow-pickers/training-tags
Response fields
string[]
required
Alphabetically sorted array of unique tag strings drawn from all published trainings.
Example
PPTX export stream
Streams progress for a premium PowerPoint export of an enablement lesson. Connect to this Server-Sent Events (SSE) endpoint after dispatching an export action. The server polls at 1.5-second intervals and emits acompleted event as soon as the generated file is ready.
GET /api/exports/pptx/stream
This endpoint returns Content-Type: text/event-stream. Keep the connection open until you receive a completed or error event. A hard timeout of 5 minutes applies; after that the server emits an error event and closes the stream.
Query parameters
string
required
UUID of the enablement lesson whose PPTX export you are waiting for.
string
Optional cache key for the export job. When provided, the server only emits
completed for an export whose cache key matches. Omit to accept any fresh export for the lesson.