Use the Filter action to quickly stop or continue workflows on certain conditions.
Add a filter action to your workflow by searching for the Filter app in a new step.The Filter app includes several built-in actions: Continue Workflow on Condition, Exit Workflow on Condition and Exit Workflow on Custom Condition.In each of these actions, the Value is the subject of the condition, and the Condition is the operand to compare the value against.For example, to only process orders with a status = ready
With this action, only when values that pass a set condition will the workflow continue to execute steps after this filter.
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Pipedream","colors":{"primary":"#095c32","light":"#19f995","dark":"#0f9954"},"logo":{"light":"https://mintcdn.com/pipedream/J-J7n6QGsUEW1AZY/logo/pipedream_workday_lockup.png?fit=max\u0026auto=format\u0026n=J-J7n6QGsUEW1AZY\u0026q=85\u0026s=20f01e899a0e49424e3d16d1e84adc60","dark":"https://mintcdn.com/pipedream/J-J7n6QGsUEW1AZY/logo/pipedream_workday_lockup_dark.png?fit=max\u0026auto=format\u0026n=J-J7n6QGsUEW1AZY\u0026q=85\u0026s=cc9220550d73764499689dbac60a3615","href":"https://pipedream.com/docs"},"favicon":"https://mintcdn.com/pipedream/l2pOewTBZm3Zi3d2/logo/pipedream_icon.svg?fit=max\u0026auto=format\u0026n=l2pOewTBZm3Zi3d2\u0026q=85\u0026s=561dca46a7ea8017f3146eb1899554a6","api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","typescript","python","java","go"]},"mdx":{"auth":{"method":"bearer"},"server":"https://api.pipedream.com/v1"}},"appearance":{"default":"system"},"background":{"decoration":"grid"},"navbar":{"links":[{"icon":"slack","href":"https://pipedream.com/join-slack","label":"Join community"}],"primary":{"type":"button","label":"Sign up for free","href":"https://pipedream.com/auth/signup"}},"footer":{"socials":{"github":"https://github.com/PipedreamHQ/pipedream","twitter":"https://twitter.com/pipedream","slack":"https://pipedream.com/join-slack"}},"seo":{"metatags":{"robots":"index, follow","charset":"UTF-8","viewport":"width=device-width, initial-scale=1.0","description":"Pipedream provides the toolkit to add thousands of integrations to your app and enables you to automate any process.","keywords":"api, mcp, ai, integrations, pipedream, workflow, automation, connect, apis","author":"Pipedream","googlebot":"index, follow","language":"en","og:type":"website","og:url":"https://pipedream.com","og:description":"Pipedream provides the toolkit to add thousands of integrations to your app and enables you to automate any process.","og:site_name":"Pipedream","og:locale":"en_US","twitter:card":"summary","twitter:site":"@pipedream","twitter:creator":"@pipedream","twitter:title":"Pipedream","twitter:description":"Pipedream provides the toolkit to add thousands of integrations to your app and enables you to automate any process.","twitter:image":"https://pipedream.com/image.jpg","twitter:image:alt":"Pipedream Logo","canonical":"https://pipedream.com/docs"}},"fonts":{"family":"Geist Sans","source":"https://cdn.jsdelivr.net/npm/geist@1.3.1/dist/fonts/geist-sans/Geist-Variable.woff2","format":"woff2"},"styling":{"eyebrows":"breadcrumbs","latex":false},"contextual":{"options":["copy","view","chatgpt","claude","mcp"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"pipedream","hasAudioNarration":false,"actualSubdomain":"pipedream","customDomains":["pipedream.com"],"gitSource":{"_id":"6ad7fa91692c7c940ff17a0e","type":"github","owner":"pipedreamhq","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6af639f1babeee4171cda659","clientVersion":"0.0.4117","searchFilterCounts":[{"language":"default","tag":"Connect","count":218},{"language":"default","tag":"Documentation","count":126},{"language":"default","tag":"Conduit","count":77},{"language":"default","tag":"Connect API","count":63},{"language":"default","tag":"Workflows","count":62},{"language":"default","tag":"Guides","count":41},{"language":"default","tag":"Building Workflows","count":39},{"language":"default","tag":"API","count":35},{"language":"default","tag":"Write your own code","count":22},{"language":"default","tag":"Platform","count":21}]},"assistantConfig":{"enableStarterQuestions":true,"deflection":{"enabled":true,"email":"support@pipedream.com"}},"basePath":"/docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[{"_id":"68eabbe039150a938c8e901c","deploymentId":"6852099e30dd5c4192fd61e1","questionText":"How do I get started with Pipedream Connect?","status":"active","generatedBy":"manual","createdAt":"2025-10-11T20:19:44.842Z","updatedAt":"2025-10-11T20:19:44.842Z","__v":0}],"googleFontsInlined":false},"customCss":[{"filePath":"styles/custom.css","content":"#banner{min-height:64px;display:flex;align-items:center;justify-content:center;gap:10px;padding:12px 24px;position:relative;background-color:rgba(239, 246, 255, 0.9)!important;border-top:1px solid rgb(191, 219, 254);border-bottom:1px solid rgb(191, 219, 254);box-shadow:0 1px 2px rgba(15, 23, 42, 0.08);transition:all 0.5s ease-out}:is(html.dark,body.dark) #banner{background-color:rgb(15, 23, 42)!important;border-top-color:rgb(51, 65, 85);border-bottom-color:rgb(51, 65, 85)}@media (max-width: 639px){#banner{flex-direction:row;align-items:center;gap:6px;padding:10px 10px}#banner::before{flex:0 0 auto;margin-right:2px}}#banner::before{content:\"\";width:120px;height:28px;background-image:url(\"https://pipedream.com/docs/images/wday_logo_no-TM_primary-RGB.svg\");background-size:contain;background-repeat:no-repeat;background-position:center;flex:0 0 auto}:is(html.dark,body.dark) #banner::before{background-image:url(\"https://pipedream.com/docs/images/wday_logo_no-TM_reversed-RGB.svg\")}@media (max-width: 639px){#banner::before{width:100px;height:24px}}#banner button{position:absolute;right:20px;top:50%;transform:translateY(-50%);padding:6px;border-radius:999px;color:rgb(37, 99, 235)!important;background:transparent;transition:color 0.2s ease, background-color 0.2s ease}#banner button svg{color:inherit;stroke:currentColor}#banner button:hover{background-color:rgba(191, 219, 254, 0.4);color:rgb(29, 78, 216)!important}:is(html.dark,body.dark) #banner button{color:rgb(191, 219, 254)!important}:is(html.dark,body.dark) #banner button:hover{background-color:rgba(51, 65, 85, 0.6);color:rgb(226, 232, 240)!important}@media (max-width: 639px){#banner button{top:12px;right:12px;transform:none}}#banner>div,#banner>div>p{display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;text-align:center;max-width:720px}#banner p{display:inline;margin:0}@media (max-width: 639px){#banner>div{width:100%;max-width:none;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:2px;text-align:left}#banner>div>p{display:block!important;width:100%;text-align:left}#banner p,#banner strong{text-align:left;line-height:1.3}}#banner,#banner *,#banner p,#banner strong,#banner p strong{color:rgb(71, 85, 105)!important;font-weight:500;font-size:1rem}#banner p strong{font-weight:500}:is(html.dark,body.dark) #banner,:is(html.dark,body.dark) #banner *,:is(html.dark,body.dark) #banner p,:is(html.dark,body.dark) #banner strong,:is(html.dark,body.dark) #banner p strong{color:rgb(219, 234, 254)!important}@media (min-width: 640px){#banner strong,#banner p strong{font-size:1.125rem}}#banner a[href*=\"newsroom.workday.com\"]:nth-of-type(1){display:inline-flex!important;align-items:center;justify-content:center;padding:8px 16px;height:36px;background-color:rgb(59, 130, 246);color:white!important;border-radius:6px;text-decoration:none!important;font-weight:500;font-size:1rem;transition:background-color 0.2s ease;margin-left:36px;flex-shrink:0;white-space:nowrap;box-shadow:0 1px 2px rgba(15, 23, 42, 0.12)}#banner a[href*=\"newsroom.workday.com\"]:nth-of-type(1):hover{background-color:rgb(29, 78, 216)}:is(html.dark,body.dark) #banner a[href*=\"newsroom.workday.com\"]:nth-of-type(1){background-color:rgb(59, 130, 246)}:is(html.dark,body.dark) #banner a[href*=\"newsroom.workday.com\"]:nth-of-type(1):hover{background-color:rgb(37, 99, 235)}@media (max-width: 639px){#banner a[href*=\"newsroom.workday.com\"]:nth-of-type(1){display:inline!important;align-self:flex-start;padding:0;height:auto;margin-left:0;background-color:transparent;color:rgb(37, 99, 235)!important;text-decoration:underline;text-decoration-thickness:1px;border-radius:0;box-shadow:none;white-space:normal}#banner a[href*=\"newsroom.workday.com\"]:nth-of-type(1):hover{background-color:transparent}}#banner-content{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:center;text-align:center}.nav-logo{height:2.5rem}"}],"page":{"pagePath":"workflows/building-workflows/control-flow/filter","slug":"/workflows/building-workflows/control-flow/filter","pageMetadata":{"title":"Filter","boost":0.25,"description":null,"href":"/workflows/building-workflows/control-flow/filter"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,em:`em`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Frame,Heading,OptimizedImage,Warning}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Workflows and String are shutting down on March 31, 2027.`}),` `,_jsx(_components.a,{href:`/workflows`,children:`Learn more`})]})}),`\n`,_jsx(Heading,{level:`3`,id:`filter`,children:`Filter`}),`\n`,_jsx(_components.p,{children:`Use the Filter action to quickly stop or continue workflows on certain conditions.`}),`\n`,_jsx(Frame,{children:_jsx(OptimizedImage,{src:`https://mintcdn.com/pipedream/nKh6d_6A4aXFb6xD/images/ebe4c539-CleanShot_2022-05-03_at_13.51.17_za1skw.gif?s=cce4659a1e41e5fd3bfacd3f1092e46a`,alt:``,\"data-og-width\":`800`,width:`800`,\"data-og-height\":`426`,height:`426`,\"data-path\":`images/ebe4c539-CleanShot_2022-05-03_at_13.51.17_za1skw.gif`,\"data-optimize\":`true`,\"data-opv\":`3`})}),`\n`,_jsxs(_components.p,{children:[`Add a filter action to your workflow by searching for the `,_jsx(_components.strong,{children:`Filter`}),` app in a new step.`]}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Filter`}),` app includes several built-in actions: Continue Workflow on Condition, Exit Workflow on Condition and Exit Workflow on Custom Condition.`]}),`\n`,_jsxs(_components.p,{children:[`In each of these actions, the `,_jsx(_components.strong,{children:`Value`}),` is the subject of the condition, and the `,_jsx(_components.strong,{children:`Condition`}),` is the operand to compare the value against.`]}),`\n`,_jsxs(_components.p,{children:[`For example, to only process orders with a `,_jsx(_components.code,{children:`status = ready`})]}),`\n`,_jsx(Heading,{level:`4`,id:`continue-workflow-on-condition`,children:`Continue Workflow on Condition`}),`\n`,_jsxs(_components.p,{children:[`With this action, only when values that `,_jsx(_components.em,{children:`pass`}),` a set condition will the workflow continue to execute steps after this filter.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Filter","boost":0.25,"description":null,"href":"/workflows/building-workflows/control-flow/filter"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Filter","slug":"filter","depth":3,"children":[]},{"title":"Continue Workflow on Condition","slug":"continue-workflow-on-condition","depth":4,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"pipedream","siteName":"Pipedream","title":"Filter - Pipedream","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-11T00:12:03.726Z","originalFileLocation":"workflows/building-workflows/control-flow/filter.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Pipedream provides the toolkit to add thousands of integrations to your app and enables you to automate any process.\">\u003cmeta data-mint-head name=\"keywords\" content=\"api, mcp, ai, integrations, pipedream, workflow, automation, connect, apis\">\u003cmeta data-mint-head name=\"application-name\" content=\"Pipedream\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Filter - Pipedream\">\u003cmeta data-mint-head property=\"og:description\" content=\"Pipedream provides the toolkit to add thousands of integrations to your app and enables you to automate any process.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Pipedream\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://pipedream.mintlify.site/docs/_mintlify/api/og/v2?division=Control+Flow\u0026amp;title=Filter\u0026amp;theme=772f5b43afb7c4ed70f0402c\u0026amp;signature=9595f041988a2d61c49c868d007556cece352e65b81585226351e0e36fd14098\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Pipedream\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Pipedream provides the toolkit to add thousands of integrations to your app and enables you to automate any process.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://pipedream.mintlify.site/docs/_mintlify/api/og/v2?division=Control+Flow\u0026amp;title=Filter\u0026amp;theme=772f5b43afb7c4ed70f0402c\u0026amp;signature=9595f041988a2d61c49c868d007556cece352e65b81585226351e0e36fd14098\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/pipedream/BXAUbH3bs99htewI/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Pipedream\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#095c32\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"charset\" content=\"UTF-8\">\u003cmeta data-mint-head name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\u003cmeta data-mint-head name=\"author\" content=\"Pipedream\">\u003cmeta data-mint-head name=\"googlebot\" content=\"index, follow\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@pipedream\">\u003cmeta data-mint-head name=\"twitter:image:alt\" content=\"Pipedream Logo\">\u003clink data-mint-head rel=\"canonical\" href=\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/workflows/building-workflows/control-flow/filter.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://pipedream.com/#organization\",\"name\":\"Pipedream\",\"url\":\"https://pipedream.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/pipedream/J-J7n6QGsUEW1AZY/logo/pipedream_workday_lockup.png?fit=max\u0026auto=format\u0026n=J-J7n6QGsUEW1AZY\u0026q=85\u0026s=20f01e899a0e49424e3d16d1e84adc60\"}},{\"@type\":\"WebSite\",\"@id\":\"https://pipedream.com/docs#website\",\"name\":\"Pipedream\",\"url\":\"https://pipedream.com/docs\",\"publisher\":{\"@id\":\"https://pipedream.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter#webpage\",\"url\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter\",\"name\":\"Filter\",\"dateModified\":\"2026-11-11T00:12:03.726Z\",\"isPartOf\":{\"@id\":\"https://pipedream.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflows\",\"item\":\"https://pipedream.com/docs/workflows\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Building Workflows\",\"item\":\"https://pipedream.com/docs/workflows/building-workflows/triggers\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Control Flow\",\"item\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Filter\",\"item\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter#article\",\"headline\":\"Filter\",\"name\":\"Filter\",\"url\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter\",\"mainEntityOfPage\":{\"@id\":\"https://pipedream.com/docs/workflows/building-workflows/control-flow/filter#webpage\"},\"dateModified\":\"2026-11-11T00:12:03.726Z\",\"publisher\":{\"@id\":\"https://pipedream.com/#organization\"},\"isPartOf\":{\"@id\":\"https://pipedream.com/docs#website\"}}]}\u003c/script>","agentPointerHref":"/docs/workflows/building-workflows/control-flow/filter.md","siteName":"Pipedream","nav":{"global":null,"products":[{"product":"Connect","icon":"https://mintlify.s3.us-west-1.amazonaws.com/pipedream/logo/pipedream_icon.svg","description":"Integration layer for AI agents","tabs":[{"tab":"Documentation","icon":"book","groups":[{"group":"Getting Started","pages":[{"title":"Introduction to Pipedream","sidebarTitle":"Introduction","icon":"house","href":""},{"group":"Workspaces","icon":"users","pages":[{"title":"Managing workspaces","href":"/workspaces"},{"group":"Single-Sign On","pages":[{"title":"Single Sign On Overview","sidebarTitle":"Overview","href":"/workspaces/sso"},{"title":"Configure SSO with Google Workspace","sidebarTitle":"Google Workspace","href":"/workspaces/sso/google"},{"title":"Configure SSO with Okta","sidebarTitle":"Okta","href":"/workspaces/sso/okta"},{"title":"Configure SSO with Another SAML Provider","sidebarTitle":"SAML","href":"/workspaces/sso/saml"}]},{"title":"Domain Verification","href":"/workspaces/domain-verification"}]},{"group":"Projects","icon":"folder","pages":[{"title":"Projects","sidebarTitle":"Overview","href":"/projects"},{"title":"Access Controls","href":"/projects/access-controls"},{"title":"Project Variables and Secrets","sidebarTitle":"Variables and Secrets","href":"/projects/secrets"}]},{"title":"Using AI Tooling with Pipedream","sidebarTitle":"AI Tooling","icon":"wand-magic-sparkles","href":"/ai-tooling"}]},{"group":"Connect","pages":[{"title":"Overview","icon":"plug","href":"/connect"},{"title":"Connect Quickstart","sidebarTitle":"Quickstart","icon":"rocket","href":"/connect/quickstart"},{"title":"App Discovery","sidebarTitle":"App Discovery","icon":"location-dot","href":"/connect/app-discovery"},{"group":"Managed Auth","icon":"key","pages":[{"title":"Managed Auth Quickstart","sidebarTitle":"Quickstart","href":"/connect/managed-auth/quickstart"},{"title":"Users","href":"/connect/managed-auth/users"},{"title":"Connect Tokens","href":"/connect/managed-auth/tokens"},{"title":"Connect Link","href":"/connect/managed-auth/connect-link"},{"title":"OAuth Clients","href":"/connect/managed-auth/oauth-clients"},{"title":"App Overrides","href":"/connect/managed-auth/app-overrides"},{"title":"Environments","href":"/connect/managed-auth/environments"},{"title":"Project Configuration","href":"/connect/managed-auth/customization"},{"title":"Troubleshooting","href":"/connect/managed-auth/troubleshooting"}]},{"group":"Tool Use","icon":"wrench","pages":[{"title":"Pre Built Tools for Your App or Agent","sidebarTitle":"Overview","href":"/connect/components"},{"title":"Executing Actions","href":"/connect/components/actions"},{"title":"Deploying Triggers","href":"/connect/components/triggers"},{"title":"Working with Files","href":"/connect/components/files"},{"title":"Using Custom Tools","sidebarTitle":"Custom Tools","href":"/connect/components/custom-tools"},{"title":"Troubleshooting","href":"/connect/components/troubleshooting"}]},{"group":"MCP","icon":"robot","pages":[{"title":"MCP Servers","sidebarTitle":"Overview","href":"/connect/mcp"},{"title":"Develop with Pipedream MCP","sidebarTitle":"Developers","href":"/connect/mcp/developers"},{"group":"AI Frameworks","pages":[{"title":"Pipedream MCP with Vercel's AI SDK","sidebarTitle":"Vercel AI SDK","href":"/connect/mcp/ai-frameworks/vercel-ai-sdk"},{"title":"OpenAI Integration","sidebarTitle":"OpenAI","href":"/connect/mcp/ai-frameworks/openai"},{"title":"Pipedream MCP with Anthropic","sidebarTitle":"Anthropic","href":"/connect/mcp/ai-frameworks/anthropic"},{"title":"Pipedream MCP with Gemini","sidebarTitle":"Gemini","href":"/connect/mcp/ai-frameworks/gemini"}]},{"title":"Using Pipedream MCP as an End User","sidebarTitle":"Consumers","href":"/connect/mcp/users"}]},{"title":"Webhooks","icon":"webhook","href":"/connect/webhooks"},{"title":"Connect API Proxy","sidebarTitle":"API Proxy","icon":"arrows-left-right","href":"/connect/api-proxy"},{"title":"Pipedream Connect Use Cases","sidebarTitle":"Use Cases","icon":"lightbulb","href":"/connect/use-cases"}]},{"group":"Workflows","pages":[{"title":"Workflows and String Are Shutting Down on March 31, 2027","sidebarTitle":"Important Update","icon":"bullhorn","href":"/workflows"},{"title":"What Are Workflows?","sidebarTitle":"Overview","icon":"diagram-project","href":"/workflows/overview"},{"title":"Workflow Development","sidebarTitle":"Quickstart","icon":"rocket","href":"/workflows/quickstart"},{"group":"Building Workflows","icon":"hammer","pages":[{"title":"Triggers","href":"/workflows/building-workflows/triggers"},{"title":"Actions","href":"/workflows/building-workflows/actions"},{"title":"HTTP","href":"/workflows/building-workflows/http"},{"title":"Using Props","href":"/workflows/building-workflows/using-props"},{"title":"Build with AI","sidebarTitle":"Build with AI","href":"/workflows/building-workflows/build-with-ai"},{"group":"Write your own code","pages":[{"title":"Overview","href":"/workflows/building-workflows/code"},{"group":"Node.js","pages":[{"title":"Running Node.js in Workflows","href":"/workflows/building-workflows/code/nodejs"},{"title":"Using AI to Generate Code","sidebarTitle":"Use AI to Generate Code","href":"/workflows/building-workflows/code/nodejs/ai-code-generation"},{"title":"Connecting Apps in Node.js","sidebarTitle":"Connect Apps","href":"/workflows/building-workflows/code/nodejs/auth"},{"title":"Make HTTP Requests with Node.js","sidebarTitle":"HTTP Requests","href":"/workflows/building-workflows/code/nodejs/http-requests"},{"title":"Working with the Filesystem in Node.js","sidebarTitle":"Files","href":"/workflows/building-workflows/code/nodejs/working-with-files"},{"title":"Using Data Stores","sidebarTitle":"Data Stores","href":"/workflows/building-workflows/code/nodejs/using-data-stores"},{"title":"Delaying a Workflow","sidebarTitle":"Delaying Steps","href":"/workflows/building-workflows/code/nodejs/delay"},{"title":"Pause, Resume, and Rerun a Workflow","sidebarTitle":"Pause, Resume, and Rerun Steps","href":"/workflows/building-workflows/code/nodejs/rerun"},{"title":"Running Asynchronous Code in Node.js","sidebarTitle":"Running Asynchronous Code","href":"/workflows/building-workflows/code/nodejs/async"},{"title":"Sharing Code Across Workflows","href":"/workflows/building-workflows/code/nodejs/sharing-code"},{"title":"Browser Automation with Node.js","sidebarTitle":"Browser Automation","href":"/workflows/building-workflows/code/nodejs/browser-automation"}]},{"group":"Python","pages":[{"title":"Python","sidebarTitle":"Running Python in Workflows","href":"/workflows/building-workflows/code/python"},{"title":"Connecting Apps in Python","sidebarTitle":"Connect Apps","href":"/workflows/building-workflows/code/python/auth"},{"title":"Making HTTP Requests with Python","sidebarTitle":"HTTP Requests","href":"/workflows/building-workflows/code/python/http-requests"},{"title":"Working with the Filesystem in Python","sidebarTitle":"Files","href":"/workflows/building-workflows/code/python/working-with-files"},{"title":"Using Data Stores","sidebarTitle":"Data Stores","href":"/workflows/building-workflows/code/python/using-data-stores"},{"title":"Delaying a Workflow","sidebarTitle":"Delaying Steps","href":"/workflows/building-workflows/code/python/delay"},{"title":"Pause, Resume, and Rerun a Workflow","sidebarTitle":"Pause, Resume, and Rerun Steps","href":"/workflows/building-workflows/code/python/rerun"},{"title":"Use PyPI Packages with Differing Import Names","sidebarTitle":"Different PyPI Package Name and Import Name","href":"/workflows/building-workflows/code/python/import-mappings"}]},{"title":"Go","href":"/workflows/building-workflows/code/go"},{"title":"Bash","href":"/workflows/building-workflows/code/bash"}]},{"group":"Control Flow","pages":[{"title":"Overview","href":"/workflows/building-workflows/control-flow"},{"title":"If/Else","sidebarTitle":"Branching - If/Else","href":"/workflows/building-workflows/control-flow/ifelse"},{"title":"Switch","sidebarTitle":"Branching - Switch","href":"/workflows/building-workflows/control-flow/switch"},{"title":"Parallel","sidebarTitle":"Branching - Parallel","href":"/workflows/building-workflows/control-flow/parallel"},{"title":"Delay","description":null,"href":"/workflows/building-workflows/control-flow/delay"},{"title":"Filter","href":"/workflows/building-workflows/control-flow/filter"},{"title":"End Workflow","description":null,"href":"/workflows/building-workflows/control-flow/end-workflow"}]},{"title":"Inspect Events","href":"/workflows/building-workflows/inspect"},{"title":"Handling Errors","href":"/workflows/building-workflows/errors"},{"title":"Sharing Workflows","href":"/workflows/building-workflows/sharing"},{"group":"Settings","pages":[{"title":"Settings","sidebarTitle":"Overview","href":"/workflows/building-workflows/settings"},{"title":"Concurrency and Throttling","href":"/workflows/building-workflows/settings/concurrency-and-throttling"}]}]},{"group":"Data Management","icon":"database","pages":[{"title":"Data Stores","href":"/workflows/data-management/data-stores"},{"group":"File Stores","pages":[{"title":"File Stores","sidebarTitle":"Overview","href":"/workflows/data-management/file-stores"},{"title":"File Stores Node.js Reference","sidebarTitle":"Reference","href":"/workflows/data-management/file-stores/reference"}]},{"group":"Destinations","pages":[{"title":"Destinations","sidebarTitle":"Overview","href":"/workflows/data-management/destinations"},{"title":"Email","href":"/workflows/data-management/destinations/email"},{"title":"HTTP","href":"/workflows/data-management/destinations/http"},{"title":"Emit Events","sidebarTitle":"Emit","href":"/workflows/data-management/destinations/emit"},{"title":"Server Sent Events (SSE)","sidebarTitle":"SSE","href":"/workflows/data-management/destinations/sse"},{"title":"Amazon S3","sidebarTitle":"S3","href":"/workflows/data-management/destinations/s3"}]},{"group":"Databases","pages":[{"title":"Connecting to Databases","sidebarTitle":"Overview","href":"/workflows/data-management/databases"},{"title":"Working with SQL","href":"/workflows/data-management/databases/working-with-sql"}]}]},{"title":"Event History","icon":"columns-3","href":"/workflows/event-history"},{"title":"Export Workflows","icon":"file-export","href":"/workflows/export-workflows"},{"title":"Environment Variables","icon":"key","href":"/workflows/environment-variables"},{"title":"GitHub Sync","icon":"github","iconType":"brands","href":"/workflows/git"},{"title":"Custom Domains","icon":"globe","href":"/workflows/domains"},{"title":"Virtual Private Clouds","icon":"cloud","href":"/workflows/vpc"},{"title":"Limits","icon":"gauge","href":"/workflows/limits"},{"title":"Workflow Troubleshooting","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/workflows/troubleshooting"},{"title":"Workflow Security Best Practices","sidebarTitle":"Security best practices","icon":"shield","href":"/workflows/security-best-practices"}]},{"group":"Platform","pages":[{"group":"Components","icon":"puzzle-piece","pages":[{"title":"Overview","href":"/components"},{"group":"Contributing","pages":[{"title":"Pipedream Registry","sidebarTitle":"Overview","href":"/components/contributing"},{"title":"Component API Reference","sidebarTitle":"Component API","href":"/components/contributing/api"},{"title":"Quickstart: Action Development","sidebarTitle":"Quickstart — Actions","href":"/components/contributing/actions-quickstart"},{"title":"Quickstart: Source Development","sidebarTitle":"Quickstart — Sources","href":"/components/contributing/sources-quickstart"},{"title":"Components Guidelines and Patterns","sidebarTitle":"Guidelines","href":"/components/contributing/guidelines"},{"title":"TypeScript Components","href":"/components/contributing/typescript"}]}]},{"group":"CLI","icon":"laptop-code","pages":[{"title":"Installing the CLI","sidebarTitle":"Install","href":"/cli/install"},{"title":"Logging into the CLI","sidebarTitle":"Login","href":"/cli/login"},{"title":"CLI Reference","href":"/cli/reference"}]},{"group":"Pricing","icon":"dollar-sign","pages":[{"title":"Plans and Pricing","sidebarTitle":"Overview","href":"/pricing"},{"title":"FAQ","href":"/pricing/faq"}]},{"group":"Account","icon":"user","pages":[{"title":"User Settings","href":"/account/user-settings"},{"title":"Billing Settings","href":"/account/billing-settings"}]},{"group":"Security","icon":"shield","pages":[{"title":"Privacy and Security at Pipedream","sidebarTitle":"Privacy and Security","href":"/privacy-and-security"},{"title":"Security Best Practices","href":"/privacy-and-security/best-practices"},{"title":"HIPAA Compliance","href":"/privacy-and-security/hipaa"},{"title":"PGP Key","href":"/privacy-and-security/pgp-key"},{"title":"Subprocessors","href":"/subprocessors"}]},{"title":"Troubleshooting Common Issues","sidebarTitle":"Troubleshooting","icon":"wrench","href":"/troubleshooting"},{"title":"Pipedream Glossary","sidebarTitle":"Glossary of Terms","icon":"book","href":"/glossary"}]},{"group":"Additional Resources","pages":[{"title":"Support","url":"https://pipedream.com/support","href":"/additional-resources/support"},{"title":"Status","url":"https://status.pipedream.com","href":"/additional-resources/status"},{"title":"Terms of Service","url":"https://pipedream.com/terms","href":"/additional-resources/terms"},{"title":"Privacy Policy","url":"https://pipedream.com/privacy","href":"/additional-resources/privacy"}]}]},{"tab":"Connect API","icon":"square-terminal","pages":[{"title":"Connect API","href":"/connect/api-reference/introduction"}]},{"tab":"Changelog","icon":"bullhorn","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"product":"Conduit","icon":"https://mintlify.s3.us-west-1.amazonaws.com/pipedream/images/conduit/conduit-mark.svg","description":"Enterprise MCP Gateway","pages":[{"title":"Conduit","href":"/conduit"}]}]},"basePath":"","title":"Filter - Pipedream","buildId":"dpl_AHzSCQPRq6mP9FZXEa5AbDZTffie","deploymentId":"dpl_AHzSCQPRq6mP9FZXEa5AbDZTffie","dynamics":["07c022d89b","a74be98ba7"],"chunks":["Frame-C3JmClLs.js","DynamicMarkdown-mBxoveKr.js","zoom-image-lightbox-BrVVh3El.js","lightbox-handle-r17bVUz3.js"]}