Cross-Provider Workflow

Stripe Subscription to SendGrid Welcome Email

Version 1.0.0

Create a Stripe subscription, then send a welcome email with SendGrid.

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

Providers Orchestrated

stripe sendgrid

Workflows

subscription-welcome
Create a Stripe subscription, then email a SendGrid welcome.
Creates a subscription for a customer in Stripe and, on an active status, sends a welcome email via SendGrid.
2 steps inputs: customer, priceId, welcomeEmail outputs: subscriptionId, subscriptionStatus, welcomeEmailStatus
1
create-subscription
$sourceDescriptions.stripeApi.PostSubscriptions
Create a recurring subscription in Stripe.
2
welcome-email
$sourceDescriptions.sendgridApi.SendMail
Send a welcome email to the new subscriber via SendGrid.

Source API Descriptions

Arazzo Workflow Specification

pay-stripe-subscription-to-sendgrid-welcome-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Subscription to SendGrid Welcome Email
  summary: Create a Stripe subscription, then send a welcome email with SendGrid.
  description: >-
    A cross-provider onboarding workflow that creates a recurring subscription in
    Stripe and, once active, sends the new subscriber a welcome email through
    SendGrid's Mail Send API. Connects recurring billing to lifecycle messaging at
    the moment a customer commits to a plan.
  version: 1.0.0
sourceDescriptions:
  - name: stripeApi
    url: https://raw.githubusercontent.com/api-evangelist/stripe/refs/heads/main/openapi/stripe-subscriptions-api-openapi.yml
    type: openapi
  - name: sendgridApi
    url: https://raw.githubusercontent.com/api-evangelist/sendgrid/refs/heads/main/openapi/sendgrid-mail-send-api-openapi.yml
    type: openapi
workflows:
  - workflowId: subscription-welcome
    summary: Create a Stripe subscription, then email a SendGrid welcome.
    description: >-
      Creates a subscription for a customer in Stripe and, on an active status,
      sends a welcome email via SendGrid.
    inputs:
      type: object
      properties:
        customer:
          type: string
        priceId:
          type: string
        welcomeEmail:
          type: string
    steps:
      - stepId: create-subscription
        description: Create a recurring subscription in Stripe.
        operationId: $sourceDescriptions.stripeApi.PostSubscriptions
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            customer: $inputs.customer
            items[0][price]: $inputs.priceId
        successCriteria:
          - condition: $statusCode == 200
          - condition: $response.body#/status == "active"
        outputs:
          subscriptionId: $response.body#/id
          subscriptionStatus: $response.body#/status
      - stepId: welcome-email
        description: Send a welcome email to the new subscriber via SendGrid.
        operationId: $sourceDescriptions.sendgridApi.SendMail
        requestBody:
          contentType: application/json
          payload:
            personalizations:
              - to:
                  - email: $inputs.welcomeEmail
                subject: Welcome aboard
            from:
              email: welcome@example.com
            content:
              - type: text/plain
                value: Your subscription $steps.create-subscription.outputs.subscriptionId is now active.
        successCriteria:
          - condition: $statusCode == 202
        outputs:
          emailStatus: $statusCode
    outputs:
      subscriptionId: $steps.create-subscription.outputs.subscriptionId
      subscriptionStatus: $steps.create-subscription.outputs.subscriptionStatus
      welcomeEmailStatus: $steps.welcome-email.outputs.emailStatus

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/pay-stripe-subscription-to-sendgrid-welcome-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.