Cross-Provider Workflow

Shopify Inventory Restock to Slack Confirmation

Version 1.0.0

Set a Shopify inventory level, then post a restock confirmation to a Slack channel.

1 workflow 2 source APIs 2 providers
View Spec View on GitHub ArazzoWorkflowsCross-Provider

Providers Orchestrated

shopify slack

Workflows

restock-and-confirm
Set a Shopify inventory level and post a Slack restock confirmation.
Sets the available inventory level for an item at a Shopify location, then posts a restock confirmation to a Slack channel.
2 steps inputs: available, inventoryItemId, locationId, slackChannel, slackToken outputs: availableNow, messageTs
1
set-inventory
$sourceDescriptions.shopifyApi.setInventoryLevel
Set the available inventory level at the Shopify location.
2
post-restock
$sourceDescriptions.slackApi.postChatPostmessage
Post a restock confirmation to the Slack channel.

Source API Descriptions

Arazzo Workflow Specification

shop-inventory-restock-slack-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Shopify Inventory Restock to Slack Confirmation
  summary: Set a Shopify inventory level, then post a restock confirmation to a Slack channel.
  description: >-
    A warehouse workflow that sets the available inventory level for an item at a
    Shopify location and posts a restock confirmation to a Slack channel so the
    team knows stock is replenished. Demonstrates pairing a commerce platform's
    inventory operations with a team chat provider.
  version: 1.0.0
sourceDescriptions:
  - name: shopifyApi
    url: https://raw.githubusercontent.com/api-evangelist/shopify/refs/heads/main/openapi/shopify-admin-rest-api-openapi.yml
    type: openapi
  - name: slackApi
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-openapi.yml
    type: openapi
workflows:
  - workflowId: restock-and-confirm
    summary: Set a Shopify inventory level and post a Slack restock confirmation.
    description: >-
      Sets the available inventory level for an item at a Shopify location, then
      posts a restock confirmation to a Slack channel.
    inputs:
      type: object
      properties:
        inventoryItemId:
          type: integer
        locationId:
          type: integer
        available:
          type: integer
        slackToken:
          type: string
        slackChannel:
          type: string
    steps:
      - stepId: set-inventory
        description: Set the available inventory level at the Shopify location.
        operationId: $sourceDescriptions.shopifyApi.setInventoryLevel
        requestBody:
          contentType: application/json
          payload:
            inventory_item_id: $inputs.inventoryItemId
            location_id: $inputs.locationId
            available: $inputs.available
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          availableNow: $response.body#/inventory_level/available
      - stepId: post-restock
        description: Post a restock confirmation to the Slack channel.
        operationId: $sourceDescriptions.slackApi.postChatPostmessage
        parameters:
          - name: token
            in: header
            value: $inputs.slackToken
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            channel: $inputs.slackChannel
            text: Inventory has been restocked and is available again.
        successCriteria:
          - condition: $statusCode == 200
          - condition: $response.body#/ok == true
        outputs:
          messageTs: $response.body#/ts
    outputs:
      availableNow: $steps.set-inventory.outputs.availableNow
      messageTs: $steps.post-restock.outputs.messageTs

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/shop-inventory-restock-slack-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.