Remote · Arazzo Workflow

Remote Retrieve An Employee Payslip

Version 1.0.0

Find an active employee by email, list their payslips, and fetch the latest payslip detail.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Global PayrollEORContractor ManagementContractor of RecordPEOHRISRecruitingBenefitsEmploymentHRComplianceWorkforceMCPAI AgentsArazzoWorkflows

Provider

remote-com

Workflows

employee-payslip
Resolve an employment by email and fetch its latest payslip.
Lists employments filtered by email, lists the matched employment's payslips, and reads the first payslip back for its detail.
3 steps inputs: accessToken, email outputs: documentUrl, employmentId, payslipId
1
findEmployment
Look up the employment by email.
2
listPayslips
List the matched employment's payslips.
3
showPayslip
Read the latest payslip back for its gross, net, and document URL.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Remote Retrieve An Employee Payslip
  summary: Find an active employee by email, list their payslips, and fetch the latest payslip detail.
  description: >-
    Resolves a worker to their latest payslip in one pass. The workflow looks up
    the employment by email, lists that employment's payslips, and reads the
    most recent payslip back to surface its gross, net, and document URL. 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.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.70
      capability_name: HR Operations Management
      spec: remote-com-payslips-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: employmentsApi
  url: ../openapi/remote-com-employments-api-openapi.yml
  type: openapi
- name: payslipsApi
  url: ../openapi/remote-com-payslips-api-openapi.yml
  type: openapi
workflows:
- workflowId: employee-payslip
  summary: Resolve an employment by email and fetch its latest payslip.
  description: >-
    Lists employments filtered by email, lists the matched employment's
    payslips, and reads the first payslip back for its detail.
  inputs:
    type: object
    required:
    - accessToken
    - email
    properties:
      accessToken:
        type: string
        description: Company-scoped bearer access token.
      email:
        type: string
        description: The worker's email used to resolve their employment.
  steps:
  - stepId: findEmployment
    description: Look up the employment by email.
    operationId: listEmployments
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: email
      in: query
      value: $inputs.email
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      employmentId: $response.body#/data/employments/0/id
    onSuccess:
    - name: hasEmployment
      type: goto
      stepId: listPayslips
      criteria:
      - context: $response.body
        condition: $.data.employments.length > 0
        type: jsonpath
    - name: noEmployment
      type: end
      criteria:
      - context: $response.body
        condition: $.data.employments.length == 0
        type: jsonpath
  - stepId: listPayslips
    description: List the matched employment's payslips.
    operationId: listPayslips
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: employment_id
      in: query
      value: $steps.findEmployment.outputs.employmentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      payslipId: $response.body#/data/payslips/0/id
    onSuccess:
    - name: hasPayslip
      type: goto
      stepId: showPayslip
      criteria:
      - context: $response.body
        condition: $.data.payslips.length > 0
        type: jsonpath
    - name: noPayslip
      type: end
      criteria:
      - context: $response.body
        condition: $.data.payslips.length == 0
        type: jsonpath
  - stepId: showPayslip
    description: Read the latest payslip back for its gross, net, and document URL.
    operationId: showPayslip
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: payslip_id
      in: path
      value: $steps.listPayslips.outputs.payslipId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      grossAmount: $response.body#/data/payslip/gross_amount
      netAmount: $response.body#/data/payslip/net_amount
      documentUrl: $response.body#/data/payslip/document_url
  outputs:
    employmentId: $steps.findEmployment.outputs.employmentId
    payslipId: $steps.listPayslips.outputs.payslipId
    documentUrl: $steps.showPayslip.outputs.documentUrl

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/remote-com-employee-payslip-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

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.

A second provider on the same verified email joins the account you already have.