Postman · Arazzo Workflow

Postman Fork and Merge a Collection

Version 1.0.0

Fork a collection into a workspace, then merge the fork back into the source.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AI Agent BuilderAI AgentsAPI CatalogAPI ClientAPI DesignAPI DevelopmentAPI DocumentationAPI GovernanceAPI LifecycleAPI MonitoringAPI NetworkAPI PlatformAPI TestingAudit LogsAutomationCI/CDCollaborationCollectionComplianceDiscoveryEnvironmentsFlowsGraphQLgRPCHTTPInsightsMCPMCP GeneratorMock ServersMockingMonitorsNewmanOpenAPIPlatformPrivate API NetworkPublic API NetworkSecret ScanningSpec HubSpecificationsSSOTestingVaultWebSocketWorkflowsWorkspacesArazzoWorkflows

Provider

postman

Workflows

fork-and-merge-collection
Fork a source collection and merge the fork back into it.
Creates a workspace, forks the source collection into it, and merges the resulting fork back into the source collection using the supplied strategy.
3 steps inputs: forkLabel, forkWorkspaceName, mergeStrategy, sourceCollectionId outputs: forkUid, forkWorkspaceId, mergedUid
1
createForkWorkspace
Create a workspace to receive the forked collection.
2
forkCollection
Fork the source collection into the newly created workspace, keeping a link to the source for the later merge.
3
mergeFork
Merge the forked collection back into the source collection using the requested strategy.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Postman Fork and Merge a Collection
  summary: Fork a collection into a workspace, then merge the fork back into the source.
  description: >-
    Models the collaborative fork-and-merge pattern used to propose changes to a
    shared collection. The workflow creates a workspace to hold the fork, forks
    the source collection into it, then merges the fork back into the original
    using a chosen strategy. Each step spells out its request inline so the flow
    can be read and executed without opening the underlying OpenAPI
    descriptions.
  version: 1.0.0
sourceDescriptions:
- name: collectionsApi
  url: ../openapi/postman-collections-api-openapi.yml
  type: openapi
- name: workspacesApi
  url: ../openapi/postman-workspaces-api-openapi.yml
  type: openapi
workflows:
- workflowId: fork-and-merge-collection
  summary: Fork a source collection and merge the fork back into it.
  description: >-
    Creates a workspace, forks the source collection into it, and merges the
    resulting fork back into the source collection using the supplied strategy.
  inputs:
    type: object
    required:
    - sourceCollectionId
    - forkWorkspaceName
    - forkLabel
    properties:
      sourceCollectionId:
        type: string
        description: The ID or UID of the collection to fork.
      forkWorkspaceName:
        type: string
        description: The name of the workspace to create for the fork.
      forkLabel:
        type: string
        description: The label to apply to the fork.
      mergeStrategy:
        type: string
        description: The merge strategy (deleteSource or updateSourceWithDestination).
        default: deleteSource
  steps:
  - stepId: createForkWorkspace
    description: >-
      Create a workspace to receive the forked collection.
    operationId: createWorkspace
    requestBody:
      contentType: application/json
      payload:
        workspace:
          name: $inputs.forkWorkspaceName
          type: personal
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      workspaceId: $response.body#/workspace/id
  - stepId: forkCollection
    description: >-
      Fork the source collection into the newly created workspace, keeping a
      link to the source for the later merge.
    operationId: createCollectionFork
    parameters:
    - name: collectionId
      in: path
      value: $inputs.sourceCollectionId
    - name: workspace
      in: query
      value: $steps.createForkWorkspace.outputs.workspaceId
    requestBody:
      contentType: application/json
      payload:
        label: $inputs.forkLabel
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      forkUid: $response.body#/collection/uid
  - stepId: mergeFork
    description: >-
      Merge the forked collection back into the source collection using the
      requested strategy.
    operationId: mergeCollectionFork
    requestBody:
      contentType: application/json
      payload:
        strategy: $inputs.mergeStrategy
        source: $steps.forkCollection.outputs.forkUid
        destination: $inputs.sourceCollectionId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      mergedUid: $response.body#/collection/uid
  outputs:
    forkWorkspaceId: $steps.createForkWorkspace.outputs.workspaceId
    forkUid: $steps.forkCollection.outputs.forkUid
    mergedUid: $steps.mergeFork.outputs.mergedUid

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/postman-fork-and-merge-collection-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.