arazzo: 1.0.1
info:
title: Workday Give Feedback Badge
summary: Confirm a worker and review their existing badges, then give a new feedback badge.
description: >-
A talent recognition flow. It resolves the worker, reads the feedback
badges they have already received for context, and then gives a new
feedback badge with an optional comment. Every step spells out its request
inline so the flow can be read and executed without opening the underlying
OpenAPI description.
version: 1.0.0
x-realizes-capability-ids:
- BC-300.20
- BC-300.70
x-capability-derivation:
method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
min_confidence: 0.7
sources:
- capability_id: BC-300.20
capability_name: Talent Management
spec: workday-feedback-api-openapi.yml
confidence: 0.85
- capability_id: BC-300.70
capability_name: HR Operations Management
spec: workday-workers-api-openapi.yml
confidence: 0.85
model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: feedbackApi
url: ../openapi/workday-feedback-api-openapi.yml
type: openapi
- name: workersApi
url: ../openapi/workday-workers-api-openapi.yml
type: openapi
workflows:
- workflowId: give-feedback-badge
summary: Resolve a worker, review existing badges, then give a new feedback badge.
description: >-
Reads the worker and their existing feedback badges, then gives a new
feedback badge with the supplied badge reference and optional comment.
inputs:
type: object
required:
- authorization
- workerId
- badge
properties:
authorization:
type: string
description: OAuth2 bearer token, e.g. "Bearer eyJ...".
workerId:
type: string
description: The Workday ID of the worker receiving the badge.
badge:
type: object
description: The badge reference object (id, descriptor, href).
comment:
type: string
description: An optional comment accompanying the badge.
steps:
- stepId: getWorker
description: Confirm the worker exists before giving a badge.
operationId: getWorkerById
parameters:
- name: Authorization
in: header
value: $inputs.authorization
- name: ID
in: path
value: $inputs.workerId
successCriteria:
- condition: $statusCode == 200
outputs:
workerDescriptor: $response.body#/descriptor
- stepId: getExistingBadges
description: Read the feedback badges the worker has already received.
operationId: getFeedbackBadges
parameters:
- name: Authorization
in: header
value: $inputs.authorization
- name: ID
in: path
value: $inputs.workerId
successCriteria:
- condition: $statusCode == 200
outputs:
existingBadges: $response.body#/data
- stepId: giveBadge
description: Give a new feedback badge to the worker.
operationId: giveFeedbackBadge
parameters:
- name: Authorization
in: header
value: $inputs.authorization
- name: ID
in: path
value: $inputs.workerId
requestBody:
contentType: application/json
payload:
badge: $inputs.badge
comment: $inputs.comment
successCriteria:
- condition: $statusCode == 201
outputs:
badgeId: $response.body#/id
givenDate: $response.body#/givenDate
outputs:
workerDescriptor: $steps.getWorker.outputs.workerDescriptor
existingBadges: $steps.getExistingBadges.outputs.existingBadges
badgeId: $steps.giveBadge.outputs.badgeId
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.