TruckSmarter · Arazzo Workflow

Post loads to TruckSmarter and remove them once covered

Version 1.0.0

Post a batch of freight loads to the TruckSmarter load board via the partner Load Posting API, then remove them by loadId once they are covered or cancelled.

1 workflow 1 source API 1 provider
View Spec View on GitHub TruckingFreightLogisticsLoad BoardTransportationDispatchFuelFactoringArazzoWorkflows

Provider

trucksmarter

Workflows

post-and-remove-loads
Post one or more loads, verify the posting, then delete them by loadId.
2 steps inputs: apiKey, loads outputs: posted, removed
1
postLoadsStep
postLoads
Create or update the loads on the load board.
2
deleteLoadsStep
deleteLoads
Remove the same loads by their load_id values once covered or cancelled.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Post loads to TruckSmarter and remove them once covered
  summary: >-
    Post a batch of freight loads to the TruckSmarter load board via the
    partner Load Posting API, then remove them by loadId once they are covered
    or cancelled.
  version: 1.0.0
  x-apievangelist:
    generated: '2026-07-21'
    method: generated
    source: openapi/trucksmarter-load-posting-openapi.yml
sourceDescriptions:
  - name: loadPosting
    url: ../openapi/trucksmarter-load-posting-openapi.yml
    type: openapi
workflows:
  - workflowId: post-and-remove-loads
    summary: Post one or more loads, verify the posting, then delete them by loadId.
    inputs:
      type: object
      properties:
        apiKey:
          type: string
          description: Partner API key (Bearer token).
        loads:
          type: array
          description: Loads to post (see Load schema — load_id, equipment, stops required).
    steps:
      - stepId: postLoadsStep
        description: Create or update the loads on the load board.
        operationId: postLoads
        requestBody:
          contentType: application/json
          payload:
            loads: $inputs.loads
        successCriteria:
          - condition: $statusCode == 200
          - condition: $response.body.success == true
        outputs:
          loadCount: $response.body.loadCount
      - stepId: deleteLoadsStep
        description: Remove the same loads by their load_id values once covered or cancelled.
        operationId: deleteLoads
        requestBody:
          contentType: application/json
          payload:
            loadIds: $inputs.loads[*].load_id
        successCriteria:
          - condition: $statusCode == 200
          - condition: $response.body.success == true
        outputs:
          removeCount: $response.body.removeCount
    outputs:
      posted: $steps.postLoadsStep.outputs.loadCount
      removed: $steps.deleteLoadsStep.outputs.removeCount