Amberflo · Arazzo Workflow

Amberflo Create Customer and Assign Plan

Version 1.0.0

Create a customer account then assign a pricing plan to them.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Usage-Based BillingMeteringFinOpsAI Cost ManagementBillingMonetizationArazzoWorkflows

Provider

amberflo

Workflows

create-customer-and-assign-plan
Create a customer then assign a pricing plan to them.
Creates a customer account and assigns the supplied pricing plan product to that customer with an optional start time.
2 steps inputs: apiKey, customerEmail, customerId, customerName, productId, startTime outputs: assignedProductId, customerId
1
createCustomer
Create the customer account that the pricing plan will be assigned to.
2
assignPlan
Assign the pricing plan product to the newly created customer.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amberflo Create Customer and Assign Plan
  summary: Create a customer account then assign a pricing plan to them.
  description: >-
    The monetization setup flow for a new account. It creates a customer in the
    Billing API and then assigns a pricing plan (product) to that customer so
    their usage will be priced. 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: customersApi
  url: ../openapi/amberflo-customers-api-openapi.yml
  type: openapi
- name: pricingPlansApi
  url: ../openapi/amberflo-pricing-plans-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-customer-and-assign-plan
  summary: Create a customer then assign a pricing plan to them.
  description: >-
    Creates a customer account and assigns the supplied pricing plan product to
    that customer with an optional start time.
  inputs:
    type: object
    required:
    - apiKey
    - customerId
    - customerName
    - productId
    properties:
      apiKey:
        type: string
        description: Amberflo API key supplied in the X-API-KEY header.
      customerId:
        type: string
        description: Unique customer identifier from your system.
      customerName:
        type: string
        description: Customer display name.
      customerEmail:
        type: string
        description: Optional customer contact email.
      productId:
        type: string
        description: Product or pricing plan identifier to assign.
      startTime:
        type: integer
        description: Optional plan start time in Unix milliseconds.
  steps:
  - stepId: createCustomer
    description: >-
      Create the customer account that the pricing plan will be assigned to.
    operationId: createCustomer
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        customerId: $inputs.customerId
        customerName: $inputs.customerName
        customerEmail: $inputs.customerEmail
        lifecycleStage: ACTIVE
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      customerId: $response.body#/customerId
  - stepId: assignPlan
    description: >-
      Assign the pricing plan product to the newly created customer.
    operationId: assignPricingPlan
    parameters:
    - name: X-API-KEY
      in: header
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        customerId: $steps.createCustomer.outputs.customerId
        productId: $inputs.productId
        startTime: $inputs.startTime
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      assignedCustomerId: $response.body#/customerId
      assignedProductId: $response.body#/productId
  outputs:
    customerId: $steps.createCustomer.outputs.customerId
    assignedProductId: $steps.assignPlan.outputs.assignedProductId

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/amberflo-create-customer-and-assign-plan-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.