Voltar para o BlogTutoriais

Salesforce Customizations Without Code: A Practical Guide for Beginners

Learn to customize Salesforce using only clicks: fields, objects, page layouts, validation rules, and Flows. Without writing a single line of code.

Q
Quack Ranger
Mascot & Mentor
22 de fevereiro de 202611 min de leitura

Salesforce Customizations Without Code: A Practical Guide for Beginners

You know what fascinates me about Salesforce? How much you can build without writing a single line of code. Automations, validations, custom interfaces — all with clicks. Have you ever stopped to think about the power that puts in your hands?

This philosophy even has a name: "Clicks, Not Code." And it's not just a slogan. Salesforce has invested heavily in declarative tools that allow professionals without a programming background to create powerful solutions. In practice, a skilled Admin resolves 80–90% of business needs without touching code.

In this guide, I'll show you the most important customizations you can make without code — and they are exactly what the Admin certification exam covers. If you're studying for the cert or want to sharpen your Admin skills, this content is for you. Let's do a declarative duck debugging session!

Why does Salesforce prioritize declarative tools?

Three practical reasons:

Maintainability: Declarative configurations are easier to maintain and document than code. Any Admin can understand and modify a Flow. An Apex trigger, on the other hand, requires a Developer — and if that Developer leaves the company, another Developer needs to understand the code before modifying it. With declarative configuration, maintenance is more democratic.

Updates: When Salesforce releases a new version (3x a year — Spring, Summer, and Winter releases), declarative tools update automatically. Custom code can break and requires maintenance with every release. Companies with many code customizations spend weeks testing and adjusting with every release. Companies with declarative customizations spend hours.

Speed: Creating a custom field takes 2 minutes. Writing the same functionality in code can take hours (including unit tests). For most needs, declarative is simply faster.

The golden rule is: use code only when the declarative tool doesn't solve it. And in practice, declarative tools solve the vast majority of needs. Before asking a Developer for help, ask yourself: "can this be done with clicks?" Explain it to me like I'm a duck... what exactly do you need to happen? Many times, by describing the problem out loud, you realize the declarative solution exists.

Custom Fields: the types you need to know

Fields are the basic unit of data in Salesforce. Each field has a type that defines what kind of information it stores. Choosing the right type is fundamental — changing it later can be complicated.

Text: Free-form text. Up to 255 characters for simple Text, up to 131,072 for Long Text Area. Use Text for names, short descriptions, identifiers. Use Long Text Area for detailed notes and observations. There's also Rich Text Area which allows formatting (bold, italic, links).

Number: Integer or decimal numbers. Define decimal places at creation. Use for quantities, scores, ratings. Caution: if the number is an identifier (tax ID, zip code), use Text — not Number — because numbers don't preserve leading zeros.

Currency: Monetary values. Inherits the org's currency or the record's currency (for multi-currency orgs). Use for prices, quotes, contract values. Don't use Number for monetary values — Currency automatically formats with currency symbol and separators.

Date / Date-Time: Dates with or without time. Date for simple dates (birth date, due date). Date-Time for when the time matters (date and time of a meeting, exact delivery deadline). Be careful with timezones: Date-Time stores in UTC and converts to the user's timezone.

Picklist: Predefined list of options. Single select (choose one) or multi-select (choose several). Excellent for standardizing data and avoiding typos. Use for Status, Category, Priority, Region. Picklists can be restricted (only accepts values from the list) or unrestricted (accepts values outside the list via API).

Checkbox: True or false. Useful for flags and controls. "Active?", "VIP?", "Contract submitted?". Simple and efficient. The default value is always "unchecked" (false).

Formula: Calculated field that pulls data from other fields. Not directly editable — the value is calculated automatically in real time. Extremely powerful. Examples: calculate age from date of birth, calculate profit margin from cost and selling price, show "Overdue" or "On time" based on due date.

Lookup / Master-Detail: Relationships between objects. Lookup is a simple reference — like an optional foreign key. Master-Detail creates a strong dependency (if the parent is deleted, the children are too, and the field is required). The choice between Lookup and Master-Detail impacts sharing behavior, roll-up summaries, and cascade delete.

