Admins can use this article as a model for creating Litify Action automations in Process Builder to fit their firm's needs.
How to Automate Intake Sign-up & Matter Conversion
This article demonstrates how to create a process that automatically signs up intakes and opens matter records for referrals matching the following conditions:
- Originating Firm: Pulliam LP
- Case Type: Construction
1. Create Process
- Navigate to Setup > Process Builder.
- Select New.
- Complete the following fields:
- Process Name: Automate Signup & Conversion Pulliam
- API Name: Automate_Signup_Conversion_Pulliam
- Description: Automatically signs up and converts referred intakes.
- This process starts when: A record Changes
- Save. You are taken to the Process Builder UI.
2. Add Object
- Select + Add Object.
- Complete the following fields:
- Object: Intake
- Start the process: when a record is created or edited.
- Save.
3. Add Criteria
- Select + Add Criteria.
- Complete the following fields:
- Criteria Name: Pulliam Referral
- Criteria for Executing Actions: Conditions are met
- Set the following conditions:
Field Operator Type Value Case Type > Case Type Name Equals String Construction Referral > Originating Firm > Record ID Equals String This ID can be found in the URL of the handling firm's Firm record page. - Enable All of the conditions are met (AND). You can later expand this to ANY if you have 2 or more firms you accept Construction case types from.
- Expand the Advanced section.
- Enable Yes for executing the actions only when specified changes are made to the record.
- Save.
4. Add Action
This action takes the record ID of the intake matching the previously defined criteria and signs up the referral.
- Select + Add Action.
- Complete the following fields:
- Action Type: Apex
- Action Name: Pulliam Referrals
- Apex Class: Sign Up
- Set Apex variables for the action. Each Litify Action has different field requirements for Apex Variables.
Field Type Value record_id Field Reference Record ID - Save.
5. Add Second Action
- Select + Add Action.
- Complete the following fields:
- Action Type: Apex
- Action Name: Pulliam Open Matter
- Apex Class: Open Matter
- Set Apex variables for the action. Each Litify Action has different field requirements for Apex Variables. At this stage, you can also add a field that selects a matter plan or matter team.
Field Type Value record_id Field Reference Record ID matter_owner Field Reference Owner ID > User ID case_type Field Reference Litify_PM__Case_Type__C - Save.
- Review your process.
You can now Activate this process and test it.
Now all new inbound referrals from Pulliam LP that match the case type Construction are automatically signed up and a matter is opened.