HubSpot · Arazzo Workflow

HubSpot Batch Import Contacts

Version 1.0.0

Batch-create a set of contacts then batch-read them back to verify.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSalesArazzoWorkflows

Provider

hubspot

Workflows

batch-import-contacts
Batch-create contacts then batch-read them back to verify.
Creates a batch of contacts from the supplied inputs array and then reads the created records back by their IDs to confirm the import.
2 steps inputs: contacts, readProperties outputs: createdResults, verifiedResults
1
batchCreate
batchCreateContacts
Create the supplied contacts in a single batch call and capture the results array of created records.
2
batchVerify
batchReadContacts
Read the freshly created contacts back by their IDs to verify the batch import persisted the records.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: HubSpot Batch Import Contacts
  summary: Batch-create a set of contacts then batch-read them back to verify.
  description: >-
    Loads a list of contacts into HubSpot CRM in a single call and confirms the
    import succeeded. The workflow batch-creates the supplied contact records,
    collects the new contact IDs, and then batch-reads those same IDs to verify
    the records were persisted. 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: batchApi
  url: ../openapi/hubspot-batch-api-openapi.yml
  type: openapi
workflows:
- workflowId: batch-import-contacts
  summary: Batch-create contacts then batch-read them back to verify.
  description: >-
    Creates a batch of contacts from the supplied inputs array and then reads
    the created records back by their IDs to confirm the import.
  inputs:
    type: object
    required:
    - contacts
    properties:
      contacts:
        type: array
        description: >-
          The array of contact inputs to create. Each item is an object with a
          properties map of contact field name/value pairs.
        items:
          type: object
          properties:
            properties:
              type: object
      readProperties:
        type: array
        description: The property names to return when verifying the created contacts.
        items:
          type: string
        default:
        - email
        - firstname
        - lastname
  steps:
  - stepId: batchCreate
    description: >-
      Create the supplied contacts in a single batch call and capture the
      results array of created records.
    operationId: batchCreateContacts
    requestBody:
      contentType: application/json
      payload:
        inputs: $inputs.contacts
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      createdResults: $response.body#/results
      firstCreatedId: $response.body#/results/0/id
  - stepId: batchVerify
    description: >-
      Read the freshly created contacts back by their IDs to verify the batch
      import persisted the records.
    operationId: batchReadContacts
    requestBody:
      contentType: application/json
      payload:
        properties: $inputs.readProperties
        inputs:
        - id: $steps.batchCreate.outputs.firstCreatedId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      verifiedResults: $response.body#/results
      verifiedStatus: $response.body#/status
  outputs:
    createdResults: $steps.batchCreate.outputs.createdResults
    verifiedResults: $steps.batchVerify.outputs.verifiedResults

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/hubspot-batch-import-contacts-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.