Build your first Salesforce flow. Ethnus Codemithra article cover.

Build your first Salesforce flow without writing code

Codemithra Team

Codemithra Team

You automate a simple business process in Salesforce, before touching Apex, by building a screen flow in Flow Builder. Flow Builder is Salesforce's point-and-click automation canvas. This guide walks through one working example: a screen flow that logs a follow-up task. It uses only drag-and-drop elements, no code.

Flow Builder is Salesforce's visual tool for building automation. The canvas is the working area. You build a flow by adding elements to it and connecting them (Trailhead, Meet Flow Builder). As Salesforce puts it, "you no longer have to be a developer to create powerful automations in Salesforce" (Trailhead).

Why Flow Builder, why now

Salesforce no longer supports Workflow Rules and Process Builder, as of 31 December 2025. Automations built with either tool keep running. Salesforce no longer fixes bugs in them, and does not extend support to them. Its stated reason is to focus development on Flow Builder, its extensible, low-code automation tool. Salesforce recommends migrating existing automations to Flow Builder (Salesforce Help, Workflow Rules and Process Builder end of support). Checked against the official Salesforce Help article on 8 September 2026.

This makes Flow Builder more than one option among several. It is the current, supported starting point for new Salesforce automation. It is also the tool most new admins and developers meet first.

Salesforce also states that a record-triggered flow can update a record ten times faster than an equivalent Process Builder process. That figure comes from Salesforce's own comparison of the two tools. Treat it as vendor comparison language, not an independent benchmark (Trailhead, Get familiar with flow).

Anatomy of a flow

Every flow is built from the same three categories of element, plus connectors and resources. Interaction elements show or collect data. A Screen displays fields to a user. An Action sends an email or posts to Chatter. A Subflow calls another flow.

Data elements read or write records, using Get, Create, Update and Delete Records. Each works on one record or a set of them.

Logic elements control the path. A Decision branches it. An Assignment sets a variable. A Loop repeats over a collection of records (Trailhead, Meet Flow Builder).

Connectors are the lines between elements. They define the path the flow takes as it runs. Resources, such as variables and formulas, are containers you reference from elements. They do not appear on the canvas as boxes, the way elements do (Trailhead, Meet Flow Builder). If something is not on the canvas, it is probably a resource, not a missing step.

Anatomy of a flow. Interaction elements: Screen collects or shows data to a user, Action sends an email or Chatter post, Subflow calls another flow. Data elements: Get, Create, Update or Delete Records, working on a single record or a set of records. Logic elements: Decision branches the path, Assignment sets a variable, Loop repeats over a collection
The three element categories every flow is built from. Source: Trailhead, Meet Flow Builder.

Pick your flow type

Before you open Flow Builder, decide which flow type fits the job. A screen flow runs when a user opens it. It needs a person present to fill in fields and click through it.

An autolaunched flow is screenless. It runs from a button, another flow or a schedule, with no user watching it run. A record-triggered flow runs automatically when a record is created or changed. It also needs no user present (Trailhead, Flow Builder Basics).

For a first build, choose a screen flow. You see every field you enter. You watch each element run in sequence, and check the result on screen. Do this before working with anything screenless. Once the canvas feels familiar, autolaunched and record-triggered flows are the next step.

Which flow type should your first flow be. Runs when a user opens it, needs a user present: Collect input on screen and act on it, recommended for your first build. Runs from a button, another flow or a schedule, no user needed: Screenless automation once you are comfortable with the canvas, not recommended first. Runs automatically when a record is created or changed, no user needed: The current default for new record automation, since Process Builder and Workflow Rules are unsupported, build after screen flows
Match the flow type to whether a user needs to be present. Source: Trailhead, Flow Builder Basics and Get familiar with flow.

Step-by-step: build a screen flow that logs a follow-up task

