How to Check if the Org is a Sandbox Org in Flow?

#1MinuteTip How do you check whether your Org is a Sandbox Org in the Flow? You may want to use this to execute or not execute certain logic based on whether the Org is a Sandbox Org or Production Org. For example, you may not want to send emails to external contacts from a Sandbox Org.

Here is how you can check the Org Type in Flow. First use the “Get Records” Element to get data from “Organization” object.

How to Check if the Org is a Sandbox Org in Flow?

Then check for the field value “IsSandbox” in the Get Record element created above. If the current org is a Sandbox Org, the value of IsSandbox will be “True”. Otherwise, it will be “False”. You can use this in “Decision” element or wherever you like in the Flow.

Check for Sandbox Org in Flow

1 thought on “How to Check if the Org is a Sandbox Org in Flow?”

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top
Introducing All Access Pass