Roll-Up Summary: Only available in Master-Detail. Sums, counts, calculates minimum or maximum of child records. Example: in an Order object (parent) with Order Items (children in Master-Detail), a Roll-Up Summary can automatically sum the total value of all items. It's automatic and real-time.

Naming best practices

The field name in Salesforce automatically generates an API Name. Best practices that separate organized professionals from amateurs — and Quack has seen orgs with naming so chaotic it brought tears to my eyes:

  • Use descriptive names: "Due Date" instead of "DD" or "Dt_Due"
  • The API Name uses underscores: Due_Date__c
  • Include the __c suffix in custom fields (this is automatic — don't add it manually)
  • Maintain consistency: if one field is Creation_Date__c, don't create another as Dt_Update__c or finalDate__c. Choose a pattern and follow it for all fields
  • Use Help Text on every custom field — explain what the field means and how it should be filled out. This reduces support tickets and trains users naturally
  • Don't create fields you won't use. Every extra field is complexity. Fewer well-thought-out fields is better than many "just in case" fields

Custom Objects: when and how to create them

Objects are the "tables" of Salesforce. Each object stores a type of data. Account, Contact, Opportunity, Case, and Lead are standard objects that come with the platform.

When to create a Custom Object:

  • You need to track something no standard object handles
  • Examples: Projects, Equipment, Events, Complaints, Contracts, Internal Products
  • The information has its own lifecycle (created, modified, eventually archived)
  • You need specific reports on that type of data

When NOT to create a Custom Object:

  • The information fits as extra fields on an existing object
  • Example: adding "Segment" to Account is better than creating a "Segments" object with one record per account
  • You'd be duplicating functionality that a standard object already provides

How to create one:

  1. Go to Setup → Object Manager → Create → Custom Object
  2. Define the Label (name visible to the user) and the Plural Label
  3. The Object Name (API name) is generated automatically — review it to make sure it's clean
  4. Enable "Allow Reports" (almost always useful) and "Allow Activities" (if it makes sense to have tasks associated)
  5. Choose the Name field type: Text (free name like "Project Alpha") or Auto Number (PRJ-0001, PRJ-0002...)
  6. Set the Deployment Status to "Deployed" when you're ready for users to see it

Standard vs Custom Objects:

  • Standard: come with Salesforce (Account, Contact, Opportunity, Case, Lead). Already have pre-configured fields, relationships, and features
  • Custom: you create as needed. Completely flexible
  • Standard objects can't be deleted, but can be extensively customized (new fields, layouts, automations)
  • Custom objects end with __c in the API name: Project__c

Page Layouts and Compact Layouts

Page Layouts control which fields appear on a record page, in what order, and with what visual organization. It's the interface the user sees when they open a record.

Tips for efficient Page Layouts:

  • Put the most important fields at the top — the user shouldn't have to scroll to see essential information
  • Group related fields into sections with clear titles: "Basic Information," "Financial Data," "Important Dates"
  • Use 2-column layout (the default) to take advantage of horizontal space
  • Use "Read-Only" on the layout for fields the user shouldn't edit (but can view)
  • Remove fields that aren't used — less visual clutter = more user productivity
  • Put relevant related lists at the bottom of the page (related Contacts, Activities, History)

Compact Layouts: Define which fields appear in the record's summary "card" — the one that appears at the top of the page and in lookups (when you hover over a record link). Include only 4–5 essential fields: the ones the user needs to see at a quick glance without opening the record.

Record Types + Page Layouts: You can have different page layouts for different record types. Example: a "New Sale" Opportunity shows different fields from a "Renewal" Opportunity. This is done by combining Record Types with Page Layout Assignments.

List Views: organizing your data

List Views are filtered lists of records. Every user can create their own, and Admins can create public views for the whole team.

How to create a useful List View:

  1. Go to an object (e.g., Opportunities)
  2. Click the gear icon → New
  3. Define filters (e.g., "Stage equals Negotiation" AND "Amount greater than 50000")
  4. Choose which columns to display — less is more, show only the essentials
  5. Define visibility (only for you, for a specific group, or for everyone)

Tips:

  • Create views by scenario: "My Open Opportunities," "Closing This Month," "Opportunities Stalled 30+ Days"
  • Use combined filters (AND/OR) to refine results
  • Sort by relevant fields (close date, amount, priority)
  • Use inline editing to update fields directly in the list view without opening each record
  • Charts in the list view (chart icon) give a quick visualization of filtered data

Validation Rules: ensuring data quality

Validation Rules prevent invalid data from being saved. They're essential for maintaining data quality — and one of the certification exam's favorite topics.

A Validation Rule works like this: you define a formula that returns TRUE or FALSE. If it returns TRUE, the record is not saved and the user sees the error message you configured. This sounds counter-intuitive, right? Think of it this way: the formula describes the error condition. If the error condition is true, Salesforce blocks the save.

Practical examples:

Conditional required field: If Stage is "Closed Won," the "Win Reason" field must be filled in:

AND(
  ISPICKVAL(StageName, "Closed Won"),
  ISBLANK(Win_Reason__c)
)

Error message: "The 'Win Reason' field is required when Stage is 'Closed Won'."

Email format:

NOT(REGEX(Secondary_Email__c, "[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}"))

Tip: this validation should only run if the field is not blank. Use AND with NOT(ISBLANK()) to avoid blocking records with an empty field.

Minimum value: Discount cannot be greater than 30%:

Discount__c > 0.30

Date in the past: Delivery Date cannot be before today:

Delivery_Date__c < TODAY()

Useful functions in Validation Rules:

  • ISBLANK() — Checks if a field is empty
  • ISPICKVAL() — Checks picklist value (required because picklists can't be compared with =)
  • REGEX() — Validates patterns (email, phone, zip code)
  • AND(), OR(), NOT() — Logical combinations
  • TODAY() — Current date (useful for "date cannot be in the past")
  • $User.ProfileId — Current user's profile (useful for exceptions: "this rule doesn't apply to Admins")
  • PRIORVALUE() — Previous value of the field (useful for preventing changes: "Status cannot go back from Closed to Open")

Best practices for Validation Rules:

  • Always write clear, guidance-oriented error messages — tell the user what they need to do, not just what went wrong
  • Test all possible combinations before activating in production
  • Document the logic in notes or help text
  • Be careful with Validation Rules that conflict with Flows or data loads — they apply to ALL ways of creating/editing records

Flow Builder: automation without code

Flow Builder is the most powerful tool in the declarative arsenal. With it, you can automate virtually any process. If Quack could choose ONE skill for an Admin to master, it would be Flows. Without a shadow of a doubt.

Most commonly used Flow types:

Record-Triggered Flow: Fires when a record is created, updated, or deleted. It's the replacement for the old Process Builders and Workflow Rules.

Example: when a Case is created with "High" priority, send a notification to the manager and create a follow-up task for the analyst.

Important subtypes:

  • Before Save: Executes before the record is saved. Faster and more efficient. Ideal for fast field updates (updating fields on the same record without using DML).
  • After Save: Executes after the record is saved. Necessary when you need the record's ID or when you need to create/update OTHER records.

Screen Flow: Creates interactive forms for users. It's like building a wizard or a multi-step form.

Example: an onboarding wizard that collects information about a new employee in steps: personal data → address → documents → team. At the end, it automatically creates the necessary records.

Screen Flows can be added to Lightning Pages, Quick Actions, Experience Cloud pages, or run as standalone.

Scheduled Flow: Executes on a scheduled schedule. It's like a visual cron job.

Example: every day at 8am, check opportunities with no activity in 30 days and create a follow-up task for the owner. Or: every Monday, send an email with a summary of the previous week's metrics.

Autolaunched Flow: Triggered by another process (another Flow, Apex, Process Builder, API). Has no screens — it's pure backend logic.

When to use Flow vs. manual process:

  • If the action always happens the same way → Automate with Flow
  • If the action requires human judgment → Keep it manual (or use Approval Process)
  • If the action involves more than 3 repetitive steps → Flow saves time
  • If human error is frequent and costly → Flow eliminates the risk

The Setup tools you need to master

Object Manager: Configuration center for objects, fields, layouts, triggers, and validations. It's where you spend most of your time as an Admin. Learn to navigate here with your eyes closed.

Schema Builder: A visual tool that shows objects and relationships as an entity-relationship diagram. Excellent for understanding the data structure of the org and for presenting to non-technical stakeholders. Also allows creating objects and fields directly in the diagram.

Lightning App Builder: A drag-and-drop page builder. Lets you create custom home pages, record pages, and app pages without code. It's like a "Wix for Salesforce" — you drag and drop components, configure properties, and publish. Available components include: lists, charts, rich text, embedded flows, reports, and custom components.

Setup Menu: The heart of administration. Learn to navigate Setup using the search bar (Quick Find). It's much faster than clicking through menus. Want to find email settings? Type "Email" in Quick Find. Want to see Profiles? Type "Profiles." Master Quick Find and you'll be 3x faster in Setup.

Hands-on exercise: build a project tracker

To put everything into practice, here's an exercise that combines all the customizations we've covered. Do this in your Developer Edition org — it's time to quack it out and get your hands dirty:

  1. Create a Custom Object called "Project" with fields: Name (Text), Status (Picklist: Planning, In Progress, On Hold, Completed, Cancelled), Start Date (Date), End Date (Date), Responsible (Lookup to User), Budget (Currency), Priority (Picklist: High, Medium, Low)

  2. Add formula fields: Duration (End Date - Start Date in days), Status Color (returns "🟢" for In Progress, "🟡" for On Hold, "🔴" for Overdue)

  3. Add a Validation Rule: End Date cannot be before Start Date. Message: "The End Date must be on or after the Start Date."

  4. Configure the Page Layout: Organize fields into sections: "Project Information," "Dates," "Status and Priority." Add relevant related lists.

  5. Create List Views: "My Active Projects" (Status = In Progress, Responsible = me), "Overdue Projects" (End Date < today AND Status ≠ Completed), "All Projects"

  6. Create a Record-Triggered Flow: When Status changes to "Completed," automatically update the End Date with the current date (before save)

  7. Build reports and a dashboard: Projects by Status (pie chart), Project Timeline (bar chart by month), Total Budget by Status (summary report)

If you complete this exercise, you'll have portfolio material, a practical understanding of the platform's most important tools, and a solid foundation for the certification exam.

The power of Salesforce lies in transforming complex processes into simple solutions — and you don't need a single line of code to do that. Final quack check: if you understood the concepts in this post and practiced the exercise, you're already much more prepared than you think. Now go and build.


Frequently Asked Questions (FAQ)

If Flows do everything, why does Apex exist?

Flows solve most scenarios, but they have limitations. Complex integrations with external APIs (HTTP callouts with sophisticated logic), bulk processing with intricate business rules, advanced interface customizations (Lightning Web Components), and operations that require extreme performance still require code. The rule is: start declarative and only go to code when declarative provably doesn't work. In practice, a good Admin solves 80–90% of scenarios without code.

Can I break my org with customizations?

In Developer Edition, you can experiment all you want — it's your personal lab. Quack has broken plenty of things in Developer Edition and lived to tell the tale. In production orgs, always test in sandbox first. Validation Rules can block legitimate operations if not well thought out (e.g., a validation that prevents data loaders from working), and poorly configured Flows can create infinite loops or update data incorrectly. But nothing that good testing practices won't resolve. Rule: never put anything in production without testing extensively in sandbox.

How many custom fields can I create?

Salesforce has limits (governor limits). In Enterprise Edition orgs, the limit is 500 custom fields per object. In practice, if you're approaching 200+ fields in a single object, you probably need to rethink your data architecture — perhaps splitting into related objects. Fewer well-planned fields is always better than many unnecessary ones. Every additional field is maintenance complexity, user confusion, and potential data pollution.

Did Flow Builder replace Process Builder and Workflow Rules?

Yes. Salesforce officially recommends using Flow Builder for all new automations. Process Builder and Workflow Rules still work in existing orgs, but no longer receive updates or new features. Salesforce even offers a migration tool ("Migrate to Flow") to convert old automations. If you're learning now, focus 100% on Flows — don't waste time on obsolete tools.

#salesforce-admin#customization#clicks-not-code#flow-builder#salesforce-tutorial
Compartilhar
Quack Ranger

Quack Ranger

Mascote & Mentor

Mascote oficial da Rangers League e seu mentor favorito. Guia rangers em suas trilhas de aprendizado com dicas práticas, quizzes interativos e muito entusiasmo. Se tem dúvida, pergunta pro Quack!