The exercise below is an original walkthrough written for this article. It is not a reproduction of a Trailhead module. Flow Builder Basics on Trailhead covers the same concepts. It does not include a guided build like this one (Trailhead). Try it in a sandbox or developer org before you run it against real records.

  1. From Setup, open Flow Builder and select New Flow. Choose Screen Flow as the flow type.
  2. Add a Screen element. On the screen, add two text fields: the follow-up subject and who owns the follow-up.
  3. Add a Decision element after the screen. Create one path for "Subject provided" and a default path for a blank subject field.
  4. Add a Create Records element on each path. Set it to create a Task record, using the screen inputs or your default values.
  5. Save the flow with a clear name, such as "Log a follow-up task".
  6. Run the flow from Flow Builder before you activate it. Enter both a filled-in and a blank subject to check each path.
  7. Once the run confirms both paths behave as expected, activate the flow.

This gives you one small, complete automation. A user fills in two fields, a decision checks them, and a record gets created. Every later flow you build follows the same shape of elements and connectors.

Add one formula resource

Resources let a flow react to a condition without an extra Decision element for every case. A common pattern uses the ISBLANK function. It checks whether a field or variable has no value. It returns true if the field is empty (Salesforce Help, ISBLANK function).

Apply this to the exercise above. Add a text-formula resource that falls back to a default subject when the screen field is left empty:

IF(
  ISBLANK({!FollowUpSubjectInput}),
  {!DefaultFollowUpSubject},
  {!FollowUpSubjectInput}
)

This snippet adapts the documented ISBLANK pattern to this article's own field names. Type it into a new Formula resource.

Reference that resource's output in the Create Records element, instead of the raw screen field. Treat it as an example to adapt, not an official Salesforce sample.

Test before you activate

Flow Builder lets you run a flow from the builder itself, before it is activated. Use that run, or the debug view it opens, to step through each element. Check the value a variable or resource holds at each point. Testing before activation catches a missing field mapping or a wrong Decision path early. At that stage the flow only affects your own test run, not live records.

Where to go from here

One screen flow covers the basics: elements, connectors and one resource. Salesforce's "Build Flows with Flow Builder" trail extends this into eight modules. It covers data and actions in flows, flow logic, and record-triggered flows.

It also covers autolaunched flows, screen flows in depth, multirecord elements and loops. It runs at an intermediate level, for around twelve and a half hours in total (Trailhead). Work through it before you move on to Apex. Several of its modules cover patterns, such as loops over a collection, that Apex code later replaces or calls into.

Common beginner mistakes

  • Building a record-triggered flow first, before a screen flow makes the element categories and connectors familiar.
  • Skipping the debug or test run, and activating a flow straight after saving it.
  • Assuming a flow must be activated before you can run it. Flow Builder lets you run it directly from the canvas.
  • Leaving unused resources in a flow, instead of checking each variable's value during a test run.

The Ethnus connection

Codemithra's Salesforce Developer course lists Salesforce Flow as a named topic in its Developer Beginner section. It sits alongside platform development, data modelling, data management, data security, and formulas and validations. In the course's own sequencing, Flow comes ahead of Apex fundamentals (Codemithra, Salesforce Developer course). That order matches this article's approach: build comfort with Flow Builder's canvas before starting Apex. The course adds trainer-led sessions and lab access around that syllabus. It suits students who want a guided path through Flow and into Apex, rather than a self-serve one.

Frequently asked questions

Do I need to know Apex before I can use Flow Builder?

No. Flow Builder is a point-and-click tool. Salesforce describes it as removing the need to be a developer for many automations (Trailhead, Get familiar with flow). Apex becomes useful once a flow's logic outgrows what elements and formulas handle well.

Will my existing Process Builder automations stop working?

No. Salesforce ended support for Workflow Rules and Process Builder on 31 December 2025, but existing automations keep running. Salesforce no longer fixes bugs in them. It recommends migrating new work to Flow Builder (Salesforce Help).

Which flow type should I build first?

A screen flow. It needs a user present, so you watch each element run and check the result. Do this before working with screenless automation, such as autolaunched or record-triggered flows (Trailhead, Flow Builder Basics).

Can I test a flow without activating it?

Yes. Flow Builder lets you run a flow directly from the builder before activation. Use that run to check field mappings and Decision paths.

Where do I learn record-triggered flows next?

Salesforce's "Build Flows with Flow Builder" trail has eight modules. It covers record-triggered flows, autolaunched and scheduled flows, loops and multirecord elements (Trailhead). Codemithra's Salesforce Developer course covers Flow before moving into Apex fundamentals.

