How to Create a Process

1. Feature Overview

The process designer lets you organize your forms into workflows. You can create workflows for any business process such as loan/insurance application, KYC collection, education applications, medical applications, etc.

After you’ve created one or more forms, use the process designer to –

  1. Choose the work area (Manage Forms page, Manage Activities page, Smart Views, etc.) where you want to display your forms.
  2. Set conditions on users (show forms to particular teams, roles, sales groups, etc.) and form field values.
  3. Chain together multiple forms to create processes.

If you haven’t created any forms yet, see How to Create a Form.

 

2. Prerequisites

  • You must be an administrator user to use the process designer.
  • You must create and publish forms to use in the process designer.

 

3. Example Use Case

This example takes the use case of a simplified loan application process.
Let’s assume we’ve created the following forms  –

  1. Loan Applicant form
  2. Co-Applicant form
  3. Car Loan form
  4. Home Loan form

Using the process designer, we can chain these forms together to create the following process –

Process Designer Use Case

 

4. Manage Processes

To access the Manage Processes page, navigate to Workflow>Process Designer.

All the processes you create will appear here. You can search for a process or filter by status, trigger, application, modified by and modified on dates. The settingsSettings iconicon under the Actions column allows you to edit, delete, clone, rename or publish a process.

Process Designer Home

 

5. Create a Process

Click the Create Process button to create a new process.

Create a new process

Now choose a trigger –

  • At Specific Work Area
    This option lets you create a button on a specific page (Manage Leads, Lead Details, etc.) to trigger the process.
  • On Task Complete
    The process will be triggered before a user marks a task complete.

Process Designer Trigger

 

5.1 At Specific Work Area

If you select the At Specific Work Area trigger you can choose the page or area you want the process to be initiated from. You can choose multiple work areas to begin a process from.

  1. Under the Available Work Areas section, click on a work area, then click the checkboxes alongside Web or Mobile.
    Be sure to hover your cursor over the desktop PC icon and mobile mobile icon icons to view a screenshot of the work area where you’re placing the starting point of the process.
  2. Select all the work areas you want,  then click Save.

Processes_1

Note: You can also integrate a process into your custom portal. To learn more, see LeadSquared Portal Designer.

Agent Pop-up
You can trigger a process from the Agent pop-up for inbound and outbound phone calls. Just select the appropriate option under Others>Telephony>Agent pop-up work area>Inbound Phone Call/Outbound Phone Call.

Note: Forms linked to the Telephony work area must have Phone Number or Mobile Number fields in the first tab.

Processes_2

You can display multiple forms on the agent pop-up to help users switch between applications (car loan, home loan, personal loan forms, etc.). This requires you to setup multiple processes.

Processes_3

 

5.2 On Task Complete

The On Task Complete trigger allows you to start the process when a user attempts to mark a task type complete. You must select the task types you want to initiate the process on by clicking the corresponding check-boxes. Click Save when you’re done.

Trigger process on task complete

Note: When tasks are updated (completed) in bulk from the Manage Leads or Smart Views page, the process configured on a certain task type may not trigger. To ensure that users can’t bulk update and complete a task type you’ve used as a trigger for a process, click the Disable Bulk Update option –

bulk update tasks

After setting a trigger, click the add add icon icon to view the subsequent conditions and actions.

adding process conditions

 

5.3 User Conditions

You can set up multiple conditions to choose which users can see your forms and processes. You can set up these conditions on any user attribute including role, team, sales group, etc.

  1. Under Conditions, click the Multi If/Else User option.
  2. You can create condition groups and set up multiple conditions. For more information, see User Advanced Search.
  3. Click Set Condition when you’re done.

create condition groups

The process will branch out into a Yes path and a No path.

Automation condition path

Click the add icon under each path to continue the process.

 

5.4 Show Form Action

Click the Show Form action to display a published form at any point in your process.

show form action process designer

The Show Form pop-up has 2 tabs.
The Form Details tab lets you choose the form you want to display, how you want the initiate process button to look in the work areas you selected and also how you want the action buttons within the form to appear.

show form -form details

You can also display a success message when the form is successfully submitted. Scroll down to the Success Text section, and enter the success message and text.

Form Submission Success Message

The Events tab lets you call Lapps or an external API before a form is submitted. You can use this as a final validation for a form submission. Read the notes carefully.

The API or Lapp should return 200 OK as the response code and content like {“IsSuccess”:true} or {“IsSuccess”:false,”ErrorMessage”:”Your personal details and passport details do not match. Please check”}

show form events tab

After selecting a form and setting all the configurations, click Save. Here’s an example of how the initiate process or open form button will appear –

display form button

 

5.5 Adding More Forms to the Process

After you’ve added a Show Form action, you must select the Wait Until Save option before you can add more conditions or actions to the process.

wait till save

Following the Wait Until Save condition, you can choose conditions based on the form fields of the previous form you’ve selected.
For example, if you’ve included a field in your previously chosen form called ‘Do you have a co-applicant’. You can now use the Multi If/Else Data condition to check if the field value is ‘Yes’, If the value is ‘Yes’ you can show the ‘Co-Applicant’ form.

conditions on previous form

Use the advanced search feature to set conditions on the fields of the form you selected in your previous Show Form action. For more details, see How to Use Advanced Search.
When you’re done, click Set Condition.

form field conditions

You can now show another form when these conditions are matched.

show more forms

 

5.6 Process Settings

Click the settingsSettings iconicon to access the process settings.

process settings

The Save Process Progress setting allows you to save the progress of all the forms in your process. It allows users to pick up where they left off, whether that’s in a particular section of the first form, or in some form further down the process.

Process designer settings

 

5.7 Save & Publish

Although your process gets auto-saved, it’s good practice to click the Save button to ensure you don’t lose your work. Click Publish when you’re done creating the process.

save and publish process

Note: Changes to a process may take up to 5 minutes to reflect.

 

6. Demo

The following process follows a simple two-form flow. The first form is a simple loan application form. If the user marks the ‘Do You Have a Co-Applicant’ field as ‘Yes’ in this form, the process we created will trigger the second ‘Co-applicant’ form to appear.

sample process

 

6.1 Form Submission Activity

An activity is posted against every form submission, to help you maintain an audit trail for each important change. You can view these activities on the Lead Details page –

form submission activity

Click the activity to view details –

form activity submission data

 

Any Questions?

If you have a question that this article did not answer, please let us know in the comments section below. We’ll be happy to improve the content and help you with any doubts you have.

Was this Helpful?

Subscribe
Notify of
guest
4 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Learner
Learner
11 months ago

how can i setup an automation if task is updated then action, else nothing.
it on specific task upd.ation

Zaid Assadi
Admin
Reply to  Learner
11 months ago

Hi. I’m sorry, I’m not sure I understand this query. Could you please elaborate?

Ritik Kumar Jain
Ritik Kumar Jain
2 years ago

Why is there a limit on the number of processes that we can create? How can we manage if we have more processes? What can be the solution? Please help.

Sri Sudhan
Admin
Reply to  Ritik Kumar Jain
2 years ago

Hi, Ritik. Thank you for your question. There is a limit on the number of processes you can create, based on your LeadSquared plan. You can either optimize your processes, or you can increase the limit on the number of processes. Please reach out to your account manager, or write to support@leadsquared.com.