Cross-Provider Workflow

HubSpot Deal Won to Salesforce Marketing Journey

Version 1.0.0

Read a won HubSpot deal, then fire a Salesforce Marketing Cloud journey.

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

Providers Orchestrated

hubspot salesforce

Workflows

hubspot-deal-to-marketing-journey
Read a won HubSpot deal, then fire a Marketing Cloud journey event.
Retrieves a closed-won deal from HubSpot, then fires a journey entry event in Salesforce Marketing Cloud to enroll the customer in a post-purchase automation.
2 steps inputs: contactKey, dealId, eventDefinitionKey outputs: amount, dealName, eventStatus
1
get-deal
$sourceDescriptions.hubspotDealsApi.getDeal
Retrieve the closed-won deal from HubSpot.
2
fire-journey
$sourceDescriptions.salesforceMarketingCloudApi.fireJourneyEvent
Fire a Salesforce Marketing Cloud journey entry event.

Source API Descriptions

Arazzo Workflow Specification

crm-hubspot-deal-won-to-salesforce-journey-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: HubSpot Deal Won to Salesforce Marketing Journey
  summary: Read a won HubSpot deal, then fire a Salesforce Marketing Cloud journey.
  description: >-
    A cross-provider workflow that reads a closed-won deal in HubSpot and
    triggers a post-purchase journey in Salesforce Marketing Cloud by firing a
    journey entry event for the customer. Demonstrates connecting a sales
    milestone in one CRM to an automated marketing journey in another platform.
  version: 1.0.0
sourceDescriptions:
  - name: hubspotDealsApi
    url: https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/openapi/hubspot-deals-api-openapi.yml
    type: openapi
  - name: salesforceMarketingCloudApi
    url: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/openapi/salesforce-journeys-api-openapi.yml
    type: openapi
workflows:
  - workflowId: hubspot-deal-to-marketing-journey
    summary: Read a won HubSpot deal, then fire a Marketing Cloud journey event.
    description: >-
      Retrieves a closed-won deal from HubSpot, then fires a journey entry event
      in Salesforce Marketing Cloud to enroll the customer in a post-purchase
      automation.
    inputs:
      type: object
      properties:
        dealId:
          type: string
        contactKey:
          type: string
        eventDefinitionKey:
          type: string
    steps:
      - stepId: get-deal
        description: Retrieve the closed-won deal from HubSpot.
        operationId: $sourceDescriptions.hubspotDealsApi.getDeal
        parameters:
          - name: dealId
            in: path
            value: $inputs.dealId
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          dealName: $response.body#/properties/dealname
          amount: $response.body#/properties/amount
      - stepId: fire-journey
        description: Fire a Salesforce Marketing Cloud journey entry event.
        operationId: $sourceDescriptions.salesforceMarketingCloudApi.fireJourneyEvent
        requestBody:
          contentType: application/json
          payload:
            ContactKey: $inputs.contactKey
            EventDefinitionKey: $inputs.eventDefinitionKey
            Data:
              dealName: $steps.get-deal.outputs.dealName
              amount: $steps.get-deal.outputs.amount
        successCriteria:
          - condition: $statusCode == 201
        outputs:
          eventStatus: $statusCode
    outputs:
      dealName: $steps.get-deal.outputs.dealName
      amount: $steps.get-deal.outputs.amount
      eventStatus: $steps.fire-journey.outputs.eventStatus

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-hubspot-deal-won-to-salesforce-journey-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.