About the Author

Read More

Ethnus User Agreement

I agree to submit my personally identifiable information to Ethnus, who may use it to communicate regarding their events, courses, and other services through various media including phone calls, text messages, email, and social media. I also agree with Ethnus' Privacy Policy and Terms of Service.

I agree with Ethnus sharing my personal data, including email address, with Salesforce family of companies, who may contact me for sales and marketing purposes and as described in Salesforce's Privacy Statement.

Privacy Policy

This Privacy Notice describes how we collect and use your personal information in relation to Ethnus websites, applications, products, services, events, and experiences that reference this Privacy Notice (together, "Ethnus Offerings").

This Privacy Notice does not apply to the "content" processed, stored, or hosted by our customers using Ethnus Offerings in connection with an Ethnus account. This Privacy Notice also does not apply to any products, services, websites, or content that are offered by third parties or have their own privacy notice.

Personal Information We Collect

We collect your personal information in the course of providing Ethnus Offerings to you.

Here are the types of information we gather:

        a) Information You Give Us: We collect any information you provide in relation to Ethnus Offerings. Click here to see examples of information you give us. Example: Name, email, phone, etc.

        b) Automatic Information: We automatically collect certain types of information when you interact with Ethnus Offerings. Example: IP address, location, browser identity, etc.

        c) Information from Other Sources: We might collect information about you from other sources, including service providers, partners, and publicly available sources. Example: marketing analytics, keywords, etc.

How We Use Personal Information

We use your personal information to operate, provide, and improve Ethnus Offerings. Our purposes for using personal information include:

        a) Provide Ethnus Offerings: We may use your personal information to provide and deliver Ethnus Offerings and process transactions related to Ethnus Offerings, including registrations, subscriptions, purchases, and payments.

        b) Measure, Support, and Improve Ethnus Offerings: We use your personal information to measure use of, analyze the performance of, fix errors in, provide support for, improve, and develop Ethnus Offerings.

        c) Recommendations and Personalization: We use your personal information to recommend Ethnus Offerings that might be of interest to you, identify your preferences, and personalize your experience with Ethnus Offerings.

        d) Comply with Legal Obligations: In certain cases, we have a legal obligation to collect, use, or retain your personal information.

        e) Communicate with You: We use your personal information to communicate with you in relation to Ethnus Offerings via different channels (e.g., by phone, email, chat) and to respond to your requests.

        f) Marketing: We use your personal information to market and promote Ethnus Offerings. We might display interest-based ads for Ethnus Offerings.

        g) Purposes for Which We Seek Your Consent: We may also ask for your consent to use your personal information for a specific purpose that we communicate to you.

Cookies

To enable our systems to recognize your browser or device and to provide Ethnus Offerings, we use cookies.

How We Share Personal Information

Information about our customers is an important part of our business and we are not in the business of selling our customers' personal information to others. We share personal information only as described below and with Ethnus Consultancy Services Private Limited, . and its affiliates that are either subject to this Privacy Notice or follow practices at least as protective as those described in this Privacy Notice.

Transactions Involving Third Parties: We make available to you services, software, training, and content provided by third parties for use on or through Ethnus Offerings. You can tell when a third party is involved in your transactions, and we share information related to those transactions with that third party. For example, you can order services, software, and content from sellers using the Authorized Training Partner's marketplace and we provide those sellers information to facilitate your subscription, purchases, or support.

Other than as set out above, you will receive notice when personal information about you might be shared with third parties, and you will have an opportunity to choose not to share the information.

How We Secure Information

        a) We protect the security of your information during transmission to or from websites, applications, products, or services by using encryption protocols and software.

        b) We maintain physical, electronic, and procedural safeguards in connection with the collection, storage, and disclosure of personal information.

Internet Advertising and Third Parties

Ethnus Offerings may include third-party advertising and links to other websites and applications. Third party advertising partners may collect information about you when you interact with their content, advertising, or services. For more information about third-party advertising, including interest-based ads, please read our Interest-Based Ads notice.

Access and Choice

You have choices about the collection and use of your personal information. Many Ethnus Offerings include settings that provide you with options as to how your information is being used. You can choose not to provide certain information, but then you might not be able to take advantage of certain Ethnus Offerings.

        a) Communications: If you do not want to receive promotional messages from us, please unsubscribe or adjust your communication preferences in the emails.

        b) Advertising: If you don't want to see interest-based ads, please adjust your Advertising Preferences.

        c) Browser and Devices: The Help feature on most browsers and devices will tell you how to prevent your browser or device from accepting new cookies, how to have the browser notify you when you receive a new cookie, or how to disable cookies altogether.

Children's Personal Information

We don't provide Ethnus Offerings for purchase by children. If you're under 18, you may use Ethnus Offerings only with the involvement of a parent or guardian.

Retention of Personal Information

We keep your personal information to enable your continued use of Ethnus Offerings, for as long as it is required in order to fulfill the relevant purposes described in this Privacy Notice, as may be required by law (including for tax and accounting purposes), or as otherwise communicated to you. How long we retain specific personal information varies depending on the purpose for its use, and we may delete your personal information in accordance with applicable law.

Contacts, Notices, and Revisions

If you have any concern about privacy at Ethnus, you may also contact us at the addresses below:

Ethnus Consultancy Services Pvt Ltd,

SST Chambers, No.151/17/1 Second Floor, 36th Cross Rd, 5th Block, Jayanagar, Bengaluru, Karnataka 560041

Or, email us at [email protected]

Or call us at: +91 - 8929 334 324

You will find the updated contact information on our website: www.ethnus.com/contact/

If you interact with Ethnus Offerings on behalf of or through your organization, then your personal information may also be subject to your organization's privacy practices, and you should direct privacy inquiries to your organization.

Our business changes constantly, and our Privacy Notice may also change. You should check our website frequently to see recent changes. You can see the date on which the latest version of this Privacy Notice was posted. Unless stated otherwise, our current Privacy Notice applies to all personal information we have about you and your account. We stand behind the promises we make, however, and will never materially change our policies and practices to make them less protective of personal information collected in the past without informing affected customers and giving them a choice.

Terms & Conditions

This Privacy and Security Policy is provided for the benefit of customers and clients of Ethnus Consultancy Services Private Limited. ("Ethnus") as well as other consumers and parties who use Ethnus and/or its website(s), particularly codemithra.com ("Website", "www.codemithra.com", "Codemithra" or "Ethnus Codemithra"), and/or applications ("Apps") (collectively, "Ethnus Services" or "Ethnus Platform").

Since Ethnus serves several different audiences, customers find it helpful to read the Terms of Use that apply specifically to them based upon the purpose for which they use Ethnus. For this reason, we link to three separate agreements below for employer customers, job seeker customers, and staffing customers, respectively.

For your convenience, we define each of these audiences that Ethnus serves as follows:

"Employer Customer" means an entity using Ethnus Services that is seeking to hire an individual as an employee and/or independent contractor to be employed by it directly.

"Job Seeker Customer" means an individual using Ethnus Services who is seeking to be employed as an employee or independent contractor by an employer.

"Staffing Customer" means a staffing company using Ethnus Services that provides staffing services to their own Staffing Clients.

So long as your use of the Ethnus website and services remains within the scope of the particular audience or customer for which you began using Ethnus (e.g. a job seeker does not use Ethnus as an employer, or an employer does not use Ethnus as a job seeker), the complete Terms of Use applicable to your use of the Ethnus website and services is contained within the applicable Terms of Use linked below.

Employer Terms of Use

The following Terms of Use apply to any Ethnus Employer Customer seeking to hire employees or independent contractors for its own business. If you seek to find employees or independent contractors for the benefit of your clients (and not yourself), you need to review the Terms of Use specifically for our Ethnus Staffing Customers accessible at www.Codemithra.com/terms/staffing.

Ethnus, Inc. ("Ethnus") provides online services through which employers and staffing companies seeking employees and independent contractors can efficiently and effectively review and interview candidates. Ethnus provides these services and its suite of features and products through its Apps and Website (collectively, "Ethnus Services") subject to these terms of use ("Terms of Use") and the agreements incorporated herein.

