Cross-Provider Workflow

Salesforce to HubSpot Contact Mirror

Version 1.0.0

Query a Salesforce contact, then mirror it into HubSpot CRM.

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

Providers Orchestrated

salesforce hubspot

Workflows

salesforce-to-hubspot-mirror
Query a Salesforce contact, then create it in HubSpot.
Runs a SOQL query against Salesforce to find a contact by email, then creates a mirrored contact record in HubSpot carrying the same email and name properties.
2 steps inputs: email, firstName, lastName outputs: hubspotId, totalSize
1
query-salesforce
$sourceDescriptions.salesforceRestApi.executeQuery
Query Salesforce for the source contact by email.
2
create-hubspot-contact
$sourceDescriptions.hubspotContactsApi.createContact
Mirror the contact into HubSpot CRM.

Source API Descriptions

Arazzo Workflow Specification

crm-salesforce-hubspot-contact-mirror-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Salesforce to HubSpot Contact Mirror
  summary: Query a Salesforce contact, then mirror it into HubSpot CRM.
  description: >-
    A cross-provider workflow that reads a contact from Salesforce using a SOQL
    query and mirrors that record into HubSpot as a new contact. Demonstrates
    keeping two CRMs aligned by copying a record of truth from Salesforce into
    HubSpot for teams that operate across both systems.
  version: 1.0.0
sourceDescriptions:
  - name: salesforceRestApi
    url: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/openapi/salesforce-rest-api-openapi.yml
    type: openapi
  - name: hubspotContactsApi
    url: https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/openapi/hubspot-contacts-api-openapi.yml
    type: openapi
workflows:
  - workflowId: salesforce-to-hubspot-mirror
    summary: Query a Salesforce contact, then create it in HubSpot.
    description: >-
      Runs a SOQL query against Salesforce to find a contact by email, then
      creates a mirrored contact record in HubSpot carrying the same email and
      name properties.
    inputs:
      type: object
      properties:
        email:
          type: string
        firstName:
          type: string
        lastName:
          type: string
    steps:
      - stepId: query-salesforce
        description: Query Salesforce for the source contact by email.
        operationId: $sourceDescriptions.salesforceRestApi.executeQuery
        parameters:
          - name: q
            in: query
            value: SELECT Id, FirstName, LastName, Email FROM Contact WHERE Email = ':email'
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          totalSize: $response.body#/totalSize
      - stepId: create-hubspot-contact
        description: Mirror the contact into HubSpot CRM.
        operationId: $sourceDescriptions.hubspotContactsApi.createContact
        requestBody:
          contentType: application/json
          payload:
            properties:
              email: $inputs.email
              firstname: $inputs.firstName
              lastname: $inputs.lastName
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          hubspotId: $response.body#/id
    outputs:
      totalSize: $steps.query-salesforce.outputs.totalSize
      hubspotId: $steps.create-hubspot-contact.outputs.hubspotId

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/crm-salesforce-hubspot-contact-mirror-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.