parcelLab · Arazzo Workflow

parcelLab Survey Fetch and Submit

Version 1.0.0

Load a survey, fetch its prefilled answers for a reference, then submit a response.

1 workflow 1 source API 1 provider
View Spec View on GitHub Post-PurchaseE-CommerceTrackingReturnsShippingDeliveryCustomer ExperienceLogisticsCommunicationsGermanyArazzoWorkflows

Provider

parcellab

Workflows

survey-fetch-and-submit
Fetch a survey, load its prefilled answers, and submit a response.
Reads the survey definition, fetches prefilled answers for a reference, then submits the customer's completed survey response.
3 steps inputs: authToken, refId, referenceType, surveyData, surveyId outputs: surveyComplete, surveyName
1
getSurvey
Load the survey definition so the caller knows its status and config before collecting answers.
2
getPrefilled
Fetch any prefilled answers for the survey scoped to the supplied reference.
3
submitSurvey
Submit the completed survey response for the same survey and reference.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: parcelLab Survey Fetch and Submit
  summary: Load a survey, fetch its prefilled answers for a reference, then submit a response.
  description: >-
    Drives the customer survey experience end to end. The workflow loads the
    survey definition by id, retrieves any prefilled answers for a given
    reference (a tracking or return registration), and then submits the completed
    response. 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-430.50
  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-430.50
      capability_name: Customer Feedback Management
      spec: parcellab-surveys-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: surveysApi
  url: ../openapi/parcellab-surveys-api-openapi.yml
  type: openapi
workflows:
- workflowId: survey-fetch-and-submit
  summary: Fetch a survey, load its prefilled answers, and submit a response.
  description: >-
    Reads the survey definition, fetches prefilled answers for a reference, then
    submits the customer's completed survey response.
  inputs:
    type: object
    required:
    - authToken
    - surveyId
    - refId
    - surveyData
    properties:
      authToken:
        type: string
        description: Authorization header value for the parcelLab API.
      surveyId:
        type: string
        description: The survey id (uuid).
      refId:
        type: string
        description: Reference id (tracking or return registration) to prefill from.
      referenceType:
        type: string
        description: Reference type, one of return_registration or tracking.
      surveyData:
        type: object
        description: The completed survey answer payload.
  steps:
  - stepId: getSurvey
    description: >-
      Load the survey definition so the caller knows its status and config before
      collecting answers.
    operationId: getSurvey
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    - name: id
      in: path
      value: $inputs.surveyId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      surveyName: $response.body#/name
      surveyStatus: $response.body#/status
      surveyUrl: $response.body#/surveyUrl
  - stepId: getPrefilled
    description: >-
      Fetch any prefilled answers for the survey scoped to the supplied
      reference.
    operationId: getSurveyAnswer
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    - name: id
      in: path
      value: $inputs.surveyId
    - name: ref_id
      in: query
      value: $inputs.refId
    - name: reference_type
      in: query
      value: $inputs.referenceType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      editable: $response.body#/editable
  - stepId: submitSurvey
    description: >-
      Submit the completed survey response for the same survey and reference.
    operationId: submitSurveyAnswer
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    - name: id
      in: path
      value: $inputs.surveyId
    requestBody:
      contentType: application/json
      payload:
        data: $inputs.surveyData
        is_complete: true
        reference_id: $inputs.refId
        reference_type: $inputs.referenceType
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      isComplete: $response.body#/isComplete
      detail: $response.body#/detail
  outputs:
    surveyName: $steps.getSurvey.outputs.surveyName
    surveyComplete: $steps.submitSurvey.outputs.isComplete

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/parcellab-survey-fetch-and-submit-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.