Amazon Organizations · Arazzo Workflow

Amazon Organizations Capture Management Account Identity

Version 1.0.0

Create an organization and capture the management account identity from the response.

1 workflow 1 source API 1 provider
View Spec View on GitHub Account ManagementConsolidated BillingGovernanceMulti-AccountOrganizationPoliciesArazzoWorkflows

Provider

amazon-organizations

Workflows

capture-management-account-identity
Create an organization and surface the management account identity.
Calls CreateOrganization and reads the documented MasterAccountId, MasterAccountArn, and MasterAccountEmail response fields so the management account identity is available as workflow outputs.
1 step inputs: featureSet, region outputs: masterAccountArn, masterAccountEmail, masterAccountId, organizationArn, organizationId
1
createOrganization
Create the organization so AWS designates the calling account as the management account and returns its identity in the response.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Organizations Capture Management Account Identity
  summary: Create an organization and capture the management account identity from the response.
  description: >-
    Creates a new AWS organization and extracts the management (master)
    account identity from the documented response, returning the management
    account id, ARN, and email alongside the organization id and ARN. This is
    the identity-capture pattern used to seed downstream tooling and audit
    records with the canonical management account details produced at
    organization creation time. The CreateOrganization request is spelled out
    inline, including the AWS JSON protocol X-Amz-Target header and the
    application/x-amz-json-1.1 body.


    Adaptation note: the published Amazon Organizations OpenAPI description in
    this provider directory defines only the CreateOrganization operation.
    The account, organizational unit, policy, root, and handshake operations
    that would normally consume this identity are not present in the
    specification, so this workflow stops at capturing the documented
    response fields rather than chaining into invented operations.
  version: 1.0.0
sourceDescriptions:
- name: organizationsApi
  url: ../openapi/amazon-organizations-organizations-api-openapi.yml
  type: openapi
workflows:
- workflowId: capture-management-account-identity
  summary: Create an organization and surface the management account identity.
  description: >-
    Calls CreateOrganization and reads the documented MasterAccountId,
    MasterAccountArn, and MasterAccountEmail response fields so the management
    account identity is available as workflow outputs.
  inputs:
    type: object
    properties:
      featureSet:
        type: string
        description: The feature set to enable on the new organization.
        enum:
        - ALL
        - CONSOLIDATED_BILLING
        default: ALL
      region:
        type: string
        description: AWS region for the organizations regional endpoint.
        default: us-east-1
  steps:
  - stepId: createOrganization
    description: >-
      Create the organization so AWS designates the calling account as the
      management account and returns its identity in the response.
    operationId: CreateOrganization
    parameters:
    - name: X-Amz-Target
      in: header
      value: AWSOrganizationsV20161128.CreateOrganization
    requestBody:
      contentType: application/x-amz-json-1.1
      payload:
        FeatureSet: $inputs.featureSet
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      organizationId: $response.body#/Id
      organizationArn: $response.body#/Arn
      masterAccountId: $response.body#/MasterAccountId
      masterAccountArn: $response.body#/MasterAccountArn
      masterAccountEmail: $response.body#/MasterAccountEmail
  outputs:
    organizationId: $steps.createOrganization.outputs.organizationId
    organizationArn: $steps.createOrganization.outputs.organizationArn
    masterAccountId: $steps.createOrganization.outputs.masterAccountId
    masterAccountArn: $steps.createOrganization.outputs.masterAccountArn
    masterAccountEmail: $steps.createOrganization.outputs.masterAccountEmail

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/amazon-organizations-capture-management-account-identity-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.