ServiceNow · Arazzo Workflow

ServiceNow Cart Checkout

Version 1.0.0

Add a catalog item to the cart, review the cart contents, then submit the order.

1 workflow 1 source API 1 provider
View Spec View on GitHub AutomationCloud ServicesDigital WorkflowsEnterprise PlatformITSMProcessesT1Workflow-AutomationWorkflowsArazzoWorkflows

Provider

servicenow

Workflows

cart-checkout
Add an item to the cart and check out.
Adds a catalog item to the cart, reviews the cart, and submits the cart as an order.
3 steps inputs: itemSysId, quantity, variables outputs: cartItemId, requestNumber
1
addToCart
addItemToCart
Add the catalog item to the current user's cart with the supplied quantity and variables.
2
reviewCart
getCart
Retrieve the current cart to review its contents before submitting the order.
3
submitOrder
submitCartOrder
Submit all items in the cart as a single service catalog request.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: ServiceNow Cart Checkout
  summary: Add a catalog item to the cart, review the cart contents, then submit the order.
  description: >-
    The shopping-cart checkout path through the Service Catalog API. The
    workflow adds a catalog item to the current user's cart with a quantity and
    variable values, retrieves the cart to review its contents, and submits the
    cart as a single service catalog request, returning the request number. The
    Service Catalog API wraps the cart item and order result under a result
    object. Every request is written inline.
  version: 1.0.0
sourceDescriptions:
- name: serviceCatalogApi
  url: ../openapi/servicenow-service-catalog-api-openapi.yml
  type: openapi
workflows:
- workflowId: cart-checkout
  summary: Add an item to the cart and check out.
  description: >-
    Adds a catalog item to the cart, reviews the cart, and submits the cart as
    an order.
  inputs:
    type: object
    required:
    - itemSysId
    properties:
      itemSysId:
        type: string
        description: The sys_id of the catalog item to add to the cart.
      quantity:
        type: integer
        description: The quantity to add.
      variables:
        type: object
        description: The variable name/value pairs required by the catalog item.
  steps:
  - stepId: addToCart
    description: >-
      Add the catalog item to the current user's cart with the supplied
      quantity and variables.
    operationId: addItemToCart
    parameters:
    - name: sys_id
      in: path
      value: $inputs.itemSysId
    requestBody:
      contentType: application/json
      payload:
        sysparm_quantity: $inputs.quantity
        variables: $inputs.variables
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      cartItemId: $response.body#/result/cart_item_id
  - stepId: reviewCart
    description: >-
      Retrieve the current cart to review its contents before submitting the
      order.
    operationId: getCart
    successCriteria:
    - condition: $statusCode == 200
  - stepId: submitOrder
    description: >-
      Submit all items in the cart as a single service catalog request.
    operationId: submitCartOrder
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      requestNumber: $response.body#/result/request_number
      requestId: $response.body#/result/request_id
  outputs:
    cartItemId: $steps.addToCart.outputs.cartItemId
    requestNumber: $steps.submitOrder.outputs.requestNumber

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/servicenow-cart-checkout-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 email required.

A second provider on the same verified email joins the account you already have.