Cross-Provider Workflow

Stripe Customer to SendGrid Contact

Version 1.0.0

Create a Stripe customer, then upsert them as a SendGrid marketing contact.

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

Providers Orchestrated

stripe sendgrid

Workflows

customer-to-contact
Create a Stripe customer and upsert them as a SendGrid contact.
Creates a customer in Stripe, then upserts that customer's email as a contact in SendGrid Marketing Campaigns.
2 steps inputs: email, listId, name outputs: customerId, jobId
1
create-customer
$sourceDescriptions.stripeCustomersApi.postCustomers
Create a new customer record in Stripe.
2
upsert-contact
$sourceDescriptions.sendgridContactsApi.UpdateContact
Upsert the customer as a SendGrid marketing contact.

Source API Descriptions

Arazzo Workflow Specification

geo-stripe-customer-sendgrid-contact.yml Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Customer to SendGrid Contact
  summary: Create a Stripe customer, then upsert them as a SendGrid marketing contact.
  description: >-
    A high-value cross-domain workflow that creates a customer record in Stripe and
    synchronizes them into SendGrid's Marketing Campaigns contacts by upserting a
    contact. Demonstrates pairing a payments provider with an email marketing provider
    to keep customer and marketing systems in sync.
  version: 1.0.0
sourceDescriptions:
  - name: stripeCustomersApi
    url: https://raw.githubusercontent.com/api-evangelist/stripe/refs/heads/main/openapi/stripe-customers-api-openapi.yml
    type: openapi
  - name: sendgridContactsApi
    url: https://raw.githubusercontent.com/api-evangelist/sendgrid/refs/heads/main/openapi/sendgrid-contacts-api-openapi.yml
    type: openapi
workflows:
  - workflowId: customer-to-contact
    summary: Create a Stripe customer and upsert them as a SendGrid contact.
    description: >-
      Creates a customer in Stripe, then upserts that customer's email as a contact in
      SendGrid Marketing Campaigns.
    inputs:
      type: object
      properties:
        email:
          type: string
        name:
          type: string
        listId:
          type: string
    steps:
      - stepId: create-customer
        description: Create a new customer record in Stripe.
        operationId: $sourceDescriptions.stripeCustomersApi.postCustomers
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            email: $inputs.email
            name: $inputs.name
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          customerId: $response.body#/id
          customerEmail: $response.body#/email
      - stepId: upsert-contact
        description: Upsert the customer as a SendGrid marketing contact.
        operationId: $sourceDescriptions.sendgridContactsApi.UpdateContact
        requestBody:
          contentType: application/json
          payload:
            list_ids:
              - $inputs.listId
            contacts:
              - email: $steps.create-customer.outputs.customerEmail
        successCriteria:
          - condition: $statusCode == 202
        outputs:
          jobId: $response.body#/job_id
    outputs:
      customerId: $steps.create-customer.outputs.customerId
      jobId: $steps.upsert-contact.outputs.jobId

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/geo-stripe-customer-sendgrid-contact"
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.