Ramp · Arazzo Workflow

Ramp Flag Open Bill Vendor

Version 1.0.0

List bills and branch into a vendor lookup only when the first bill is still open.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub FinanceSpend ManagementCorporate CardsExpense ManagementAccounts PayableBill PayAccountingReimbursementArazzoWorkflows

Provider

ramp

Workflows

flag-open-bill-vendor
Branch into an accounting vendor lookup only when the first bill is open.
Lists bills and conditionally lists accounting vendors to resolve the payee when the first bill is in an open status.
2 steps inputs: accessToken, openStatus outputs: openBillDueAt, openBillVendorId, vendors
1
listBills
List the organization's bills and capture the first bill's status, vendor reference, and due date.
2
listVendors
List accounting vendors so the open bill's vendor_id can be resolved to a payee name and code for follow-up.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Ramp Flag Open Bill Vendor
  summary: List bills and branch into a vendor lookup only when the first bill is still open.
  description: >-
    A bill-pay triage read flow with branching. The workflow lists bills and
    inspects the first bill's status: when it is still open it lists accounting
    vendors so the payee can be resolved for follow-up, and when it is not open
    it ends without the extra lookup. This adapts a bill approval theme to the
    read-only operations the Ramp Developer API exposes. 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
sourceDescriptions:
- name: billsApi
  url: ../openapi/ramp-bills-api-openapi.yml
  type: openapi
- name: vendorsApi
  url: ../openapi/ramp-vendors-api-openapi.yml
  type: openapi
workflows:
- workflowId: flag-open-bill-vendor
  summary: Branch into an accounting vendor lookup only when the first bill is open.
  description: >-
    Lists bills and conditionally lists accounting vendors to resolve the
    payee when the first bill is in an open status.
  inputs:
    type: object
    required:
    - openStatus
    properties:
      accessToken:
        type: string
        description: OAuth2 client-credentials bearer token with bills:read and accounting:read scopes.
      openStatus:
        type: string
        description: The bill status value that indicates the bill is still open and unpaid.
  steps:
  - stepId: listBills
    description: >-
      List the organization's bills and capture the first bill's status,
      vendor reference, and due date.
    operationId: listBills
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      firstStatus: $response.body#/data/0/status
      firstVendorId: $response.body#/data/0/vendor_id
      firstDueAt: $response.body#/data/0/due_at
    onSuccess:
    - name: isOpen
      type: goto
      stepId: listVendors
      criteria:
      - context: $response.body
        condition: $.data[0].status == $inputs.openStatus
        type: jsonpath
    - name: notOpen
      type: end
      criteria:
      - context: $response.body
        condition: $.data[0].status != $inputs.openStatus
        type: jsonpath
  - stepId: listVendors
    description: >-
      List accounting vendors so the open bill's vendor_id can be resolved to a
      payee name and code for follow-up.
    operationId: listAccountingVendors
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      vendors: $response.body#/data
  outputs:
    openBillVendorId: $steps.listBills.outputs.firstVendorId
    openBillDueAt: $steps.listBills.outputs.firstDueAt
    vendors: $steps.listVendors.outputs.vendors

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/ramp-flag-open-bill-vendor-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.