parcelLab · Arazzo Workflow

parcelLab Track and Target Campaign

Version 1.0.0

Read an order's tracking status, then evaluate a campaign for that tracking.

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

Provider

parcellab

Workflows

track-and-target-campaign
Fetch order tracking, then evaluate a campaign for the tracking id.
Reads the order info for an account and order number, captures the tracking id, and evaluates campaign targeting for that tracking.
2 steps inputs: account, authToken, campaignId, medium, orderNumber outputs: campaignContent, trackingStatus
1
getOrderStatus
Read the order info to obtain the tracking and its tracking id for campaign targeting.
2
evaluateCampaign
Evaluate campaign targeting for the order's tracking so the right content is shown on the tracking experience.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: parcelLab Track and Target Campaign
  summary: Read an order's tracking status, then evaluate a campaign for that tracking.
  description: >-
    Connects the tracking page to a targeted marketing placement. The workflow
    reads the order info to obtain the live tracking id, then evaluates campaign
    targeting for that tracking so the right post-purchase content is selected for
    the customer's tracking experience. 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-2510.20
  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-2510.20
      capability_name: Shipment Tracking Management
      spec: parcellab-orders-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: campaignsApi
  url: ../openapi/parcellab-campaigns-api-openapi.yml
  type: openapi
- name: ordersApi
  url: ../openapi/parcellab-orders-api-openapi.yml
  type: openapi
workflows:
- workflowId: track-and-target-campaign
  summary: Fetch order tracking, then evaluate a campaign for the tracking id.
  description: >-
    Reads the order info for an account and order number, captures the tracking
    id, and evaluates campaign targeting for that tracking.
  inputs:
    type: object
    required:
    - authToken
    - account
    - orderNumber
    - campaignId
    properties:
      authToken:
        type: string
        description: Authorization header value for the parcelLab API.
      account:
        type: integer
        description: The parcelLab account id.
      orderNumber:
        type: string
        description: The shop order number to look up.
      campaignId:
        type: string
        description: The campaign id to evaluate for the tracking.
      medium:
        type: string
        description: The medium the campaign is rendered in.
  steps:
  - stepId: getOrderStatus
    description: >-
      Read the order info to obtain the tracking and its tracking id for campaign
      targeting.
    operationId: getOrderInfo
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    - name: account
      in: query
      value: $inputs.account
    - name: order_number
      in: query
      value: $inputs.orderNumber
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstTrackingNumber: $response.body#/trackings/0/tracking_number
      firstTrackingStatus: $response.body#/trackings/0/status
    onSuccess:
    - name: hasTracking
      type: goto
      stepId: evaluateCampaign
      criteria:
      - context: $response.body
        condition: $.trackings.length > 0
        type: jsonpath
    - name: noTracking
      type: end
      criteria:
      - context: $response.body
        condition: $.trackings.length == 0
        type: jsonpath
  - stepId: evaluateCampaign
    description: >-
      Evaluate campaign targeting for the order's tracking so the right content is
      shown on the tracking experience.
    operationId: evaluateCampaign
    parameters:
    - name: Authorization
      in: header
      value: $inputs.authToken
    - name: accountId
      in: query
      value: $inputs.account
    - name: campaignId
      in: query
      value: $inputs.campaignId
    - name: trackingId
      in: query
      value: $steps.getOrderStatus.outputs.firstTrackingNumber
    - name: medium
      in: query
      value: $inputs.medium
    - name: orderNumber
      in: query
      value: $inputs.orderNumber
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      campaignContent: $response.body
  outputs:
    trackingStatus: $steps.getOrderStatus.outputs.firstTrackingStatus
    campaignContent: $steps.evaluateCampaign.outputs.campaignContent

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-track-and-target-campaign-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.