Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Stripe Dashboard
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
    Overview
    Workflows
    Set up workflows
    Use cases
Event destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context ProtocolBuild agentic AI SaaS Billing workflows
Security and privacy
Security
Stripebot web crawler
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesWorkflows

WorkflowsPublic preview

Learn how to automate workflows without code in the Dashboard.

Stripe Workflows is a workflow product with a visual builder in the Stripe Dashboard that lets you automate tasks and create custom flows, without writing code. Workflows are ideal for multi-step processes and can span across multiple Stripe products, allowing you to build more efficient processes, enforce business rules, and reduce manual effort.

The Workflows visual builder in the Dashboard

The Workflows visual builder in the Dashboard

Each workflow starts with a trigger and continues through a series of steps that define what happens next. You can use conditional logic to create different paths, sequence actions so they run in order, and automate decisions based on data. This allows you to build workflows that adapt to different scenarios and handle tasks dynamically. To learn more about workflows, see Workflows.

Get started

If you don’t have a Stripe account, sign up now.

Workflows

Learn about the anatomy of a workflow and how it works.

Set up workflows

Create, test, and observe workflows in the Dashboard without code.

Use cases

See example business scenarios you can automate with workflows.

Features

Workflows allows you to:

Create workflowsAutomate tasks triggered by specific API events. Each event initiates a workflow run, and workflows can have multiple runs over time. Review past runs to see when they’re triggered and how they performed.
Rerun workflowsRerun a workflow again using the original event that triggered it. This is useful when addressing failed workflow runs.
Use conditional logicAutomate decisions based on set conditions (if x, then y). You can create a simple branch with an “if-else” structure, or a more complex branch with multiple paths where each branch handles different conditions.
Apply trigger conditionsRun a workflow only when specific criteria are met, such as run only if a specific field on a customer object changes. This helps prevent unnecessary runs, ensuring workflows run only when applicable conditions apply.
Test with SandboxesSafely test your workflows in Sandboxes before going live. Sandboxes provide a secure, isolated environment that allows you to safely develop and test your workflows.
Evaluate with WorkbenchWhen inspecting a workflow run in the Dashboard, you can click a specific step, such as an action, to view more information or choose to inspect it in Workbench.

Workflows have the following built-in features:

Recursion detectionTo prevent the creation of unintentional infinite loops or runaway workflows, Workflows automatically identifies and stops such recursions. For example, consider a workflow triggered by a customer event, that also includes an action to update the customer’s information. Performing this action generates another customer updated event, which could re-trigger the same workflow, leading to a potential infinite loop. To prevent this, Workflows allows recursion to occur only once; however, if it happens more than once, the workflow ends with an error.
Automatic retriesTo improve reliability, Workflows automatically retries actions that encounter retriable errors. This means that if an action fails due to a transient issue, the workflow attempts to run it again without requiring any manual intervention from you. This ensures temporary errors don’t cause workflow failures, promoting smooth and consistent workflow runs.
IdempotencyIdempotency ensures that actions are only run once, even if the same request is submitted multiple times. Workflows automatically handles duplicate requests, preventing unintended repeated actions. This safeguard helps ensure consistency when network issues or errors might lead to retrying requests.
ObservabilityObservability helps you monitor, troubleshoot, and resolve issues within your workflow quickly. Workflows provides the following to help with observability:
  • Run status: Each workflow can have one of three statuses, “running”, “succeeded”, or “failed”. In the case of a failure, a detailed error message is provided to help you quickly diagnose and resolve the issue.
  • Run details: You can inspect individual workflow runs to view the exact run path, including which steps were executed, the parameters used, and any errors encountered. This visibility allows you to quickly pinpoint which step in your workflow caused an error as well as understand the path an execution took.
Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Join our early access program.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc