#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.
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.