Skip to main content

Which Automation Tool do i use in Salesforce?

Which Automation Tool do I use in Salesforce?






Depending on the Salesforce version (Lightening and Classic), salesforce provides multiple automation tools to automate organization's repetitive business processes such as Approvals, Workflows, Process Builder and Flow Builder.

Let's first understand what are the features of these automation tools and the use cases for using these tools.




PROCESS BUILDER

FLOW BUILDER

WORKFLOW

APPROVALS

Complexity

Multiple if/then statements

Complex

A single if/then statement

A single if/then statement

Visual designer

check icon indicating true

check icon indicating true



Starts when


  • Record is changed



  • Invoked by another process



  • Platform event message is received






  • User clicks button or link



  • User accesses Lightning page, Experience Cloud site page, Visualforce page, or custom tab


  • User accesses item in a utility bar



  • Process starts



  • Apex is called





  • Record is changed


  • User clicks button or link



  • Process or flow starts that includes a Submit for Approval action



  • Apex is called





Supports time-based actions



check icon indicating true





check icon indicating true



check icon indicating true


Supports user interaction


check icon indicating true



Supported Actions

Call Apex code

check icon indicating true

check icon indicating true



Create records

check icon indicating true

check icon indicating true

Tasks only

Tasks only

Invoke processes

check icon indicating true




Delete records


check icon indicating true



Launch a flow

check icon indicating true

check icon indicating true

check icon indicating true

(Pilot)1


Post to Chatter

check icon indicating true

check icon indicating true



Send email

check icon indicating true

(Email alerts only)

check icon indicating true

check icon indicating true

(Email alerts only)

check icon indicating true

(Email alerts only)

Send custom notification



check icon indicating true





check icon indicating true





Send outbound messages without code



check icon indicating true

check icon indicating true

Submit for approval

check icon indicating true

check icon indicating true



Update fields

Any related record

Any record

The record or its parent

The record or its parent


Updates from DreamForce 2021:

During Dreamforce 2021, Salesforce has announced that Workflow and Process Builder will be retired. Patrick Stokes (the PM responsible for retiring these tools) explained that there would be a formal end-of-life roadmap, governed by an end-of-life council. 

So, what does this mean to developers? Well, there is no need to panic as this will retirement process will be gradual over a course of few years and nothing is removed immediately. However, Salesforce have now proposed an alternate "Flows".

What is a Flow?

Flow is a capable of collecting data and performing actions in your salesforce.org or an external system. Salesforce Flow provides two types of flows:

  • Screen Flow - A screen flow requires user interaction because it includes screens, local actions, dynamic choices and steps. Screen flows don't support 'Pause' elements.
  • Auto Launched Flow - Auto Launched flow could be combined with a scheduled trigger or a record trigger. An auto launched flows does not require user interaction and supports elements such as Assignment, Decision, Get Records and Loops. 
    • Auto launched flow with schedule trigger runs only at a scheduled time and frequency.
    • Auto launched flow with record trigger makes before-save changes to the new or changed record that launches the flow. This flow runs only when a record is created or updated.
  • The following are the other flow types supported in the Flow Builder:
Flow TypeDescriptionDistribution Methodscheck icon indicating true
User Provisioning Flow

Provisions used for third party services.

For example, use this flow type to customize the user provisioning configuration for a connected app to link Salesforce users with their Google Apps accounts.

A user provisioning flow can only be implemented by associating it with a connected app when running the User Provisioning Wizard. 
Field Service Mobile FlowRequires user interaction because it has one or more screens.Field Service mobile appcheck icon indicating true
Field Service Embedded FlowRequires user interaction because it has one or more screens.Embedded Appointment Bookingcheck icon indicating true
Contact Request FlowRequires user interaction because it has one or more screens.

Use one of these Experience Builder components to add this flow.

  • Contact Request Button & Flow—launch the flow in a window
  • Flow—embed the flow directly on the page
check icon indicating true
Checkout FlowUsed in Lightning B2B Commerce to create a checkout for your store. Requires user interaction because it has one or more screens.

Use the following Experience Builder component to add this flow to your store.

  • Checkout
check icon indicating true
Orchestrator (Beta)Used by Flow Orchestrator to create an orchestration. An orchestration is a series of stages made up of steps. Interactive steps contain a screen flow and require user interaction. Background steps contain an autolaunched flow and don’t require user interaction.
  • Autolaunched orchestrations
    • Custom Apex classes
    • Custom buttons or custom links
  • Record-triggered orchestrations run only when a record is created or updated.
Loyalty Management FlowUsed to create flows that are triggered by loyalty program processes. Doesn’t require user interaction. This flow type doesn’t support screens, local actions, choices, or choice sets.Loyalty Management app

Note that not all flow types currently supported in the Process Builder will be supported in the new Flow Builder. Read the next article to know more. 



Comments

Popular posts from this blog

(Insights) What is Automation? What are the key areas where automation provides a value add?

 (Insights) What is Salesforce Automation? What are the key areas where automation provides a value add? As organisations need to scale businesses, manually repeating tasks are costly and time consuming. Once automation is implemented to automate these manually repetitive tasks for business processes, they can increase productivity and reduce time and save money. A decent CRM system with automation that orchestrate sophisticated processes will provide a solid foundation for business growth. According to Gartner’s Magic Quadrant on CRM  report  , the future of automation will play a significant role in organisation’s business strategy. Long term road maps are including automation to gain insight on the automation capabilities competitors will be using. In this article, we will discuss what is salesforce automation and key areas where automation is more effective and why is this important for organisations to implement in their salesforce org. What is Salesforce Automation?...

What's new with Record-Triggered Automation in Salesforce?

  What’s new with Record-Triggered Automation in Salesforce?  Systems demonstrate automated behavior by enabling business processes to scale and meet key goals and objectives quickly. When automation is implemented correctly, it eliminates manual and repetitive tasks allowing users to focus more on high value tasks. Most often automation means translating business processes from one form to another, for example paper based form to digital forms and with every change comes an opportunity for transformation. Record-Triggered automation is part of Flow Architecture where this automation focuses on trigger order of execution for Salesforce Records. Salesforce has introduced a new concept of low-code automation with the Flow to allow for significantly better performance when it comes to same-record field updates. However, additional complexity will be encountered by users who are unfamiliar with triggers and find this terminology confusing. So throughout this article, I will conti...

(DevOps) What is Salesforce Genie Real-time Data Platform? How does this empower Salesforce Customer 360?

  (DevOps)  What is Salesforce  Genie Real-time Data Platform? How does this empower Customer 360 Platform? Salesforce, the global leader in CRM, on their 20th annual event unveiled  Salesforce Genie , a hyper-scale  real-time data platform that powers the entire Salesforce Customer 360 platform . With Genie, every company can turn data into customer magic, delivering seamless, highly personalised experiences across sales, service, marketing, and commerce that continuously adapt to changing customer information and needs in real time. source: salesforce.com What is Salesforce Genie Platform? Customer 360 platform is an integrated CRM Platform that captures customer data from every step of its journey which is captured at one place (data lake). It enables different teams to work together by unifying analytics, sales, services, commerce and IT under a single CRM platform. Salesforce Genie platform is a new functionality empowers the existing Customer 360 Platform....