Cross-Provider Workflow

Mailchimp Member to Salesforce Lead

Version 1.0.0

Add a Mailchimp member, then create a matching Salesforce lead.

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

Providers Orchestrated

mailchimp salesforce

Workflows

mailchimp-member-to-salesforce-lead
Subscribe a Mailchimp member, then create a Salesforce lead.
Subscribes a member to a Mailchimp audience, then inserts a matching Lead record into Salesforce carrying the same email and name.
2 steps inputs: company, email, firstName, lastName, listId outputs: leadId, memberId
1
subscribe-member
$sourceDescriptions.mailchimpMarketingApi.postListsIdMembers
Subscribe the new member to a Mailchimp audience list.
2
create-lead
$sourceDescriptions.salesforceRestApi.createRecord
Create a matching Lead record in Salesforce.

Source API Descriptions

Arazzo Workflow Specification

crm-mailchimp-member-to-salesforce-lead-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Mailchimp Member to Salesforce Lead
  summary: Add a Mailchimp member, then create a matching Salesforce lead.
  description: >-
    A cross-provider workflow that subscribes a new member to a Mailchimp
    audience and then creates a corresponding Lead in Salesforce so the sales
    team can follow up. Demonstrates promoting a freshly captured email
    subscriber into the CRM as an actionable lead.
  version: 1.0.0
sourceDescriptions:
  - name: mailchimpMarketingApi
    url: https://raw.githubusercontent.com/api-evangelist/mailchimp/refs/heads/main/openapi/mailchimp-lists-api-openapi.yml
    type: openapi
  - name: salesforceRestApi
    url: https://raw.githubusercontent.com/api-evangelist/salesforce/refs/heads/main/openapi/salesforce-rest-api-openapi.yml
    type: openapi
workflows:
  - workflowId: mailchimp-member-to-salesforce-lead
    summary: Subscribe a Mailchimp member, then create a Salesforce lead.
    description: >-
      Subscribes a member to a Mailchimp audience, then inserts a matching Lead
      record into Salesforce carrying the same email and name.
    inputs:
      type: object
      properties:
        email:
          type: string
        firstName:
          type: string
        lastName:
          type: string
        company:
          type: string
        listId:
          type: string
    steps:
      - stepId: subscribe-member
        description: Subscribe the new member to a Mailchimp audience list.
        operationId: $sourceDescriptions.mailchimpMarketingApi.postListsIdMembers
        parameters:
          - name: list_id
            in: path
            value: $inputs.listId
        requestBody:
          contentType: application/json
          payload:
            email_address: $inputs.email
            status: subscribed
            merge_fields:
              FNAME: $inputs.firstName
              LNAME: $inputs.lastName
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          memberId: $response.body#/id
          memberStatus: $response.body#/status
      - stepId: create-lead
        description: Create a matching Lead record in Salesforce.
        operationId: $sourceDescriptions.salesforceRestApi.createRecord
        parameters:
          - name: sobjectType
            in: path
            value: Lead
        requestBody:
          contentType: application/json
          payload:
            FirstName: $inputs.firstName
            LastName: $inputs.lastName
            Company: $inputs.company
            Email: $inputs.email
            LeadSource: Mailchimp
        successCriteria:
          - condition: $statusCode == 201
          - condition: $response.body#/success == true
        outputs:
          leadId: $response.body#/id
    outputs:
      memberId: $steps.subscribe-member.outputs.memberId
      leadId: $steps.create-lead.outputs.leadId

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-mailchimp-member-to-salesforce-lead-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.