Pipedream home page
Search...
⌘K
Ask AI
Join community
Sign up
Search...
Navigation
Control Flow
End Workflow
Getting Started
Introduction
Workspaces
Projects
Pipedream Connect
Overview
Quickstart
Use Cases
Managed Auth
Tool Use
MCP
API Proxy
Workflows
API & SDK Reference
Workflows
Overview
Quickstart
Building Workflows
Triggers
Actions
HTTP
Using Props
Write your own code
Control Flow
Overview
Branching - If/Else
Branching - Switch
Branching - Parallel
Delay
Filter
End Workflow
Inspect Events
Handling Errors
Sharing Workflows
Settings
Data Management
Event History
Environment Variables
GitHub Sync
Custom Domains
Virtual Private Clouds
Limits
Platform
Apps
Components
REST API
CLI
Pricing
Account
Security
Troubleshooting
Glossary Of Terms
Additional Resources
Support
Status
Terms of Service
Privacy Policy
On this page
End Workflow Using a Pre-Built Action
End Workflow in Code
Workflows
Building Workflows
Control Flow
End Workflow
Copy page
To terminate the workflow prior to the last step, use the
End Workflow
pre-built action or
$.flow.exit()
in code.
End Workflow Using a Pre-Built Action
Select and configure the End Workflow action from the step selector
When the step runs, the workflow execution will stop
You may configure an optional reason for ending the workflow execution. This reason will be surfaced when inspecting the event execution.
End Workflow in Code
Check the reference for your preferred language to learn how to end the workflow execution in code.
Ending a workflow in Node.js
Ending a workflow in Python
Was this page helpful?
Yes
No
Filter
Inspect Events
Assistant
Responses are generated using AI and may contain mistakes.