Cross-Provider Workflow

Stripe Payout to SendGrid Statement and Slack Notify

Version 1.0.0

Create a Stripe payout, email a statement, then notify Slack ops.

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

Providers Orchestrated

stripe sendgrid slack

Workflows

payout-statement-and-notify
Create a Stripe payout, email a SendGrid statement, notify Slack.
Creates a payout in Stripe, emails an accounting contact a statement via SendGrid, and posts a Slack notification.
3 steps inputs: accountingEmail, amount, channel, currency outputs: emailStatus, payoutId, slackPosted
1
create-payout
$sourceDescriptions.stripeApi.postPayouts
Initiate a payout from the Stripe balance.
2
email-statement
$sourceDescriptions.sendgridApi.SendMail
Email the accounting contact a payout statement via SendGrid.
3
slack-notify
$sourceDescriptions.slackApi.postChatPostmessage
Post a payout confirmation into a Slack channel.

Source API Descriptions

Arazzo Workflow Specification

pay-stripe-payout-to-sendgrid-and-slack-workflow.yml Raw ↑
arazzo: 1.0.1
info:
  title: Stripe Payout to SendGrid Statement and Slack Notify
  summary: Create a Stripe payout, email a statement, then notify Slack ops.
  description: >-
    A three-provider finance workflow that initiates a payout through Stripe's
    Payouts API, emails an accounting contact a payout statement via SendGrid's Mail
    Send API, and posts a confirmation into a Slack channel. Gives finance both a
    durable email record and a real-time team notification for every payout.
  version: 1.0.0
sourceDescriptions:
  - name: stripeApi
    url: https://raw.githubusercontent.com/api-evangelist/stripe/refs/heads/main/openapi/stripe-payouts-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
  - name: slackApi
    url: https://raw.githubusercontent.com/api-evangelist/slack/refs/heads/main/openapi/slack-chat-api-openapi.yml
    type: openapi
workflows:
  - workflowId: payout-statement-and-notify
    summary: Create a Stripe payout, email a SendGrid statement, notify Slack.
    description: >-
      Creates a payout in Stripe, emails an accounting contact a statement via
      SendGrid, and posts a Slack notification.
    inputs:
      type: object
      properties:
        amount:
          type: integer
        currency:
          type: string
        accountingEmail:
          type: string
        channel:
          type: string
    steps:
      - stepId: create-payout
        description: Initiate a payout from the Stripe balance.
        operationId: $sourceDescriptions.stripeApi.postPayouts
        requestBody:
          contentType: application/x-www-form-urlencoded
          payload:
            amount: $inputs.amount
            currency: $inputs.currency
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          payoutId: $response.body#/id
          payoutAmount: $response.body#/amount
      - stepId: email-statement
        description: Email the accounting contact a payout statement via SendGrid.
        operationId: $sourceDescriptions.sendgridApi.SendMail
        requestBody:
          contentType: application/json
          payload:
            personalizations:
              - to:
                  - email: $inputs.accountingEmail
                subject: Payout statement
            from:
              email: finance@example.com
            content:
              - type: text/plain
                value: Payout $steps.create-payout.outputs.payoutId for $steps.create-payout.outputs.payoutAmount has been initiated.
        successCriteria:
          - condition: $statusCode == 202
        outputs:
          emailStatus: $statusCode
      - stepId: slack-notify
        description: Post a payout confirmation into a Slack channel.
        operationId: $sourceDescriptions.slackApi.postChatPostmessage
        requestBody:
          contentType: application/json
          payload:
            channel: $inputs.channel
            text: Payout $steps.create-payout.outputs.payoutId initiated and statement emailed.
        successCriteria:
          - condition: $statusCode == 200
        outputs:
          posted: $response.body#/ok
    outputs:
      payoutId: $steps.create-payout.outputs.payoutId
      emailStatus: $steps.email-statement.outputs.emailStatus
      slackPosted: $steps.slack-notify.outputs.posted

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-payout-to-sendgrid-and-slack-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.