PartnerOS workflows automate repetitive partner lifecycle tasks — sending welcome emails when a partner joins, triggering enablement training after an agreement is signed, or notifying your team when a deal closes. The workflow picker endpoints let you retrieve the building blocks (specializations, training modules, and tags) that are referenced when building or triggering workflow automations programmatically. All workflow picker endpoints require authentication. Responses are always scoped to the active organization and filtered to published records only.Documentation Index
Fetch the complete documentation index at: https://docs.partneros.ai/llms.txt
Use this file to discover all available pages before exploring further.
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:| Trigger type | Description |
|---|---|
partner_created | Fires when a new partner record is created. |
partner_joined_platform | Fires when a partner completes the partner portal onboarding. |
deal_registered | Fires when a deal registration is submitted. |
deal_registration_approved | Fires when a deal registration is approved. |
deal_registration_declined | Fires when a deal registration is declined. |
application_submitted | Fires when a partner application form is submitted. |
partner_stage_changed | Fires when a partner’s lifecycle stage changes. |
partner_agreement_signed | Fires when a partner signs an agreement. |
partner_certification_completed | Fires when a partner completes a certification. |
partner_tier_changed | Fires when a partner’s tier is updated. |
mdf_request_submitted | Fires when a market development fund request is submitted. |
contract_renewal_approaching | Fires on a schedule before a contract renewal date. |
partner_inactive | Fires when a partner is flagged as inactive. |
deal_closed_won | Fires when a deal is marked closed-won. |
deal_closed_lost | Fires when a deal is marked closed-lost. |
partner_payment_made | Fires when a partner payment is recorded. |
contact_added_to_partner | Fires when a contact is linked to a partner. |
manual | No automatic trigger; the workflow is invoked on demand. |
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
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
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
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
UUID of the enablement lesson whose PPTX export you are waiting for.
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.SSE events
| Event | Description |
|---|---|
completed | The PPTX file is ready. The data object contains url, costCents, and model. |
error | Export failed or timed out. The data object contains a message field. |
:hb | Heartbeat comment emitted every 15 seconds to keep the connection alive. |
: connected | Emitted immediately on connection to confirm the stream is open. |