Ramp · Arazzo Workflow

Ramp Locate Location Spend

Version 1.0.0

Pull locations, users, and transactions to roll spend up by location.

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

Provider

ramp

Workflows

locate-location-spend
List locations, users, and transactions to attribute spend by location.
Lists locations and users to build the user-to-location map, then lists transactions so spend can be rolled up by location.
3 steps inputs: accessToken, fromDate, toDate outputs: locations, transactions, users
1
listLocations
List the organization's locations to form the top level of the spend rollup.
2
listUsers
List users so each user's location_id can be joined to a location.
3
listTransactions
List transactions for the date window so each transaction's user_id can be traced to a location for the spend rollup.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Ramp Locate Location Spend
  summary: Pull locations, users, and transactions to roll spend up by location.
  description: >-
    Builds the datasets needed to roll transaction spend up to a location. The
    workflow lists locations, then lists users so each user's location_id can
    be joined to a location, and finally lists transactions for a date window
    so each transaction's user_id can be traced through the user to its
    location. The three lists together let a caller compute per-location spend
    for the period. 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: locationsApi
  url: ../openapi/ramp-locations-api-openapi.yml
  type: openapi
- name: transactionsApi
  url: ../openapi/ramp-transactions-api-openapi.yml
  type: openapi
- name: usersApi
  url: ../openapi/ramp-users-api-openapi.yml
  type: openapi
workflows:
- workflowId: locate-location-spend
  summary: List locations, users, and transactions to attribute spend by location.
  description: >-
    Lists locations and users to build the user-to-location map, then lists
    transactions so spend can be rolled up by location.
  inputs:
    type: object
    required:
    - fromDate
    - toDate
    properties:
      accessToken:
        type: string
        description: OAuth2 client-credentials bearer token with locations:read, users:read, and transactions:read scopes.
      fromDate:
        type: string
        format: date
        description: Inclusive lower bound for the transaction window (YYYY-MM-DD).
      toDate:
        type: string
        format: date
        description: Inclusive upper bound for the transaction window (YYYY-MM-DD).
  steps:
  - stepId: listLocations
    description: >-
      List the organization's locations to form the top level of the spend
      rollup.
    operationId: listLocations
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      locations: $response.body#/data
  - stepId: listUsers
    description: >-
      List users so each user's location_id can be joined to a location.
    operationId: listUsers
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      users: $response.body#/data
  - stepId: listTransactions
    description: >-
      List transactions for the date window so each transaction's user_id can
      be traced to a location for the spend rollup.
    operationId: listTransactions
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.accessToken
    - name: from_date
      in: query
      value: $inputs.fromDate
    - name: to_date
      in: query
      value: $inputs.toDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      transactions: $response.body#/data
  outputs:
    locations: $steps.listLocations.outputs.locations
    users: $steps.listUsers.outputs.users
    transactions: $steps.listTransactions.outputs.transactions

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-locate-location-spend-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.