Your privacy is very important to us. We designed our accompanying Privacy and Security Policy to provide important disclosures about how your information will be used by Ethnus in providing you Ethnus Services. These Terms of Use expressly incorporate our Privacy and Security Policy.

Please read these Terms of Use and our Privacy and Security Policy carefully before using any of the diverse Ethnus Services. By visiting the Website, installing any of the Apps, and/or using any of the Ethnus Services, you shall have affirmed your agreement to these Terms of Use.

1. Definitions

2. Modifications - Will Ethnus ever modify these Terms of Use?

3. Ethnus Services - What are the Ethnus Services?

4. Video Content and Services - How and when do you record videos?

5. Pricing, Payments, and Billing - How and when will I be billed for Ethnus Services?

6. Objectionable Content - What if I find content to be objectionable?

7. Customer Conduct

8. Intellectual Property

9. DMCA Policy

10. Reserved for Future Use

11. Resale of Services

12. Indemnification

13. Disclaimer of Warranties

14. Third Party Links and Products

15. Limitations of Liability

16. Exclusions and Limitations

17. General Terms

1. Definitions

"Consumer" means any individual or entity that uses any of the Ethnus Services. Where applicable, the term "Consumer" shall encompass all Ethnus Customers.

"Content" means all material, whether publicly posted or privately transmitted, available on or through any of the Ethnus Services.

"Customer" means, for purposes of this Terms of Use, You, a Job Seeker Customer.

"Customer Content" means any Content uploaded to and/or created through the Ethnus Services by a Ethnus Customer.

"Employer Customer" means an entity using Ethnus Services that is seeking to hire an individual as an employee and/or independent contractor to be employed by it directly.

"GDPR" means the European Union's General Data Protection Regulation.

"Job Seeker Customer" means an individual using Ethnus Services who is seeking to be employed as an employee or independent contractor by an employer.

"Profile Video" means a promotional video created by a Job Seeker Customer to promote themselves as a candidate employee and/or independent contractor. It is not an interview. The Job Seeker Customer completes this independently and on their own.

"Software" means any necessary software used in connection with the Ethnus Services.

"Ethnus Account" means an account associated with a Ethnus Customer who uses or has used Ethnus Services.

"Ethnus Content" means any Content excluding Customer Content and Video Content in which Ethnus does not participate.

"Ethnus Customer" means any person who uses or has used Ethnus Services including, but not limited to, Employer Customers, Job Seeker Customers, and Staffing Customers.

"Ethnus Services" means the suite of features, products and services offered through Ethnus, its Apps, its App Services, the Website, and the Website Services.

"Ethnus Trademarks" means any trademarks, tradenames, logos, and other commercial designs of Ethnus or licensed to Ethnus, whether or not formal registration exists including, but not limited to, "Ethnus."

"Staffing Clients" means third-party employer clients of Staffing Customers.

"Staffing Customer" means a staffing company using Ethnus Services that provides staffing services to their own Staffing Clients.

"Strategic Partners" means those trusted partners that Ethnus employs, engages, or retains to perform functions and/or provide services on its behalf.

"Sub Accounts" means subsidiary accounts created for or by an Employer Customer or Staffing Customer ("such as a consultant group or employer") under its primary account.

"Username" means the valid email address provided by each Ethnus Customer to be used as their username or login identification.

"Video Content" means any video content created by or associated with any Ethnus Customer accessible on and through Ethnus Services including, but not limited to, Profile Videos, Video Questions, Video Interviews, and Welcome Videos.

"Video Interview" means an interview completed through Ethnus Services using a video or "web" camera that an Employer Customer or Staffing Customer requests a Job Seeker Customer complete. A Video Interview may involve a Job Seeker Customer alone or with other participants from an Employer Customer or Staffing Customer. A Video Interview may be pre-recorded by a Job Seeker in response to questions or occur live at which time it would be recorded.

"Video Question" means a question recorded in video and audio that can be sent to potential employee and independent contractor candidates by an Employer Customer or Staffing Customer.

"Website" means all of the content, information and services (in any format whatsoever) accessible through the World Wide Web at the domain name Codemithra.com.

"Website Services" means the services provided by Ethnus through the website at the domain name Codemithra.com, hire.li, and any of our other websites that may be used from time to time